Repository navigation
Agent readiness: docs-theme-extras v0.6.0 and markdown content negotiation - #68
Closed
kristin-kronstain-brown wants to merge 2 commits into
Closed
kristin-kronstain-brown wants to merge 2 commits into
kristin-kronstain-brown wants to merge 2 commits into
Conversation
Signed-off-by: Kristin Brown <kristin.brown@solo.io>
Moves the pin from v0.6.0-beta.2 to the v0.6.0 release and drops the older docs-theme-extras lines from go.sum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Kristin Brown <kristin.brown@solo.io>
artberger
approved these changes
Nov 23, 2026
Contributor
Author
|
Superseded by #70 |
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.
Why
An agent-readiness scan (afdocs 0.18.7, Agent-Friendly Documentation Spec) found the same problems on every site that uses
docs-theme-extras. AI agents reading these docs hit 20-80K characters of navigation before the first sentence of a page, saw page chrome reported as content missing from the.mdtwin, missed section landing pages inllms.txt, and got HTML when they asked forAccept: text/markdown.What changes
docs-theme-extrasv0.6.0 (docs-theme-extras#106). Page content now comes before the sidebar and TOC in the HTML (the page looks the same), page chrome carriesdata-markdown-ignore, the.mdtwin includes the page description,llms.txtlinks every section page, and a sectionllms.txtover 50,000 characters splits into per-section files.static/_worker.js). A request withAccept: text/markdownfor a docs page now gets the page's.mdtwin (<page>.md, or<section>/index.md) astext/markdownwithVary: Accept. Every other request is served as before. The same Cloudflare Pages_worker.jshas run on agentgateway.dev in production; its_redirectsrules kept working with it.hugo_stats.jsonis regenerated for the new theme markup.Testing
The checks below ran on
v0.6.0-beta.2. Thev0.6.0release adds only its dated CHANGELOG on top of that beta, so the results apply to this pin.hugo --gcbuilds cleanly on the beta pin: 73 pages, no errors, and all 70 docs pages put<article>before the sidebar.Accept: text/markdownon/docs/quickstart/and/docs/agents/returns200 text/markdownwithVary: Accept, and HTML without the header.🤖 Generated with Claude Code