Skip to content

docs: add llms.txt support for improved AI accessibility#1161

Closed
bstncartwright wants to merge 1 commit intoanomalyco:devfrom
bstncartwright:add-starlight-llms-txt
Closed

docs: add llms.txt support for improved AI accessibility#1161
bstncartwright wants to merge 1 commit intoanomalyco:devfrom
bstncartwright:add-starlight-llms-txt

Conversation

@bstncartwright
Copy link
Copy Markdown
Contributor

I wanted to have opencode help me configure AGENTS.md and opencode.json files. I was able to accomplish this by linking it to https://opencode.ai/docs/rules/, but realized it could be a lot more efficient if the site supported llms.txt.

This pull request updates the astro.config.mjs file to integrate the starlight-llms-txt plugin for custom documentation sets. It also updates the package.json file to include the new plugin as a dependency. Below are the key changes:

Sidebar Configuration Improvements:

  • Extracted the sidebar array into a separate constant for reuse, simplifying the configuration and avoiding duplication. (packages/web/astro.config.mjs, [1] [2]

Plugin Integration:

  • Added the starlight-llms-txt plugin to the astro.config.mjs file, enabling the creation of custom documentation sets based on the sidebar structure. This includes filtering out the main "docs" link and generating metadata for each documentation section. (packages/web/astro.config.mjs, packages/web/astro.config.mjsR90-R102)
  • Added starlight-llms-txt version 0.5.1 as a new dependency in package.json. (packages/web/package.json, packages/web/package.jsonR34)

@bstncartwright bstncartwright changed the title Add llms.txt support to documentation site for improved AI accessibility docs: add llms.txt support to documentation site for improved AI accessibility Jul 20, 2025
@bstncartwright bstncartwright changed the title docs: add llms.txt support to documentation site for improved AI accessibility docs: add llms.txt support for improved AI accessibility Jul 20, 2025
@github-actions github-actions bot force-pushed the dev branch 3 times, most recently from f1dc981 to 3e15a39 Compare November 22, 2025 18:07
@github-actions github-actions bot force-pushed the dev branch 3 times, most recently from f8ee907 to 6a9856d Compare November 27, 2025 01:29
@thdxr thdxr force-pushed the dev branch 3 times, most recently from f1ae801 to 08fa7f7 Compare January 30, 2026 14:37
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 2, 2026

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

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