Commit Graph

1 Commits

Author SHA1 Message Date
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