Skip to content

docs(nav): group Protocol Reference modules and clarify top-level nav#1862

Merged
xuyushun441-sys merged 1 commit into
mainfrom
docs/reorg-nav
Jun 15, 2026
Merged

docs(nav): group Protocol Reference modules and clarify top-level nav#1862
xuyushun441-sys merged 1 commit into
mainfrom
docs/reorg-nav

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Why

The docs site renders fine but the information architecture is hard to navigate. Of 366 doc pages, 238 live under Protocol Reference, and each module was a single flat alphabetical list (system: 40, api: 38, kernel: 32, data: 24, ui: 22 …). The top-level "Protocol" (5 pages) vs "Protocol Reference" (238 pages) split was also ambiguous.

What (navigation-only — no content edits, no file moves)

  • Second-level ---section--- groups added to the 8 largest reference modules — system, api, kernel, data, ui, cloud, automation, ai — turning each flat list into labeled logical groups (e.g. System → Runtime & Services / Observability / Metadata & Migration / Security & Compliance / Tenancy & Provisioning / Deployment & Operations / Communication & Localization). Modules with ≤9 pages stay flat to avoid over-fragmenting short lists.
  • Renamed top-level ProtocolProtocol Overview to distinguish the conceptual intro from the per-module Protocol Reference.
  • Removed empty orphaned references/contracts/ folder (pages: [], not referenced by the root meta).

Verification

  • Every regrouped meta.json: valid JSON, every existing .mdx covered, no dangling/misspelled entries.
  • Ran the docs dev server and confirmed in the browser that grouped section headers render correctly with no build errors.

Because no files were moved, all URLs are unchanged. Truly collapsible folder sub-trees (vs. section-header separators) would require moving .mdx into subfolders + URL redirects — left as a possible follow-up.

🤖 Generated with Claude Code

The docs site rendered fine but its information architecture was hard to
navigate: 238 of 366 pages live under Protocol Reference, and each module
was a single flat alphabetical list (system: 40, api: 38, kernel: 32, …).
The top-level "Protocol" (5 pages) vs "Protocol Reference" (238 pages)
split was also ambiguous.

Navigation-only changes (no content edits, no file moves):
- Add second-level `---section---` groups to the 8 largest reference
  modules (system, api, kernel, data, ui, cloud, automation, ai), turning
  each flat list into labeled logical groups. Smaller modules (≤9 pages)
  stay flat to avoid over-fragmenting short lists.
- Rename top-level "Protocol" → "Protocol Overview" to distinguish the
  conceptual intro from the per-module "Protocol Reference".
- Remove the empty, orphaned references/contracts/ folder.

Every regrouped meta.json was validated: valid JSON, every existing .mdx
covered, no dangling entries. Verified in the browser (grouped section
headers render correctly, no build errors).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 15, 2026 4:10am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants