From 2ae3730b913fe604283546b5ddf8de8d973f06c9 Mon Sep 17 00:00:00 2001 From: Bjoern Ludwig <bjoern.ludwig@ptb.de> Date: Sat, 21 Jan 2023 17:49:37 +0100 Subject: [PATCH] refactor(README): change links to documentation to most recent release --- README.md | 4 ++-- pyproject.toml | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cfc51a3..e65e547 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 631a9df..bea6168 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" -- GitLab