Skip to content

Commit 2f49e8f

Browse files
authored
Merge pull request #12615 from shenxianpeng/inline-badges
fix: uses RST substitution to put badges in 1 line
2 parents 7c49d06 + 9ca8ef4 commit 2f49e8f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
pip - The Python Package Installer
22
==================================
33

4-
.. image:: https://img.shields.io/pypi/v/pip.svg
4+
.. |pypi-version| image:: https://img.shields.io/pypi/v/pip.svg
55
:target: https://pypi.org/project/pip/
66
:alt: PyPI
77

8-
.. image:: https://img.shields.io/pypi/pyversions/pip
8+
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/pip
99
:target: https://pypi.org/project/pip
1010
:alt: PyPI - Python Version
1111

12-
.. image:: https://readthedocs.org/projects/pip/badge/?version=latest
12+
.. |docs-badge| image:: https://readthedocs.org/projects/pip/badge/?version=latest
1313
:target: https://pip.pypa.io/en/latest
1414
:alt: Documentation
1515

16+
|pypi-version| |python-versions| |docs-badge|
17+
1618
pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
1719

1820
Please take a look at our documentation for how to install and use pip:

news/12615.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
uses RST substitution to put badges in 1 line.

0 commit comments

Comments
 (0)