From 07f33c61f6782c6ec922f73edb480f33384694e4 Mon Sep 17 00:00:00 2001 From: JoerivanEngelen Date: Mon, 10 Aug 2026 13:14:41 +0200 Subject: [PATCH 1/2] Add Deltares badge --- README.rst | 6 ++++-- docs/_static/badge_deltares.json | 8 ++++++++ docs/index.rst | 4 ++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 docs/_static/badge_deltares.json 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.** From 9066e5cb2e615c0c0eeb4007b1e092d788bff016 Mon Sep 17 00:00:00 2001 From: JoerivanEngelen Date: Mon, 10 Aug 2026 13:24:16 +0200 Subject: [PATCH 2/2] Add --overwrite option --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"