diff --git a/README.md b/README.md index cfc51a3c1d840e2b465b673946fc01fe90f6a1e9..e65e5474d493471731663eaf0891535e1f0ccde9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # zema_emc_annotated [](https://gitlab1.ptb.de/m4d/zema_emc_annotated/-/commits/main) -[](https://zema-emc-annotated.readthedocs.io/en/latest/?badge=latest) +[](https://zema-emc-annotated.readthedocs.io/en/v0.7.0/) [](https://app.codecov.io/gh/PTB-M4D/zema_emc_annotated?search=&displayType=list&trend=7%20days) [](https://github.com/PTB-M4D/zema_emc_annotated/releases/latest) [](https://doi.org/10.5281/zenodo.7556142) @@ -19,7 +19,7 @@ Afterwards please visit our ## Documentation The documentation can be found on -[ReadTheDocs](https://zema-emc-annotated.readthedocs.io/en/latest/). +[ReadTheDocs](https://zema-emc-annotated.readthedocs.io/en/v0.7.0/). ## Disclaimer diff --git a/pyproject.toml b/pyproject.toml index 631a9df10b2fc0d302b615829ad2fac5df997357..bea61684834f7d2040e533fcbd564e8da0d5c84f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,7 +107,12 @@ ignore_missing_imports = true branch = "main" version_toml = "pyproject.toml:tool.poetry.version" version_variable = "docs/conf.py:version" -version_pattern = "CITATION.cff:^version: {version}" +version_pattern = [ + "CITATION.cff:^version: {version}", + "README.md:readthedocs.org/projects/zema-emc-annotated/badge/.version=v{version}", + "README.md:\\)\\]\\(https://zema-emc-annotated.readthedocs.io/en/v{version}", + "README.md:s\\]\\(https://zema-emc-annotated.readthedocs.io/en/v{version}", +] major_on_zero = false changelog_sections = "feature,fix,breaking,documentation,performance" changelog_components = "semantic_release.changelog.changelog_headers,semantic_release.changelog.compare_url"