docs toc/verify: die .template-Form einer Referenzdatei steht im Dateisatz, Version 6.0.1 freigegeben (schliesst #106)
CI / verify (push) Successful in 48s
Release / release (push) Successful in 41s

Files changed:
- CHANGES.md
- VERSION
- instructions/dev/doc-pull-through.md
- kb/CONVENTIONS.md.template
- tools/CONTRACT.md
- tools/chemenu/commands/docs_verify.py
- tools/chemenu/tests/test_docs_verify.py
- tools/chemenu/tests/test_toc.py
- tools/chemenu/toc.py
This commit is contained in:
torben committed 2026-09-16 06:43:36 +02:00
1 parent 5d26698cd0
commit f3c80747a5
9 files changed
+158 -9

No files matched your search

+7 -5
View File
@@ -511,11 +511,13 @@ def check_toc_regions() -> list[str]:
MARKDOWN_LINK_RE = re.compile(r"\[[^\]]*\]\(([^)\s]+)\)")
# The suffix `dist export` re-keys an instance-owned file to, and the one
# `setup-instance.md` renames away again. Spelled here rather than imported
# from `ownership`, whose own `.template` handling answers a different
# question (which side an upstream merge keeps) over a narrower scope
# (paths under a content stage).
TEMPLATE_SUFFIX = ".template"
# `setup-instance.md` renames away again. Imported from `toc` rather than
# spelled again here: that module already decides which files are reference
# material in both their forms, and this check runs over its scope. Not from
# `ownership`, whose own `.template` handling answers a different question
# (which side an upstream merge keeps) over a narrower scope (paths under a
# content stage).
TEMPLATE_SUFFIX = toc.TEMPLATE_SUFFIX
def is_external_or_anchor(target: str) -> bool: