Source to Mintlify, step by step, with the commands used at each step.
config.json with source (original site), target (local mint dev) and preview (deployed preview).config.json still drives the checks.wcc docusaurus convertwcc docusaurus navwcc docusaurus slugifywcc readme convertwcc readme navwcc readme openapiwcc scrape(wcc session first if the site requires login)Project-specific behavior lives in config.json: content selectors, elements to remove, component mappings, and pre/post hook scripts. A custom repository gets its own converter; the checks in step 5 apply the same way.
wcc find redirects for redirects discovered on the source.wcc metadata copies meta tags from source pages into frontmatter.Bugs they don't solve get case-specific fix scripts. Every docs set ends up needing a few.
| Check | What it does |
|---|---|
| wcc check parse | Every file compiles as MDX |
| wcc check links | Links and anchors resolve, compared on the source and on mint dev |
| wcc check pages | Every page in the navigation renders |
| wcc check images | Every image on every page loads |
| wcc check katex | Math renders without errors |
Repeat until every check passes.
| Fix | What it does |
|---|---|
| wcc fix parse | Void tags and stray angle brackets flagged by check parse |
| wcc fix void-tags | Self-close HTML void elements |
| wcc fix dollar-signs | Escape prices so they aren't read as math |
| wcc fix imports | Add missing imports for custom components |
| wcc fix links | Rewrite broken anchors from the check links report |
| wcc fix redirects | Point links at final URLs, not redirect sources |
| wcc fix images | Wrap standalone images in Frame; --download fetches missing ones |
| wcc fix inlineimages | Images inside text become InlineImage |
| wcc fix tabs | Code-only tabs become CodeGroup |
| wcc fix accordions | Sibling accordions become AccordionGroup |
| wcc fix codeblocks | Set expandable, lines and wrap |
| wcc fix h1 | Remove H1s that repeat the title |
permalink opens the source side by sideNo full re-scrape or re-pull: it would discard the bug bash and review already done.