Skip to content

docs: split guide lookup tables into grouped reference pages - #313

Merged
antfu merged 1 commit into
mainfrom
docs/divio-guide-reference-split
Aug 27, 2026
Merged

docs: split guide lookup tables into grouped reference pages#313
antfu merged 1 commit into
mainfrom
docs/divio-guide-reference-split

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Intent

Adopt the Divio documentation system's separation of learning material from lookup material across the docs.

  • Guide pages teach. Every pure lookup table in docs/content/1.guide/ (definition fields, options, enums, statuses, event lists, route tables — 30 tables across 14 pages) moves out; each guide keeps a one-or-two-sentence prose summary of the essentials plus a link to its reference section.
  • Three new grouped reference pages list. Node-Side API (definition fields, CLI options, storage scopes, RPC function types, broadcast options, streaming lifecycle, remote assets, diagnostics prefixes, auth surface, MCP CLI), Browser-Side API (connectDevframe options, RPC client events, connection statuses, in-page channel error codes), and Hub API (subsystems, launcher fields, duplication strategies, dock categories, hub UI protocol, namespace routes, client runtime, client context, dock entry types). Each section opens by naming what it lists and linking the guide that teaches it.
  • Comparison and decision tables stay in the guides — they are explanation, not reference ("in-page channel vs RPC", "shared state vs RPC", "streaming vs events vs shared state", "singular vs hub mounting", the ws/static backend contrast).
  • Adapters, frameworks, helpers, and plugins pages keep their tables — each of those pages is already the reference for its own package.
  • The duplicated CLI building-blocks table in the standalone-CLI guide now defers to the CLI adapter page; the "The protocol — what the hub UI provider sees" heading is renamed "The hub UI protocol" for a stable anchor.
  • AGENTS.md codifies the split as documentation-style rule 4 so future doc edits keep guides and references separate.

All moved anchors were verified against github-slugger (what comark uses for heading ids); pnpm lint and the docs build pass.


This PR was created with the help of an agent.

Follow the Divio documentation system: guide pages teach with prose and
code examples; lookup tables (fields, options, enums, statuses, routes)
move to three new grouped reference pages — Node-Side API, Browser-Side
API, and Hub API. Each guide keeps a prose summary of the essentials
plus a link to its reference section; comparison and decision tables
stay in the guides as explanation. Codify the split in AGENTS.md.
@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
devframe Ready Ready Preview Aug 27, 2026 12:17pm

@antfu
antfu merged commit e018de5 into main Aug 27, 2026
11 checks passed
@antfu
antfu deleted the docs/divio-guide-reference-split branch August 27, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants