feat: LLM compatibility improvements & algolia update - #263
Merged
Conversation
…s, fix admonition styles - Add docusaurus-plugin-llms to generate /llms-full.txt at build time - Add static/llms.txt as hand-crafted index for AI agents - Add scripts/validate-llms-txt.mjs to cross-check llms.txt against doc files (runs as prebuild hook) - Convert absolute /docs/... links to relative .md links across all doc pages - Add description frontmatter to all documentation pages - Fix admonition (alert) background and text colors with !important to override Docusaurus scoped styles - Extend admonition link/icon color fixes to --danger and --tip variants - Add .claude to .gitignore Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
LLM Compatibility
descriptionfrontmatter to all documentation pages for richer search/LLM context/docs/...links to relative.mdfile links for better LLM navigationstatic/llms.txtindex following the llmstxt.org standardscripts/validate-llms-txt.mjsbuild-time script that cross-checksllms.txtagainst actual doc filesdocusaurus-plugin-llmsto generate/llms-full.txtat build timeprebuildhook to run validation automatically on every buildAnalogous to the changes made in bee-docs (#779, #784).
Algolia Update
How it works
```
npm run build
→ prebuild: validate-llms-txt.mjs (warns on stale/missing links, exits 0)
→ docusaurus build (generates /llms-full.txt via plugin)
→ static/llms.txt copied to build/ as-is
```
Test plan