Repository navigation
Add LLMS output and llms.txt support, enables it over docsy.dev - #2605
Merged
Merged
Conversation
Introduce a new LLMS output format and generated llms.txt site index. Adds layouts/index.llms.txt and updates layouts/all.md to include a link to the LLMS index. Configure outputFormats in hugo.yaml and enable LLMS output on the site config. Add agent-docs afdocs config and test goldens for llms.txt, update golden test harness to support a skip flag, and add the llms.txt golden. Add afdocs as a devDependency and npm scripts to run checks, update various npm script paths, and update spelling/cspell ignores. Also include a temporary workaround for Hugo scrollspy attribute escaping in docs/blog base templates.
10 tasks done
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Oct 7, 2026
The template listed a project's `AGENTS.md` page in the site index when a content page by that path existed (docsy#2605). Only docsy.dev has one, through a mount of the repo file, and the llms.txt proposal has no such notion: AGENTS.md guides agents working in a repository, llms.txt guides agents reading a site. Removed from the template; the llms.txt golden follows, and the docs golden picks up the agent-support description. Changelog and release-post expected diffs note the dropped line. Release 0.18.0 artifacts: no changelog or post mention of the removed AGENTS.md llms.txt line
chalin
added a commit
that referenced
this pull request
Oct 7, 2026
- Contributes to #2775 - **Scope**: the 0.18.0 artifacts refreshed for the merges after #2840 (`0fdf3a6f` to `64411422`), merged `main` only; version guidance follows the changelog's official support policy - **Release post** - Linux Foundation stated as Docsy's home, with the module-path migration and canonical-path cleanup - `llms.txt` section (#2841, #2851) - Hugo section routing to the companion - Default script-dependency versions, with a reconcile action for existing overrides - Override notes as a `<details>` under the Upgrade step - **Hugo 0.165.0-0.166.0 upgrade guide**, new: the companion carrying the Hugo mechanics (the 0.16.0 model), one action block per change - **Changelog**, **user guide**, **maintainer notes**: aligned with the posts (one home per fact; the guide owns the evergreen rules the posts point to) - **Agent-support page**: reorganized around parallel Markdown-output and `llms.txt` sections, in Hugo's glossary terms (site, project, site root) - **Theme** (widening): `all.llms.txt` no longer lists an `AGENTS.md` page, a docsy.dev experiment from #2605 that leaked into the theme; `llms.txt` golden updated - **Version params**: both posts freeze every version param they render; the toolchain-versions test guards the frozen script pins and the companion's title bound - Post dates set; `draft: true` kept - **Out of scope** - Tag-time fields: draft flip, version stamp, `UNRELEASED` removal, the release link - CSP guidance home and the print-gap line: owner decisions pending - The dropped `AGENTS.md` `llms.txt` line: no changelog or post mention (experimental, docsy.dev-only; owner call) - Relative links in Markdown output versions: pre-existing, #2858 - **Coverage** (ledger, ten rows) - #2850: changelog, post (Other notable changes) - #2852: changelog, post, companion guide - #2851: user guide, changelog, post - #2853: post table - #2792: changelog, post - #2841: user guide, changelog, post - #2848: changelog, post (the LF fact) - #2829: post version table (the Dart Sass pin) - #2849, #2846: internal; release notes only - #2854: guide only - **Preview(s)** - https://deploy-preview-2855--docsydocs.netlify.app/blog/2026/0.18.0/ - https://deploy-preview-2855--docsydocs.netlify.app/blog/2026/hugo-0.165.0+/ - https://deploy-preview-2855--docsydocs.netlify.app/project/about/changelog/#next - https://deploy-preview-2855--docsydocs.netlify.app/docs/update/ - https://deploy-preview-2855--docsydocs.netlify.app/docs/content/agent-support/
Closed
2 tasks done
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.
Preview
AFDocs score: 98% (over selected metrics)