Repository navigation
feat(website): add llms.txt and a favicon.ico - #191
Merged
Merged
Conversation
/llms.txt is built from the English docs, in the sidebar's groups and order, with each page's own title and description. The sidebar definition moves to its own module so the config and llms.txt share it. /favicon.ico (16, 32 and 48 px) answers clients that ask for it by default, and favicon.png goes from 32 to 96 px. Co-Authored-By: Claude Fable 5.2 <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.
What
/llms.txt(llmstxt.org), built from the English docs: every page in the sidebar's groups and order, with its own title and description, plus one line pointing at the Chinese docs. It is generated at build time, so it follows the docs./favicon.icowith 16, 32 and 48 px images. The site only hadfavicon.png, so clients that ask for/favicon.icoby default got a 404.favicon.pnggoes from 32 to 96 px, from the same artwork.src/data/docs-sidebar.ts, shared byastro.config.mjsand the llms.txt endpoint. Its content is unchanged.Checked
npm test(674 passed),astro check,npm run build.llms.txtlists all 28 English docs pages once, with absolute URLs and no/zh/pages, in the same order as the built sidebar.Notes
llms.txtis a copy of the docs overview's opening paragraph and has to be kept in step by hand.apple-touch-icon.pnghas opaque black corners. Not changed here.🤖 Generated with Claude Code