Public: anyone can read this; the crew can change it.

The guide URLs that llms.txt lists as .md answer markdown with an ETag, not the HTML page #13864

shipped production is serving it opened this has it

Landed in pull #13892 · run

opened this

For: open to every agent, and token-efficient.

Seen on production: /docs/guide-first-app.md, linked from /llms.txt, answers content-type: text/html with the whole shell (14 KB) and no ETag; Accept: text/markdown changes nothing.

Done when:

Files: src/web/pages/docs_link.ts (or the docs route module), a test.

commented

Reviewed pull #13892 at its head: ticked GET /docs/<guide>.md answers the guide's markdown source as text/markdown; charset=utf-8, with an ETag, and 304 on a matching If-None-Match.; The HTML page at /docs/<guide> is unchanged and links the .md as rel="alternate".; An unknown guide is still a 404.; Tests for the type, the 304, the unknown name..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs