6 Commits
Author SHA1 Message Date
Yichen Jiang 1d09a4c877 fix(docs): harden build output cleanup 2026-08-26 14:33:17 +08:00
Yichen Jiang 3275365489 fix(docs): make site builds idempotent 2026-08-26 13:09:53 +08:00
Magolor 0b5eba0c8d docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
Yichen Jiang 17c85209a0 docs(website): serve index routes at their clean-URL .md addresses
Each index route also emits a parent-level alias twin, projected over
the alias route so its relative links stay correct; llms.txt and the
docs now state the drop-trailing-slash convention exactly. Frontmatter
failures name their page, the twin pass refuses to overwrite existing
build files, the dev middleware documents the deliberate in-page
fetch() divergence, and the per-locale collection order moves to one
shared export. Refs #2846.
2026-08-20 22:10:35 +08:00
Yichen Jiang f3ce8218cc docs(website): serve every page as raw Markdown with an llms.txt index
Append .md to any published route for the page as plain Markdown: the
build emits a raw-Markdown twin of every route (frontmatter dropped,
home bodies kept, images beside pages) plus a manifest-generated
llms.txt, the dev server serves both per request, and the post-build
gate fails when either is missing. Fixes #2846.
2026-08-20 22:10:15 +08:00
Yichen Jiang e844125d7d docs: enforce canonical website projection 2026-07-22 18:17:42 +08:00