Files
DeepTutor/tests/cli
AleFlyX ed0ec2a25e test: revive the internal link check
test_internal_docs_links_point_to_existing_pages looked for `/docs/` in the
URL. The reorganized site emits site-absolute paths (`/learning-workspace/chat/`,
`/gifs/x.gif`), so the pattern matched zero links and the test passed on its own
emptiness — the same failure mode as the DOCS_ROOT bug fixed earlier in this
branch.

Resolve each site-absolute link against the page tree, the zh-cn mirror, and
docs/public instead. 804 links across the site resolve, and planting a broken
page link or a broken asset reference fails it.

`check_docs.py dist` still validates the built HTML; this runs in milliseconds
before a build. Keeping both is the point: a fast failure during editing, and
an authoritative one after it.

Also rename the `fenced` variable in the command scan to `source`: it scans the
whole page, which the comment above the pattern already explains.
2026-11-27 00:03:40 +08:00
..
2026-10-08 11:34:42 +08:00
2026-11-06 01:56:27 +08:00
2026-04-27 21:09:25 +08:00
2026-09-06 13:46:29 +08:00