From ae3f703a46b6d2e4d48470215b693d203ac7cb19 Mon Sep 17 00:00:00 2001 From: Kate Golovanova Date: Sat, 4 Nov 2023 19:32:24 -0700 Subject: [PATCH 1/3] Update badges in README --- README.rst | 62 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 43 insertions(+), 19 deletions(-) diff --git a/README.rst b/README.rst index a56cb91e2..9792f1b52 100644 --- a/README.rst +++ b/README.rst @@ -7,39 +7,63 @@ state or province) specific sets of government-designated holidays on the fly. It aims to make determining whether a specific date is a holiday as fast and flexible as possible. -:Package: - .. image:: https://img.shields.io/pypi/pyversions/holidays.svg?logo=python&label=Python&logoColor=gold +:PyPI: + .. image:: https://img.shields.io/pypi/dm/holidays?color=%2341B5BE :target: https://pypi.python.org/pypi/holidays - :alt: Python supported versions + :alt: downloads - .. image:: http://img.shields.io/pypi/v/holidays.svg?logo=pypi&label=PyPI&logoColor=gold + .. image:: https://img.shields.io/pypi/v/holidays?label=version&color=%2341B5BE :target: https://pypi.python.org/pypi/holidays - :alt: PyPI version + :alt: PyPI - Version - .. image:: https://img.shields.io/pypi/dm/holidays.svg?color=blue&label=Downloads&logo=pypi&logoColor=gold - :target: https://pypi.python.org/pypi/holidays - :alt: Downloads + .. image:: https://img.shields.io/github/release-date/vacanza/python-holidays?color=%2341B5BE + :target: https://github.com/vacanza/python-holidays/releases + :alt: Release date :CI/CD: - .. image:: https://github.com/vacanza/python-holidays/workflows/CI%2FCD/badge.svg + .. image:: https://img.shields.io/github/actions/workflow/status/vacanza/python-holidays/ci-cd.yml?color=%2341BE4A + :alt: Tests Status :target: actions - .. image:: http://img.shields.io/coveralls/vacanza/python-holidays/master - :target: https://coveralls.io/r/vacanza/python-holidays - -:Docs: - .. image:: https://readthedocs.org/projects/python-holidays/badge/?version=latest + .. image:: https://img.shields.io/readthedocs/python-holidays?color=%2341BE4A :target: https://python-holidays.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status -:Meta: - .. image:: https://img.shields.io/badge/code%20style-black-000000.svg - :alt: Code style - - .. image:: http://img.shields.io/pypi/l/holidays.svg +:Code: + .. image:: https://img.shields.io/github/license/vacanza/python-holidays?color=%2341B5BE :target: LICENSE :alt: License + .. image:: https://img.shields.io/pypi/pyversions/holidays?label=python&color=%2341B5BE + :target: https://pypi.python.org/pypi/holidays + :alt: Python supported versions + + .. image:: https://img.shields.io/badge/code%20style-black-%252333F93C0?label=style&color=%2341B5BE + :target: https://github.com/psf/black + :alt: style + + .. image:: https://img.shields.io/coverallsCoverage/github/vacanza/python-holidays?branch=master&color=%2341B5BE + :target: https://coveralls.io/r/vacanza/python-holidays + + +:GitHub: + .. image:: https://img.shields.io/github/stars/vacanza/python-holidays?color=%2341BE4A + :target: https://github.com/vacanza/python-holidays/stargazers + :alt: GitHub stars + + .. image:: https://img.shields.io/github/forks/vacanza/python-holidays?color=%2341BE4A + :target: https://github.com/vacanza/python-holidays/forks + :alt: GitHub forks + + .. image:: https://img.shields.io/github/contributors/vacanza/python-holidays?color=%2341BE4A + :target: https://github.com/vacanza/python-holidays/graphs/contributors + :alt: GitHub contributors + + .. image:: https://img.shields.io/github/last-commit/vacanza/python-holidays/beta?color=%2341BE4A + :target: https://github.com/vacanza/python-holidays/commits/beta + :alt: GitHub last commit (branch) + + Install ------- From c16dff1c98ca0f17e628575bcb558f41b64c5768 Mon Sep 17 00:00:00 2001 From: Kate Golovanova Date: Tue, 14 Nov 2023 16:16:33 -0800 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: ~Jhellico Co-authored-by: Arkadii Yakovets --- README.rst | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 9792f1b52..ac76a2745 100644 --- a/README.rst +++ b/README.rst @@ -9,12 +9,12 @@ flexible as possible. :PyPI: .. image:: https://img.shields.io/pypi/dm/holidays?color=%2341B5BE - :target: https://pypi.python.org/pypi/holidays - :alt: downloads + :target: https://pypi.org/project/holidays + :alt: Downloads .. image:: https://img.shields.io/pypi/v/holidays?label=version&color=%2341B5BE - :target: https://pypi.python.org/pypi/holidays - :alt: PyPI - Version + :target: https://pypi.org/project/holidays + :alt: PyPI version .. image:: https://img.shields.io/github/release-date/vacanza/python-holidays?color=%2341B5BE :target: https://github.com/vacanza/python-holidays/releases @@ -22,12 +22,12 @@ flexible as possible. :CI/CD: .. image:: https://img.shields.io/github/actions/workflow/status/vacanza/python-holidays/ci-cd.yml?color=%2341BE4A - :alt: Tests Status - :target: actions + :alt: CI/CD status + :target: https://github.com/vacanza/python-holidays/actions .. image:: https://img.shields.io/readthedocs/python-holidays?color=%2341BE4A :target: https://python-holidays.readthedocs.io/en/latest/?badge=latest - :alt: Documentation Status + :alt: Documentation status :Code: .. image:: https://img.shields.io/github/license/vacanza/python-holidays?color=%2341B5BE @@ -35,15 +35,16 @@ flexible as possible. :alt: License .. image:: https://img.shields.io/pypi/pyversions/holidays?label=python&color=%2341B5BE - :target: https://pypi.python.org/pypi/holidays + :target: https://pypi.org/project/holidays :alt: Python supported versions .. image:: https://img.shields.io/badge/code%20style-black-%252333F93C0?label=style&color=%2341B5BE :target: https://github.com/psf/black - :alt: style + :alt: Code style .. image:: https://img.shields.io/coverallsCoverage/github/vacanza/python-holidays?branch=master&color=%2341B5BE :target: https://coveralls.io/r/vacanza/python-holidays + :alt: Code coverage :GitHub: @@ -61,7 +62,7 @@ flexible as possible. .. image:: https://img.shields.io/github/last-commit/vacanza/python-holidays/beta?color=%2341BE4A :target: https://github.com/vacanza/python-holidays/commits/beta - :alt: GitHub last commit (branch) + :alt: GitHub last commit Install From 91702cfd7fd13cd400674b330ac22b1469b9bc4a Mon Sep 17 00:00:00 2001 From: Kate Golovanova Date: Tue, 14 Nov 2023 16:34:05 -0800 Subject: [PATCH 3/3] Update README.rst Co-authored-by: Arkadii Yakovets --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index ac76a2745..c28a926fb 100644 --- a/README.rst +++ b/README.rst @@ -22,8 +22,8 @@ flexible as possible. :CI/CD: .. image:: https://img.shields.io/github/actions/workflow/status/vacanza/python-holidays/ci-cd.yml?color=%2341BE4A - :alt: CI/CD status :target: https://github.com/vacanza/python-holidays/actions + :alt: CI/CD status .. image:: https://img.shields.io/readthedocs/python-holidays?color=%2341BE4A :target: https://python-holidays.readthedocs.io/en/latest/?badge=latest