diff --git a/README.rst b/README.rst index 2bc6b8a18..0b2ab8df1 100644 --- a/README.rst +++ b/README.rst @@ -1,14 +1,16 @@ Xugrid ====== +.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Deltares/xugrid/main/docs/_static/badge_deltares.json + :target: https://www.deltares.nl/en .. image:: https://img.shields.io/github/actions/workflow/status/deltares/xugrid/ci.yml :target: https://github.com/deltares/xugrid/actions?query=workflows%3Aci .. image:: https://img.shields.io/codecov/c/github/deltares/xugrid.svg :target: https://app.codecov.io/gh/deltares/xugrid .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black -.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10534099.svg - :target: https://doi.org/10.5281/zenodo.10534099 +.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10663502.svg + :target: https://doi.org/10.5281/zenodo.10663502 `See documentation `_. diff --git a/docs/_static/badge_deltares.json b/docs/_static/badge_deltares.json new file mode 100644 index 000000000..1710f2923 --- /dev/null +++ b/docs/_static/badge_deltares.json @@ -0,0 +1,8 @@ +{ + "label": "", + "message": "Deltares", + "logoSvg": " ", + "logoWidth": 10, + "labelColor": "white", + "color": "#0a28a3ff" +} \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index 9f2dccb0a..0b3547a91 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,12 +1,16 @@ Xugrid ====== +.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Deltares/xugrid/main/docs/_static/badge_deltares.json + :target: https://www.deltares.nl/en .. image:: https://img.shields.io/github/actions/workflow/status/deltares/xugrid/ci.yml?style=flat-square :target: https://github.com/deltares/xugrid/actions?query=workflows%3Aci .. image:: https://img.shields.io/codecov/c/github/deltares/xugrid.svg?style=flat-square :target: https://app.codecov.io/gh/deltares/xugrid .. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square :target: https://github.com/psf/black +.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10663502.svg + :target: https://doi.org/10.5281/zenodo.10663502 **This is a work in progress.** diff --git a/pyproject.toml b/pyproject.toml index 4d4c18834..c56d849ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,7 +104,7 @@ twine = "*" python-build = "*" [tool.pixi.tasks] -install-prek = "prek install" +install-prek = "prek install --overwrite" pre-commit = "prek run --all-files" test = "NUMBA_DISABLE_JIT=1 pytest --cov=xugrid --cov-report xml --cov-report term" docs = "NUMBA_DISABLE_JIT=1 sphinx-build docs docs/_build"