Implement comprehensive Mintlify-compatible rendering in Shiso, with all custom MDX components backed by @umami/react-zen primitives and prop-based styling.
- Use
@umami/react-zencomponents and props over class-driven styling in component implementations. - Keep existing docs routing and Mintlify
docs.jsonnormalization behavior intact. - Enhance existing components (
CodeBlock,PageLinks, and current docs shell pieces) instead of replacing the docs architecture.
docs.json: schema and config shape to support for docs settings/navigation.SETTINGS.md: practical component/tag patterns that must render correctly in real Mintlify-authored pages.- Existing Shiso renderer and docs model:
src/lib/docs-config.ts,src/server/index.ts,src/components/*.
CodeBlockwith copy interactionPageLinksheading anchor listSideNavsection/page navMarkdownMDX runtime rendering wrapper
- Callouts:
NoteTipWarningInfoCheckCallout(generic)
- Structured docs:
ExpandableResponseFieldRequestExample
- Grouped content:
TabsTabCodeGroupStepsStep
- Common reusable Mintlify-style components for broader compatibility:
CardCardGroupAccordionAccordionGroupFrameTooltipParamParamField
- Register all custom components in the default MDX provider map in
Shiso. - Ensure custom names override any colliding default Zen exports (
Tabs,Tab, etc.).
- Build a dedicated Mintlify component layer:
- Add
src/components/Mintlify.tsx. - Implement all feature components using Zen primitives and prop-based styling.
- Add
- Refactor existing docs components:
- Upgrade
CodeBlock,PageLinks,SideNav,Markdown. - Remove reliance on custom class styling for these components where feasible.
- Upgrade
- Wire provider:
- Update
src/components/Shiso.tsxto expose Mintlify components to MDX.
- Update
- Validate:
- Run build/type checks.
- Fix typing/runtime issues.
- Follow-up polish:
- Add doc examples under
src/content/docs/components/index.mdxdemonstrating every new component. - Prune now-unused CSS selectors from
src/app/global.css.
- Add doc examples under
- Implement Mintlify component layer (
src/components/Mintlify.tsx) - Enhance
CodeBlockwith Zen-prop UI - Refactor
PageLinksto prop-driven rendering - Refactor
SideNavto prop-driven rendering - Update
Markdownwrapper to Zen container - Register Mintlify components in
ShisoMDX provider - Build/type validation pass
- Docs examples page expansion
- Global CSS cleanup
src/components/Mintlify.tsxsrc/components/Shiso.tsxsrc/components/CodeBlock.tsxsrc/components/PageLinks.tsxsrc/components/SideNav.tsxsrc/components/Markdown.tsxsrc/components/Callout.tsxsrc/components/Note.tsxsrc/components/hooks/useShiso.ts