From b85fb2cfee4b2acd0a07e46c21ad60b55f716e35 Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Thu, 30 Oct 2025 10:42:53 +0000 Subject: [PATCH] More sensible suggestions for docs templating. --- templates/_templating_scripting.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/_templating_scripting.py b/templates/_templating_scripting.py index ac98333..f7757eb 100755 --- a/templates/_templating_scripting.py +++ b/templates/_templating_scripting.py @@ -359,7 +359,11 @@ def create_issue(title: str, body: str) -> None: if changed_parent in ( git_root, git_root / "benchmarks", - git_root / "docs" / "src", + ): + candidates_list.append(f"- [ ] `{changed_path}`") + if changed_path in ( + git_root / "docs" / "src" / "conf.py", + git_root / "docs" / "src" / "Makefile", ): candidates_list.append(f"- [ ] `{changed_path}`")