Migrate from Mintlify
Mintlify keeps your docs as MDX files in a Git repository, so you already have everything you need to migrate. This guide shows how to turn that repository into a Theneo project folder, which components carry over, and which ones you rewrite before importing.
At a glance
Markdown (headings, lists, links, tables, code fences) | Imports as is. |
| Imports as a Steps widget. |
Callouts, Tabs, Accordions, Cards, CodeGroup | Rewrite to Theneo widget syntax first (see the conversion table). Without it, callouts become plain paragraphs and tabs, accordions and cards import empty. |
OpenAPI spec | Imports as your API reference. |
| Recreate it as the |
Images with relative paths, snippets, custom React components | Do not transfer. Use absolute image URLs and paste snippet content into the page. |
Before you start
- Clone your Mintlify docs repository. Your pages are the
.mdxfiles, navigation lives indocs.json(mint.jsonin older projects), and reusable content insnippets/. - Find your OpenAPI file. It is referenced from
docs.jsonor from theopenapifrontmatter of endpoint pages. - Install Node.js 18 or later for the Theneo CLI.
Build the Theneo project folder
1
Create a project folder
Make an empty folder (for example theneo-docs/). Each page becomes its own folder with an index.md (the content) and a section.json (use the default from Project Folder Structure). Nested folders become nested pages.
2
Move your pages
Copy each .mdx page into its own folder and rename it to index.md (for example quickstart.mdx becomes quickstart/index.md). Other .mdx file names are not read by the importer, so the rename matters. Remove import lines at the top of a page; they would show up as text.
3
Write theneo.json
Add a theneo.json at the root with your project name and a sections array that lists every page folder in sidebar order. Only sections listed here are imported, so add every page. The name you set here is the sidebar label.
4
Add your API spec (optional)
Put your OpenAPI file at the root of the folder and add "apiSpec": "openapi.yaml" to theneo.json. The same import then builds your API reference next to your guides.
Frontmatter is optional. If a page has no name in theneo.json, its frontmatter title becomes the page name. A frontmatter description is added to the top of the page as its first paragraph, so delete it if you do not want it shown.
Convert Mintlify components
Rewrite these components in each index.md. Everything not listed here is plain Markdown and needs no change.
|
| Theneo callouts come in four types: info, success, warning and error. |
|
| |
|
| |
|
| |
| No change | Imports as a Steps widget. |
|
| Each tabTitle must match a name in the tabs list. |
|
| A single Mintlify accordion becomes an Accordion with one item. |
|
| |
|
| Two to four cards per group. |
| Separate code fences, or Tabs with one code fence per panel | A CodeGroup imports as a single paragraph. |
| Markdown image | Images wrapped in |
| Your OpenAPI reference, or a Markdown table | Not supported in guides. |
| Paste the content into the page | Turn repeated blocks into Reusable Content after import. |
Mermaid code fence | Re-add with the Mermaid widget in the editor | Imports as a code block. |
For example, a Mintlify warning and tab group:
<Warning>Rotate keys every 90 days.</Warning>
<Tabs>
<Tab title="npm">npm install acme</Tab>
<Tab title="yarn">yarn add acme</Tab>
</Tabs>
becomes:
<Callout attributes='{"dataType":"warning"}'>
<p>Rotate keys every 90 days.</p>
</Callout>
<Tabs attributes='{"tabs":["npm","yarn"]}'>
<TabPanel tabTitle="npm"><p>npm install acme</p></TabPanel>
<TabPanel tabTitle="yarn"><p>yarn add acme</p></TabPanel>
</Tabs>
Fix images
Image paths such as /images/setup.png point at files in your Mintlify repository, and the importer does not upload them. Before importing, replace each with a public absolute URL, for example from your current published site or your own CDN. After importing, you can also drop images straight into the editor. Links between pages also keep their old paths, so update them to the new Theneo page URLs after import.
Import into Theneo
1
Create an empty project
npm install -g @theneo/cli
theneo login
theneo project create --name "Acme Docs" --empty
2
Validate the folder
theneo audit --dir ./theneo-docs
CLI audit checks the structure, theneo.json, and widget syntax (including Callout types and attributes JSON). Fix every error before importing.
3
Import
theneo import --project acme-docs --dir ./theneo-docs
Use the project slug from step 1. Importing into a project replaces its content, so import into a new project and review there.
4
Review and publish
Open the project in the editor, check pages that used components or images, then publish when you are ready.
Migrate with AI
theneo migrate does this conversion for you. Run it in your cloned Mintlify repository and choose your coding agent. The CLI installs Theneo's conversion skill, which already knows the Mintlify components in the table above, and hands your agent a prompt. The agent builds the project folder in converted_for_theneo/, runs theneo audit until it is clean, and shows you a preview before anything is imported. See Migrate with an AI Agent.
cd ./your-mintlify-docs
theneo migrate
Prefer to drive the agent yourself? Give it this prompt instead:
Convert the Mintlify docs in ./source into a Theneo project folder at ./theneo-docs.
- One folder per page with index.md and the default section.json.
- A theneo.json with "name" and a "sections" array in the same order as the Mintlify navigation.
- Rewrite Mintlify components into Theneo widgets using the conversion table on
https://docs.theneo.io/get-started/migrate-to-theneo/migrate-from-mintlify
- Replace relative image paths with absolute URLs and list any you could not resolve.
- Run "theneo audit --dir ./theneo-docs" and fix every error.
After the import, you can keep editing with AI by connecting the Theneo MCP server to Claude or another MCP client, so it can read and update sections in your project directly.
What does not transfer
- Custom React components and anything that needs Mintlify's MDX runtime.
- Analytics, search settings, feedback data and theme configuration from
docs.json. Set branding, custom domain and analytics in Theneo after import.
Stuck on a component, a large project, or a custom setup? Email hello@theneo.io and the team will look at your project with you.
On this page
- Migrate from Mintlify