From 0e905b6caa33fea26dbef940d50b9340931cd4fb Mon Sep 17 00:00:00 2001 From: Tam Huynh Date: Wed, 25 Sep 2024 13:40:50 +0200 Subject: [PATCH] Update badges --- README.md | 7 ++++--- docs/source/conf.py | 5 +++-- docs/source/index.md | 7 +------ docs/source/installation.md | 2 +- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 855d361..6c9f6bb 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ [![Python](https://img.shields.io/pypi/pyversions/unique-uncertainty?label=Python)](https://pypi.org/project/unique-uncertainty/) -[![version](https://img.shields.io/pypi/v/unique-uncertainty?label=Version&color=green)](https://pypi.org/project/unique-uncertainty/) +[![version](https://img.shields.io/pypi/v/unique-uncertainty?color=green&label=PyPI)](https://pypi.org/project/unique-uncertainty/) +[![PyPI downloads](https://img.shields.io/pypi/dm/unique-uncertainty?label=Downloads)](https://pypi.org/project/unique-uncertainty/) [![License](https://img.shields.io/badge/License-BSD_3--Clause-red)](https://opensource.org/licenses/BSD-3-Clause) [![chemRxiv](https://img.shields.io/badge/chemRxiv-10.26434%2Fchemrxiv--2024--fmbgk-yellow)](https://doi.org/10.26434/chemrxiv-2024-fmbgk) [![Docs](https://github.com/Novartis/UNIQUE/actions/workflows/docs.yml/badge.svg?branch=main)](https://opensource.nibr.com/UNIQUE/) [![Build](https://github.com/Novartis/UNIQUE/actions/workflows/build.yml/badge.svg?branch=main)](https://pypi.org/project/unique-uncertainty/) -[![PyPI downloads](https://img.shields.io/pypi/dm/unique-uncertainty?label=PyPI%20downloads)](https://pypi.org/project/unique-uncertainty/) ## Introduction @@ -27,8 +27,9 @@ ## Installation [![Python](https://img.shields.io/pypi/pyversions/unique-uncertainty?label=Python)](https://pypi.org/project/unique-uncertainty/) +[![version](https://img.shields.io/pypi/v/unique-uncertainty?color=green&label=PyPI)](https://pypi.org/project/unique-uncertainty/) +[![PyPI downloads](https://img.shields.io/pypi/dm/unique-uncertainty?label=Downloads)](https://pypi.org/project/unique-uncertainty/) [![Build](https://github.com/Novartis/UNIQUE/actions/workflows/build.yml/badge.svg?branch=main)](https://pypi.org/project/unique-uncertainty/) -[![PyPI downloads](https://img.shields.io/pypi/dm/unique-uncertainty?label=PyPI%20downloads)](https://pypi.org/project/unique-uncertainty/) `UNIQUE` is currently compatible with Python 3.8 through 3.12.1. To install the latest release and use the package as is, run the following in a compatible environment of choice: diff --git a/docs/source/conf.py b/docs/source/conf.py index 3780964..10d62a0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -14,7 +14,7 @@ # author = 'Minh Tam Davide Huynh, Gaetano Scebba, Jessica Lanini, Raquel Rodriguez-Perez' version_badge_url = ( - "https://img.shields.io/pypi/v/unique-uncertainty?label=Version&color=green" + "https://img.shields.io/pypi/v/unique-uncertainty?label=PyPI&color=green" ) # -- General configuration --------------------------------------------------- @@ -52,7 +52,8 @@ myst_substitutions = { "pypi_build_badge": "[![PyPI build](https://github.com/Novartis/UNIQUE/actions/workflows/build.yml/badge.svg?branch=main)](https://pypi.org/project/unique-uncertainty)", - "pypi_downloads_badge": "[![PyPI downloads](https://img.shields.io/pypi/dm/unique-uncertainty?label=PyPI%20downloads)](https://pypi.org/project/unique-uncertainty)", + "pypi_downloads_badge": "[![PyPI downloads](https://img.shields.io/pypi/dm/unique-uncertainty?label=Downloads)](https://pypi.org/project/unique-uncertainty)", + "pypi_version_badge": "[![PyPI version](https://img.shields.io/pypi/v/unique-uncertainty?label=PyPI&color=green)](https://pypi.org/project/unique-uncertainty)", "python_versions_badge": "![Python versions](https://img.shields.io/pypi/pyversions/unique-uncertainty?label=Python)", } diff --git a/docs/source/index.md b/docs/source/index.md index 6a026ab..1440400 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -18,11 +18,6 @@ myst: {{description}} ::: - version_badge: | - :::{image} https://img.shields.io/pypi/v/unique-uncertainty?label=Version&color=green - :alt: Version badge - :target: https://pypi.org/project/unique-uncertainty/ - ::: # See: https://github.com/executablebooks/MyST-Parser/issues/279#issuecomment-752948379 license_badge: | :::{image} https://img.shields.io/badge/License-BSD_3--Clause-red @@ -51,7 +46,7 @@ myst: # Welcome to `UNIQUE`'s documentation! -{{python_versions_badge}} {{version_badge}} {{license_badge}} {{article_badge}} {{docs_badge}} {{pypi_build_badge}} {{pypi_downloads_badge}} +{{python_versions_badge}} {{pypi_version_badge}} {{license_badge}} {{article_badge}} {{docs_badge}} {{pypi_build_badge}} {{pypi_downloads_badge}} {{logo_light}} {{logo_dark}} diff --git a/docs/source/installation.md b/docs/source/installation.md index 0775be3..17f69a2 100644 --- a/docs/source/installation.md +++ b/docs/source/installation.md @@ -10,7 +10,7 @@ myst: --- # Installation -{{python_versions_badge}} {{pypi_build_badge}} {{pypi_downloads_badge}} +{{python_versions_badge}} {{pypi_version_badge}} {{pypi_downloads_badge}} {{pypi_build_badge}} `UNIQUE` is currently compatible with Python 3.8 through 3.12.1. To install the latest release and use the package as is, run the following in a compatible environment of choice: