All <pre> elements in docs MDX now render through CodeBlock,
which selects one of three modes based on language and title.
CSS styling for each mode follows.
- Mode A (Terminal): bash/sh languages or wizard-glyph content
- Mode B (VS Code tab): blocks with a title attribute
- Mode C (Minimal): everything else
Component renders only structural markup; CSS for each mode is
added in the following commits.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Scope section trigger rules to div[data-state]:not([class]) so they
don't bleed onto other Radix collapsibles inside #nd-sidebar.
Fumadocs 15 section wrapper divs are bare (no class, no id); content
panels and popovers always carry a class attribute.
- Add focus-visible rings for section buttons and page links
(a11y gap from code review).
- Add !important to margin-top for consistency with the
surrounding padding overrides.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Activates fumadocs' built-in collapse on every section. Only the
section containing the current page expands; others stay collapsed
until the user clicks them. Foundation for the typographic sidebar
pass in the next commit.