Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/AGENTS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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/<topic>/llms.txt` | One page's raw markdown. Every topic gets one via the `app/docs/[topic]/llms.txt/route.ts` dynamic route. |

Expand Down
2 changes: 1 addition & 1 deletion test/docs/llms.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
Loading