docs: MVP-3 nest Core under new Reference sidebar root#6210
docs: MVP-3 nest Core under new Reference sidebar root#6210caseyisonit wants to merge 1 commit intocaseyisonit/docs-mvp-beta-audience-restructurefrom
Conversation
Restructure the Storybook sidebar per the docs-overhaul v2 RFC so Reference becomes a distinct persona-facing top-level entry, sibling to Get started / Components / Learn / Contribute — instead of Core living at the root. - .storybook/main.ts: rename the three `directory: '../../core'` story entries' titlePrefix from `Core` to `Reference/Core` (mdx, stories, and dev-only test stories) - .storybook/preview.ts storySort: remove the root-level `Core` entry and add a root-level `Reference` entry after the generated Contribute block, with `Core` (Overview / Controllers) plus placeholders for `API reference` and `Design tokens` (populated in later phases) No content moves; existing Core pages now surface under Reference > Core > Overview and Reference > Core > Controllers. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
📚 Branch Preview Links🔍 First Generation Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
Description
Adopt the persona-first Storybook sidebar from the docs-overhaul v2 RFC (MVP-3).
Coremoves from a top-level sidebar entry toReference > Core, makingReferencea distinct top-level sibling toGet started,Components,Learn, andContribute.Motivation and context
Per the docs-overhaul v2 RFC, the sidebar should lead with persona ("who are you?") before topic ("what is it?"). Before this change,
Corelived at the sidebar root alongside audience-shaped entries; after this change,Coreis one of several Reference sub-pages — sitting next to placeholders for the futureAPI reference(CEM-driven) andDesign tokenspages populated in later phases.No content moves; the change is titlePrefix + storySort only.
What changed
.storybook/main.ts: the threedirectory: '../../core'story entries (mdx, stories, dev-only tests) now usetitlePrefix: 'Reference/Core'instead of'Core'..storybook/preview.tsstorySort: root-levelCoreentry removed; root-levelReferenceentry added after the generated Contribute block, containingCore(Overview / Controllers) plus placeholders forAPI referenceandDesign tokens.What didn't change
Related issue(s)
Author's checklist
Reviewer's checklist
Manual review test cases
Sidebar renders with Reference as a top-level entry
Core stories still resolve
Production build preserves the same tree
Device review
Accessibility testing checklist
Sidebar reorg only; no changes to focus order, keyboard handling, or screen reader output within components.
Keyboard (required — document steps below)
Screen reader (required — document steps below)
🤖 Generated with Claude Code