Commit Graph

6 Commits

Author SHA1 Message Date
32fc5eec48 Check links with alternate Markdown title delimiters 2026-11-24 20:57:34 +01:00
ce560e07f4 tests: test_docs_links reads code fences line by line, as CommonMark does 2026-11-24 07:32:24 +05:30
db7f1e3043 gitignore, tests: ignore .pytest_cache from git and document scanners 2026-11-23 23:14:12 +02:00
57b4c452f6 Preserve tracked Markdown filenames in documentation checks (#6305)
Squash-merged after diff review of PR #6305 - tests: preserve Markdown filenames with spaces and Unicode
2026-11-23 08:22:02 -06:00
e126500303 Run the Markdown link check without Git 2026-11-22 19:28:17 +00:00
3ca1f6978a tests: check relative Markdown links and anchors
Adds tests/test_docs_links.py, a stdlib-only test that fails when a
tracked Markdown page links to a missing relative file or a heading
anchor that does not exist. It runs in the existing CI stdlib job (any
test_*.py with a __main__ block), so no workflow change is needed.

On main e7584c5 the 60 tracked Markdown files have 0 broken links. The
test also carries a negative control: a synthetic page with a missing
file and a bad anchor must be reported.
2026-11-22 17:44:53 +08:00