From dcf020ff79de9e99ed64f8f6761984122b75c214 Mon Sep 17 00:00:00 2001 From: Michele Peresano Date: Mon, 4 Mar 2024 10:43:11 +0100 Subject: [PATCH 1/3] Fix towncrier directory lookup for changes --- towncrier.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/towncrier.toml b/towncrier.toml index 62da753..e4d07e7 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,7 +1,7 @@ [tool.towncrier] package = "iact_estimator" package_dir = "src" -directory = "docs/changes" +directory = "docs/source/changes" filename = "docs/source/changelog.rst" title_format = "v{version} ({project_date})" underlines = ["=", "-", "^", "~"] From b74cfe7185f3aec6f343cf100929a3513d35033b Mon Sep 17 00:00:00 2001 From: Michele Peresano Date: Mon, 4 Mar 2024 10:43:49 +0100 Subject: [PATCH 2/3] Fix closing ticket URL link for changelog --- towncrier.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/towncrier.toml b/towncrier.toml index e4d07e7..00b98d7 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -5,7 +5,7 @@ directory = "docs/source/changes" filename = "docs/source/changelog.rst" title_format = "v{version} ({project_date})" underlines = ["=", "-", "^", "~"] -issue_format = "`#{issue} `__" +issue_format = "`#{issue} `__" [[tool.towncrier.type]] directory = "removed" From 633220607da113543670dbe0099d230cc73c687e Mon Sep 17 00:00:00 2001 From: Michele Peresano Date: Mon, 4 Mar 2024 10:44:23 +0100 Subject: [PATCH 3/3] Make sphinx ignore changes directory --- docs/source/conf.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 1b7eb86..63de89a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -38,7 +38,13 @@ ] templates_path = ["_templates"] -exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "**.ipynb_checkpoints"] +exclude_patterns = [ + "_build", + "Thumbs.db", + ".DS_Store", + "**.ipynb_checkpoints", + "changes", +] nitpicky = True # Report warnings for all validation checks except "ES01", "SA01", "EX01"