Skip to content

Commit 897e171

Browse files
committed
Show badges only when rendering html [skip ci]
1 parent 851b2b3 commit 897e171

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

docs/index.rst

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,45 +9,46 @@ Extending your autodoc API docs with a summary
99

1010
.. start-badges
1111
12-
.. list-table::
13-
:stub-columns: 1
14-
:widths: 10 90
12+
.. only:: html
1513

16-
* - docs
17-
- |docs|
18-
* - tests
19-
- |travis| |requires| |coveralls|
20-
* - package
21-
- |version| |supported-versions| |supported-implementations|
14+
.. list-table::
15+
:stub-columns: 1
16+
:widths: 10 90
2217

23-
.. |docs| image:: http://readthedocs.org/projects/autodocsumm/badge/?version=latest
24-
:alt: Documentation Status
25-
:target: http://autodocsumm.readthedocs.io/en/latest/?badge=latest
18+
* - docs
19+
- |docs|
20+
* - tests
21+
- |travis| |requires| |coveralls|
22+
* - package
23+
- |version| |supported-versions| |supported-implementations|
2624

27-
.. |travis| image:: https://travis-ci.org/Chilipp/autodocsumm.svg?branch=master
28-
:alt: Travis
29-
:target: https://travis-ci.org/Chilipp/autodocsumm
25+
.. |docs| image:: http://readthedocs.org/projects/autodocsumm/badge/?version=latest
26+
:alt: Documentation Status
27+
:target: http://autodocsumm.readthedocs.io/en/latest/?badge=latest
3028

31-
.. |coveralls| image:: https://coveralls.io/repos/github/Chilipp/autodocsumm/badge.svg?branch=master
32-
:alt: Coverage
33-
:target: https://coveralls.io/github/Chilipp/autodocsumm?branch=master
29+
.. |travis| image:: https://travis-ci.org/Chilipp/autodocsumm.svg?branch=master
30+
:alt: Travis
31+
:target: https://travis-ci.org/Chilipp/autodocsumm
3432

35-
.. |requires| image:: https://requires.io/github/Chilipp/autodocsumm/requirements.svg?branch=master
36-
:alt: Requirements Status
37-
:target: https://requires.io/github/Chilipp/autodocsumm/requirements/?branch=master
33+
.. |coveralls| image:: https://coveralls.io/repos/github/Chilipp/autodocsumm/badge.svg?branch=master
34+
:alt: Coverage
35+
:target: https://coveralls.io/github/Chilipp/autodocsumm?branch=master
3836

39-
.. |version| image:: https://img.shields.io/pypi/v/autodocsumm.svg?style=flat
40-
:alt: PyPI Package latest release
41-
:target: https://pypi.python.org/pypi/autodocsumm
37+
.. |requires| image:: https://requires.io/github/Chilipp/autodocsumm/requirements.svg?branch=master
38+
:alt: Requirements Status
39+
:target: https://requires.io/github/Chilipp/autodocsumm/requirements/?branch=master
4240

43-
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/autodocsumm.svg?style=flat
44-
:alt: Supported versions
45-
:target: https://pypi.python.org/pypi/autodocsumm
41+
.. |version| image:: https://img.shields.io/pypi/v/autodocsumm.svg?style=flat
42+
:alt: PyPI Package latest release
43+
:target: https://pypi.python.org/pypi/autodocsumm
4644

47-
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/autodocsumm.svg?style=flat
48-
:alt: Supported implementations
49-
:target: https://pypi.python.org/pypi/autodocsumm
45+
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/autodocsumm.svg?style=flat
46+
:alt: Supported versions
47+
:target: https://pypi.python.org/pypi/autodocsumm
5048

49+
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/autodocsumm.svg?style=flat
50+
:alt: Supported implementations
51+
:target: https://pypi.python.org/pypi/autodocsumm
5152

5253
.. end-badges
5354
@@ -112,4 +113,3 @@ Indices and tables
112113
* :ref:`genindex`
113114
* :ref:`modindex`
114115
* :ref:`search`
115-

0 commit comments

Comments
 (0)