Skip to content

Commit 77281f6

Browse files
docs: add the docs guide (quickstart, connect, api, concepts)
Docs in the nav pointed at the bare /endpoints reference, not a guide. Adds /docs in the calm constellation theme with a sidebar over four sections: quickstart (the real self-host steps plus the hosted waitlist), connect your agent (the shared snippets, identical to onboarding, plus the REST shape), an organized API reference of the routes that exist, and a plain-language how-it-works covering importance/confidence/recency, the active/settling/ resting tiers, the relation graph, and the adversarially tested isolation. The full per-endpoint reference stays at /endpoints and is linked from the sidebar. Landing Docs and Read the docs CTAs now point at /docs.
1 parent d49a1d7 commit 77281f6

8 files changed

Lines changed: 289 additions & 4 deletions

mockup/shots/docs-1280-api.png

1.18 MB
Loading
1.45 MB
Loading

mockup/shots/docs-1280-connect.png

1.11 MB
Loading
1.12 MB
Loading

mockup/shots/docs-390-connect.png

500 KB
Loading
389 KB
Loading

src/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ import {
4141
deployHtml,
4242
deployScript,
4343
handleApiWaitlist,
44+
docsHtml,
4445
endpointsIndexHtml,
4546
mcpLandingHtml,
4647
endpointGuideForPath,
@@ -94,6 +95,12 @@ export default {
9495
});
9596
}
9697

98+
if (url.pathname === '/docs') {
99+
return new Response(docsHtml(url), {
100+
headers: { 'Content-Type': 'text/html; charset=utf-8' },
101+
});
102+
}
103+
97104
if (url.pathname === '/endpoints') {
98105
return new Response(endpointsIndexHtml(url), {
99106
headers: { 'Content-Type': 'text/html; charset=utf-8' },

src/routes.ts

Lines changed: 282 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)