From b79e05b058060c7a557d0b3cb6dd2775a2331b2b Mon Sep 17 00:00:00 2001 From: Max Tepkeev Date: Sat, 20 Apr 2024 17:19:20 +0300 Subject: [PATCH] fix github badge rendering by using inline images --- README.rst | 10 ++++++---- docs/index.rst | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 4042765..e84fa9b 100644 --- a/README.rst +++ b/README.rst @@ -1,13 +1,15 @@ Python-Redmine ============== -.. image:: https://badge.fury.io/py/python-redmine.svg +|PyPI| |Tests| |Coveralls| + +.. |PyPI| image:: https://badge.fury.io/py/python-redmine.svg :target: https://badge.fury.io/py/python-redmine -.. image:: https://img.shields.io/github/actions/workflow/status/maxtepkeev/python-redmine/tests.yml - :target: https://github.com/maxtepkeev/python-redmine/actions/workflows/tests.yml +.. |Tests| image:: https://img.shields.io/github/actions/workflow/status/maxtepkeev/python-redmine/tests.yml.svg + :target: https://github.com/maxtepkeev/python-redmine/actions/workflows/tests -.. image:: https://img.shields.io/coverallsCoverage/github/maxtepkeev/python-redmine?branch=master +.. |Coveralls| image:: https://img.shields.io/coverallsCoverage/github/maxtepkeev/python-redmine?branch=master :target: https://coveralls.io/github/maxtepkeev/python-redmine?branch=master Python-Redmine is a library for communicating with a `Redmine `__ diff --git a/docs/index.rst b/docs/index.rst index afc3f5b..8f2f4d1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,13 +1,15 @@ Python-Redmine ============== -.. image:: https://badge.fury.io/py/python-redmine.svg +|PyPI| |Tests| |Coveralls| + +.. |PyPI| image:: https://badge.fury.io/py/python-redmine.svg :target: https://badge.fury.io/py/python-redmine -.. image:: https://img.shields.io/github/actions/workflow/status/maxtepkeev/python-redmine/tests.yml - :target: https://github.com/maxtepkeev/python-redmine/actions/workflows/tests.yml +.. |Tests| image:: https://img.shields.io/github/actions/workflow/status/maxtepkeev/python-redmine/tests.yml.svg + :target: https://github.com/maxtepkeev/python-redmine/actions/workflows/tests -.. image:: https://img.shields.io/coverallsCoverage/github/maxtepkeev/python-redmine?branch=master +.. |Coveralls| image:: https://img.shields.io/coverallsCoverage/github/maxtepkeev/python-redmine?branch=master :target: https://coveralls.io/github/maxtepkeev/python-redmine?branch=master Python-Redmine is a library for communicating with a `Redmine `__