Skip to content

fix(docs): improve agentdocsspec compliance#463

Merged
raymondk merged 1 commit intomainfrom
docs/improve-agentdocsspec-compliance-2
Mar 23, 2026
Merged

fix(docs): improve agentdocsspec compliance#463
raymondk merged 1 commit intomainfrom
docs/improve-agentdocsspec-compliance-2

Conversation

@marc0olo
Copy link
Member

Summary

  • Move agent signaling directive from Banner component to post-build <body> injection (~12% position vs >50%), addressing the "buried deep" checker warning
  • Split monolithic CLI reference (52K+) into 63 per-command .md endpoints with linked subcommand navigation, so agents can fetch individual commands on demand
  • Copy sitemap-index.xmlsitemap.xml for agentdocsspec freshness check discovery
  • Build-time validation: slug collisions, broken subcommand links, format change detection

- Move agent signaling blockquote from Banner component to post-build
  injection right after <body>, placing it at ~12% of the document
  instead of >50% (past nav/sidebar). Addresses the "buried deep"
  warning from the agentdocsspec checker.

- Split the monolithic CLI reference (52K+ chars) into 63 per-command
  markdown endpoints under reference/cli/. Top-level commands are listed
  in llms.txt; subcommand files include linked navigation to siblings.
  Includes build-time validation for slug collisions, broken links, and
  format changes.

- Copy sitemap-index.xml to sitemap.xml so the agentdocsspec freshness
  check can discover it at the conventional path. Move agentDocs()
  integration after starlight() to ensure sitemap exists when the hook
  runs.
@marc0olo marc0olo requested a review from a team as a code owner March 23, 2026 15:44
@raymondk raymondk merged commit 02b7c5a into main Mar 23, 2026
93 checks passed
@raymondk raymondk deleted the docs/improve-agentdocsspec-compliance-2 branch March 23, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants