Skip to content

docs: define Docusaurus IA, sidebar structure, and i18n layout#63

Merged
JusterZhu merged 1 commit into
mainfrom
docs/issue-46-ia-layout
Jun 3, 2026
Merged

docs: define Docusaurus IA, sidebar structure, and i18n layout#63
JusterZhu merged 1 commit into
mainfrom
docs/issue-46-ia-layout

Conversation

@JusterZhu

Copy link
Copy Markdown
Collaborator

Closes #46

Summary

  • Rewrite sidebar.js with explicit logical grouping across 8 sections
  • Add advanced cookbook placeholder structure with chapter outline
  • Update category.json labels and descriptions for all sections
  • Sync i18n current.json sidebar translations for zh-Hans and English
  • Mirror all category.json files in both i18n locale directories

Page tree (sidebar sections)

  1. Quick Start — Beginner cookbook + quick start guides
  2. Advanced Cookbook — Production, CI/CD, enterprise workflows (placeholder)
  3. Components — Core, Bowl, Differential, Drivelution, Extension
  4. Tools — GeneralUpdate.PacketTool
  5. Infrastructure — Spacestation, UpgradeHub, ClientCore
  6. OSS Update Mode — .NET OSS, MAUI OSS
  7. Utilities — GeneralTracer
  8. Guides — Platform/operational guides
  9. Release Log

Validation

  • git diff --check

Copilot AI review requested due to automatic review settings June 1, 2026 04:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restructures Docusaurus documentation by replacing the autogenerated sidebar with an explicit 9-section information architecture, adds an Advanced Cookbook placeholder page (zh-Hans + en), updates all _category_.json labels/positions/descriptions, and synchronizes the i18n current.json translation files to match the new sidebar category keys.

Changes:

  • Rewrite sidebars.js with explicit logical category grouping (Quick Start, Advanced Cookbook, Components, Tools, Infrastructure, OSS Update Mode, Utilities, Guides, Release Log)
  • Add new Advanced cookbook.md placeholder in root docs and mirror in both i18n locales
  • Update _category_.json files (labels, positions, descriptions) and rewrite current.json translations in both locales to match the new sidebar category IDs

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
website/sidebars.js Replaces autogenerated sidebar with explicit 9-category structure
website/docs/quickstart/Advanced cookbook.md New placeholder cookbook page (zh)
website/docs/quickstart/category.json Renames "Quik start" → "Quick Start", updates description
website/docs/guide/category.json Renames "Guide" → "Guides", position 7
website/docs/doc/category.json Renames "Doc" → "Components", position 2
website/docs/releaselog/category.json Renames "Release log" → "Release Log", position 8
website/i18n/en/.../quickstart/Advanced cookbook.md English translation of new cookbook
website/i18n/en/.../{quickstart,guide,doc,releaselog}/category.json English category metadata mirroring root
website/i18n/en/.../current.json Replaces old category translations with new keys
website/i18n/zh-Hans/.../quickstart/Advanced cookbook.md Chinese version of new cookbook
website/i18n/zh-Hans/.../{quickstart,guide,doc,releaselog}/category.json Chinese category metadata mirroring root
website/i18n/zh-Hans/.../current.json Replaces old category translations with new keys

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread website/sidebars.js
items: [
'quickstart/Quik start',
'quickstart/Sample UI',
'quickstart/Beginner cookbook',
Comment thread website/sidebars.js
Comment on lines +6 to +15
* Pages are grouped by role:
* 1. Quick Start & Cookbooks — first-time user flow and advanced production guides
* 2. Components — non-firmware component reference (Core, Bowl,
* Differential, Drivelution, Extension)
* 3. Tools — GeneralUpdate.Tools usage and artifact reference
* 4. Infrastructure — server-side services (Spacestation, Hub, ClientCore)
* 5. OSS Update Mode — OSS-based update flows (.NET & MAUI)
* 6. Utilities — shared helpers (GeneralTracer)
* 7. Guides — operational / platform-specific guides
* 8. Release Log — changelog and roadmap
Comment thread website/sidebars.js
Comment on lines 1 to +2
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation

The sidebars can be generated from the filesystem, or explicitly defined here.

Create as many sidebars as you want.
* @ts-check
- Rewrite sidebar.js with explicit logical grouping (Quick Start, Components,
  Tools, Infrastructure, OSS, Utilities, Guides, Release Log)
- Add advanced cookbook placeholder structure with chapter outline
- Update _category_.json labels and descriptions for all sections
- Sync i18n current.json sidebar translations for zh-Hans and English
- Mirror all _category_.json files in both i18n locale directories

Closes #46

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JusterZhu JusterZhu force-pushed the docs/issue-46-ia-layout branch from e0a25df to 3d2d853 Compare June 3, 2026 07:42
@JusterZhu JusterZhu merged commit 009342d into main Jun 3, 2026
1 check passed
@JusterZhu JusterZhu deleted the docs/issue-46-ia-layout branch June 3, 2026 16:47
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.

Docs subtask: define Docusaurus information architecture and i18n layout

2 participants