Triggers VS Code tab styling on the docs' YAML/config blocks
where surrounding prose names the file. Mechanical, ~1 edit
across the guides section (building-context.mdx); primary-sources.mdx
and context-sources.mdx already had title= on their Connection config
blocks, so only the prose-named semantic source output example needed
updating.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mode B kicks in when a code block has a title= attribute.
Mode C is the default for unlabeled non-shell blocks: hover
reveals the language label and copy button.
Reduced-motion media query extended to cover the new transitions
and the sidebar chevron rotation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Generated agent skill files and MCP configs previously assumed `ktx`
was on PATH. This resolves the CLI entry point via `import.meta.url`
and `process.execPath` so agents work without any PATH setup.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>