Serve raw Markdown docs pages
Created by: ihsraham
Summary
- Generate static per-page
.mdfiles for every exported docs page during the build. - Point the page action button at the current page Markdown URL while keeping
/llms-full.txtunchanged. - Add generator/output checks for unsafe manifest paths, leaked manifests, HTML/404 bodies, missing Markdown pages, and served-route regressions.
- Refresh the branch with current
develop(11b5a5f) before review.
Validation
- Node
v22.22.2, npm10.9.7 git diff --checknpm run test:llm-mdnpx tsc --noEmit --pretty falsenpm run quality-
node scripts/check-llm-md-output.mjs --base-url http://127.0.0.1:8082after servingdistlocally - Route smoke:
/sdk/all-modules.mdreturned200 text/markdown;/sdk/all-modules/returned200 text/html;/does-not-exist.mdreturned404