diff --git a/docs/AGENTS.md b/docs/AGENTS.md index 5cfd12a0..0970aded 100644 --- a/docs/AGENTS.md +++ b/docs/AGENTS.md @@ -1,6 +1,6 @@ # AGENTS.md for the docs site -The webjs documentation site, built on webjs itself (eating our own +The WebJs documentation site, built on WebJs itself (eating our own dogfood). All framework-wide rules (file conventions, public API, workflow, scaffold rules, persistence rules, autonomous-mode behaviour) live in the **framework root [`../AGENTS.md`](../AGENTS.md)** and apply @@ -51,7 +51,7 @@ automatically): | URL | What it serves | |---|---| -| `/llms.txt` | A structured INDEX. An `# webjs documentation` H1, a one-line blurb, then a markdown bullet list of every doc page (title, blurb, absolute link). Ordered to match the sidebar nav. | +| `/llms.txt` | A structured INDEX. An `# WebJs documentation` H1, a one-line blurb, then a markdown bullet list of every doc page (title, blurb, absolute link). Ordered to match the sidebar nav. | | `/llms-full.txt` | The full prose CORPUS. Every doc page concatenated as lightweight markdown. In the monorepo it also folds in `agent-docs/*.md`; a standalone deploy that lacks the repo root simply skips that (try/catch read). | | `/docs//llms.txt` | One page's raw markdown. Every topic gets one via the `app/docs/[topic]/llms.txt/route.ts` dynamic route. | diff --git a/test/docs/llms.test.mjs b/test/docs/llms.test.mjs index 68d7f930..122ea852 100644 --- a/test/docs/llms.test.mjs +++ b/test/docs/llms.test.mjs @@ -52,7 +52,7 @@ describe('docs /llms.txt (the index)', () => { assert.match(r.headers.get('content-type') || '', /text\/plain/); const body = await r.text(); assert.ok(body.startsWith('# '), 'body should start with a markdown H1'); - assert.match(body, /^# webjs documentation/); + assert.match(body, /^# WebJs documentation/); }); test('index lists known doc topics with absolute https URLs', async () => {