Skip to content

Commit 19ab167

Browse files
authored
inline badges in README.rst (#92)
Uses RST substitution to put README badges in 1 line. ref #95
1 parent 1593372 commit 19ab167

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.rst

+8-6
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,27 @@ clang-tools CLI
33

44
**Install clang-format, clang-tidy, clang-query, and clang-apply-replacements binaries with clang-tools CLI.**
55

6-
.. image:: https://img.shields.io/pypi/v/clang-tools
6+
.. |latest-version| image:: https://img.shields.io/pypi/v/clang-tools
77
:target: https://pypi.org/project/clang-tools/
88
:alt: PyPI
9-
.. image:: https://github.com/cpp-linter/clang-tools-pip/actions/workflows/python-test.yml/badge.svg
9+
.. |python-test| image:: https://github.com/cpp-linter/clang-tools-pip/actions/workflows/python-test.yml/badge.svg
1010
:target: https://github.com/cpp-linter/clang-tools-pip/actions/workflows/python-test.yml
1111
:alt: Python test
12-
.. image:: https://codecov.io/gh/cpp-linter/clang-tools-pip/branch/main/graph/badge.svg?token=40G5ZOIRRR
12+
.. |codecov-badge| image:: https://codecov.io/gh/cpp-linter/clang-tools-pip/branch/main/graph/badge.svg?token=40G5ZOIRRR
1313
:target: https://codecov.io/gh/cpp-linter/clang-tools-pip
1414
:alt: codecov
15-
.. image:: https://sonarcloud.io/api/project_badges/measure?project=cpp-linter_clang-tools-pip&metric=alert_status
15+
.. |sonar-badge| image:: https://sonarcloud.io/api/project_badges/measure?project=cpp-linter_clang-tools-pip&metric=alert_status
1616
:target: https://sonarcloud.io/summary/new_code?id=cpp-linter_clang-tools-pip
1717
:alt: sonarcloud
18-
.. image:: https://img.shields.io/badge/platform-linux--64%20%7C%20win--64%20%7C%20osx--64%20-blue
18+
.. |platfrom-badge| image:: https://img.shields.io/badge/platform-linux--64%20%7C%20win--64%20%7C%20osx--64%20-blue
1919
:target: https://pypi.org/project/clang-tools/
2020
:alt: Platfrom
21-
.. image:: https://img.shields.io/pypi/dw/clang-tools
21+
.. |pypi-badge| image:: https://img.shields.io/pypi/dw/clang-tools
2222
:target: https://pypistats.org/packages/clang-tools
2323
:alt: PyPI - Downloads
2424

25+
|latest-version| |python-test| |codecov-badge| |sonar-badge| |platfrom-badge| |pypi-badge|
26+
2527
.. important::
2628
This package only manages binary executables (& corresponding symbolic links) that
2729
are installed using this package's executable script. It does not intend to change or

0 commit comments

Comments
 (0)