feat(website): reframe docs for end users; agent content as plaintext .md - #7
Open
rowinbot wants to merge 1 commit into
Open
feat(website): reframe docs for end users; agent content as plaintext .md#7rowinbot wants to merge 1 commit into
rowinbot wants to merge 1 commit into
Conversation
✅ Deploy Preview for docsxai-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reframes the rendered docs site for end users; agent-facing content moves to the plaintext
.mdsurface thatllms.txtlinks to.Mechanism
rehype-strip-agent-asides.mjsremoves<aside aria-label="For agents">from the rendered HTML only. The guidance stays in the page source.src/pages/[...slug].md.tsemits a plaintext.mdtwin of every doc page (raw body,For agentsasides intact, internal links rewritten to.md) — and the two agent-only pages, which now have no HTML at all.doc-pipeline.mjsfactors the porting transform out ofsync-docs.mjsso the HTML generator and the.mdendpoint share one source of truth.llms.txtnow links to the.mdversions (32 links); the GitHub link is untouched..md-only:agent-runbook/agent-guidancedropped fromsync-docs, the sidebar, and.gitignore; human-page links to them repoint to the canonical GitHub doc.Verified on the build
0rendered HTML pages leak "For agents"; every.mdtwin keeps it..md, noindex.html.The remaining mentions of agents in the human pages are factual architecture (calibration is agent-assisted) and are kept on purpose.
🤖 Generated with Claude Code