Skip to content

Commit d1d9472

Browse files
committed
[DOC] Add PyPI badge
1 parent e819995 commit d1d9472

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. image:: ./docs/_images/badge_small.png
22

3-
|github|_ |readthedocs|_ |codecov|_ |python|_ |license|_
3+
|github|_ |readthedocs|_ |codecov|_ |python|_ |pypi|_ |license|_
44

55
.. |github| image:: https://github.com/xuyxu/Ensemble-Pytorch/workflows/torchensemble-CI/badge.svg
66
.. _github: https://github.com/xuyxu/Ensemble-Pytorch/actions
@@ -14,6 +14,9 @@
1414
.. |python| image:: https://img.shields.io/badge/python-3.6+-blue?logo=python
1515
.. _python: https://www.python.org/
1616

17+
.. |pypi| image:: https://img.shields.io/pypi/v/torchensemble
18+
.. _pypi: https://pypi.org/project/torchensemble/
19+
1720
.. |license| image:: https://img.shields.io/github/license/xuyxu/Ensemble-Pytorch
1821
.. _license: https://github.com/xuyxu/Ensemble-Pytorch/blob/master/LICENSE
1922

docs/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:align: center
33
:width: 400
44

5-
|github|_ |readthedocs|_ |codecov|_ |python|_ |license|_
5+
|github|_ |readthedocs|_ |codecov|_ |python|_ |pypi|_ |license|_
66

77
.. |github| image:: https://github.com/xuyxu/Ensemble-Pytorch/workflows/torchensemble-CI/badge.svg
88
.. _github: https://github.com/xuyxu/Ensemble-Pytorch/actions
@@ -16,6 +16,9 @@
1616
.. |python| image:: https://img.shields.io/badge/python-3.6+-blue?logo=python
1717
.. _python: https://www.python.org/
1818

19+
.. |pypi| image:: https://img.shields.io/pypi/v/torchensemble
20+
.. _pypi: https://pypi.org/project/torchensemble/
21+
1922
.. |license| image:: https://img.shields.io/github/license/xuyxu/Ensemble-Pytorch
2023
.. _license: https://github.com/xuyxu/Ensemble-Pytorch/blob/master/LICENSE
2124

0 commit comments

Comments
 (0)