Migrate from Mintlify

Migration4 min read|
|

DocsLit can automatically convert a Mintlify documentation project. The import command reads your mint.json, converts MDX components to DocsLit equivalents, and generates a ready-to-use project.

Run the migration

docslit import {{MINTLIFY_DIR}}

This creates a {{MINTLIFY_DIR}}-docslit/ directory with your converted documentation.

Run `--dry-run` first to see what the import will do without writing any files: docslit import {{MINTLIFY_DIR}} --dry-run

What gets converted

The import command handles these transformations automatically:

Component mapping

[ { "Mintlify": "", "DocsLit": "" }, { "Mintlify": "", "DocsLit": "" }, { "Mintlify": "", "DocsLit": "" }, { "Mintlify": "", "DocsLit": "" }, { "Mintlify": "", "DocsLit": "" }, { "Mintlify": "", "DocsLit": "" }, { "Mintlify": "", "DocsLit": "" }, { "Mintlify": " / ", "DocsLit": " / " }, { "Mintlify": "", "DocsLit": "" }, { "Mintlify": " / ", "DocsLit": " / " }, { "Mintlify": "", "DocsLit": "" }, { "Mintlify": "", "DocsLit": "" }, { "Mintlify": "", "DocsLit": "" } ]

Other transformations

  • MDX imports and exports — Stripped automatically
  • JSX props — Converted to HTML attributes
  • Font Awesome icons — Mapped to built-in Lucide equivalents (50+ mappings)
  • Sidebar structure — Generated from mint.json navigation
  • Static assets — Copied to the output directory

After migration

The import prints a report showing converted pages, items needing manual review, and any errors.

cd {{MINTLIFY_DIR}}-docslit docslit dev

Preview every page and check that components render correctly.

docslit validate

This catches broken links, missing pages, and unknown component tags.

Some components do not have a direct equivalent and need manual attention. The import report flags these as "needs review".

Custom output directory

docslit import {{MINTLIFY_DIR}} --out my-new-docs