Skip to content

feat(website): add llms.txt and a favicon.ico - #191

Merged
RealZST merged 1 commit into
mainfrom
chore/website-llms-favicon
Nov 19, 2026
Merged

RealZST merged 1 commit into
mainfrom
chore/website-llms-favicon

Conversation

@RealZST

@RealZST RealZST commented Nov 19, 2026

Copy link
Copy Markdown
Owner

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.ico with 16, 32 and 48 px images. The site only had favicon.png, so clients that ask for /favicon.ico by default got a 404.
  • favicon.png goes from 32 to 96 px, from the same artwork.
  • The docs sidebar definition moves to src/data/docs-sidebar.ts, shared by astro.config.mjs and the llms.txt endpoint. Its content is unchanged.

Checked

  • npm test (674 passed), astro check, npm run build.
  • The built llms.txt lists all 28 English docs pages once, with absolute URLs and no /zh/ pages, in the same order as the built sidebar.
  • The built sidebar's links match the live site.

Notes

  • The short description at the top of llms.txt is a copy of the docs overview's opening paragraph and has to be kept in step by hand.
  • apple-touch-icon.png has opaque black corners. Not changed here.

🤖 Generated with Claude Code

/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>
@RealZST
RealZST merged commit b4a10ea into main Nov 19, 2026
3 checks passed
@RealZST
RealZST deleted the chore/website-llms-favicon branch November 19, 2026 08:10
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.

1 participant