From 66d85c1022e6cc1f80f030cbdbd1e53b675162e3 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 8 Apr 2024 20:22:09 -0700 Subject: [PATCH] inline badges in README using rst substitution --- README.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index e10eadf..58aee3a 100644 --- a/README.rst +++ b/README.rst @@ -1,15 +1,16 @@ -.. image:: https://img.shields.io/piwheels/v/pyrf24?color=informational +.. |piwheels-badge| image:: https://img.shields.io/piwheels/v/pyrf24?color=informational :target: https://www.piwheels.org/project/pyrf24/ :alt: piwheels -.. image:: https://img.shields.io/readthedocs/pyrf24?label=ReadTheDocs&logo=readthedocs&logoColor=white +.. |rtd-badge| image:: https://img.shields.io/readthedocs/pyrf24?label=ReadTheDocs&logo=readthedocs&logoColor=white :target: https://pyrf24.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status -.. image:: https://static.pepy.tech/personalized-badge/pyrf24?period=total&units=none&left_color=grey&right_color=blue&left_text=PyPI%20Downloads +.. |pypi-downloads| image:: https://static.pepy.tech/personalized-badge/pyrf24?period=total&units=none&left_color=grey&right_color=blue&left_text=PyPI%20Downloads :target: https://pepy.tech/project/pyrf24 :alt: PyPI Downloads -.. image:: https://github.com/nRF24/pyRF24/actions/workflows/build.yml/badge.svg +.. |ci-badge| image:: https://github.com/nRF24/pyRF24/actions/workflows/build.yml/badge.svg :target: https://github.com/nRF24/pyRF24/actions/workflows/build.yml :alt: Build CI +|piwheels-badge| |rtd-badge| |pypi-downloads| |ci-badge| Introduction ============