Skip to content

Commit

Permalink
Update badges
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdhuynh committed Sep 25, 2024
1 parent 686e1ec commit 0e905b6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
</figure>

[![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
Expand All @@ -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:

Expand Down
5 changes: 3 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------
Expand Down Expand Up @@ -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)",
}

Expand Down
7 changes: 1 addition & 6 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}}

Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 0e905b6

Please sign in to comment.