Repository navigation
Give /llms.txt the shape llmstxt.org defines - #215
Merged
Merged
Conversation
The file already existed, but two of its H2 sections ("Reading a value
correctly", "Licence") held prose rather than link lists, and the
fixture's demo warning was a second blockquote. A parser for the format
reads every H2 as a file list, so those rules were the part it dropped.
The reading rules, the licence and a note on per-game URLs now sit in the
prose above the first H2. Pages link to their ?plain=1 text rendering.
An Optional section lists the RSS feeds (their own titles and
descriptions), /submit, and every shipped reference page. Tests check the
structure in both modes and that every linked address is served.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rqqt7UfcfpLY37ng1CGv7M
HarryCordewener
marked this pull request as ready for review
November 15, 2026 07:22
… have text The shape test split on LF and Windows serves CRLF. A page is now linked at ?plain=1 only where TextMirror says a text rendering exists. The served-address test reports the status it got. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7UfcfpLY37ng1CGv7M
DatasetStructuredData attached one publisher JsonObject to three parents. A JsonNode has one parent, so the second assignment threw and every measured render of /about/api failed. The fixture never reached it because the graph is gated on IsMeasured. Found by the llms.txt test that requests every address it lists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7UfcfpLY37ng1CGv7M
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.
Requested by Grave · project thread
/llms.txthas been served since #176, but it was not well-formed under llmstxt.org: "Reading a value correctly" and "Licence" were H2 sections holding prose, and the fixture's demo warning was a second blockquote. A parser for the format treats every H2 as a link list, so those rules were the part it threw away.Now, still generated per request in
SiteIndex.Llms:## Data: OpenAPI, API guide, games, both dumps, and/api/feeds(new).## Pages: each page at its?plain=1address./findis new.## Optional: the three RSS feeds, usingRssFeed's own titles and descriptions;/submit; and every page inReferenceLibrary.Shipped.Tests cover the structure in both modes, check that every linked address returns 2xx, and check that every reference page is listed.
Not built locally: the cloud container could not download the .NET 11 RC SDK, so CI is the first compile. No Cloudflare change is needed, since the route is served by the app.
Generated by Claude Code
Summary by CodeRabbit
llms.txtto follow the documented format, clarify demo-data and reference-page details, and organize optional resources.