Repository navigation
feat(website): llms-full.txt and raw-markdown alternates for docs - #729
Conversation
…l.txt Serve every docs page as /docs/<slug>.md (rewrite to a static route handler, exempt from the trailing-slash redirect), advertise it with <link rel="alternate" type="text/markdown"> on each docs page, mention it in llms.txt, and share one markdown builder with llms-full.txt (42 docs). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @ajitpratap0's task in 19s —— View job Review of PR #729I read the diff only. I did not build the site or run any tests, so the notes below come from reading the code. Summary: The change is small and well factored. Looks good
Suggestions
SecurityI found nothing concerning. Content comes from the repo's own docs and slugs are validated against the known set ( No blocking issues. Nice cleanup overall. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
|
Claude finished @ajitpratap0's task in 13s —— View job Review of PR #729I read the diff and the related files. I did not build the site or run tests. Summary: The change is small and well factored. Checked
Suggestions (non-blocking)
SecurityI found nothing concerning. Content comes from the repo's own docs, and slugs are limited to the known set by |
Summary
/docs/<slug>.md(rewrite to a static route handler at/md/docs/[...slug]; paths with an extension skip the trailing-slash redirect).<link rel="alternate" type="text/markdown" href="https://gosqlx.dev/docs/<slug>.md">.llms-full.txtand the.mdalternates share onebuildDocMarkdownbuilder;llms.txtdocuments the.mdconvention.Test Plan
npm ci && npm run typecheck && npm run lint && npm run build(lint: warnings only, no errors).next start:/docs/getting-started.mdand/docs/reference/api/ast.mdreturn 200text/markdown; unknown slug returns 404;/llms-full.txthas 42Source:entries (all sidebar docs); docs page HTML contains the alternate link.Breaking Changes
None.
Closes #679
Part of #634
🤖 Generated with Claude Code
https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9