Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Migrate from Mintlify

ButterIX reads docs.json / mint.json directly and converts it on load, and Mintlify's component syntax works out of the box. To use every feature, rewrite the config as docs.yml.

Step 1: Preview directly

After signing in (biti login), run this in the root of your Mintlify project (when there's no docs.yml):

biti dev

biti reads docs.json (or the older mint.json) and converts it into ButterIX config on load. Pages, images, and snippets all stay where they are.

What auto-conversion covers

MintlifyButterIX
nametitle
logo (string or { light, dark })logo
faviconfavicon
colors.primary / colors.lightLight / dark values of colors.accent-primary
group / pages in navigation.groups or a navigation arraySections (section) and pages, with icon preserved
navigation.tabsTabs (tab0, tab1…) and their groups
Page string "guides/quickstart"{ page: "Quickstart", path: "guides/quickstart.mdx" }

Auto-conversion is best-effort: OpenAPI, versions, languages, anchors (except navigation.global.anchors, which become sidebar-links), redirects, footer, navbar links, and so on are not converted. For a real migration, rewrite the config as docs.yml.

URLs will change: ButterIX sections contribute a URL segment by default, and page segments are generated from titles. A Mintlify page like /quickstart may become /get-started/quickstart after conversion. When rewriting docs.yml, use skip-slug: true and slug to keep the original URLs, or add redirects.

Step 2: Rewrite as docs.yml

{
  "name": "Acme",
  "logo": { "light": "/logo/light.svg", "dark": "/logo/dark.svg" },
  "colors": { "primary": "#7C5CFF", "light": "#9E8AFF" },
  "navigation": {
    "tabs": [
      {
        "tab": "Guides",
        "groups": [
          { "group": "Get started", "pages": ["index", "quickstart"] }
        ]
      },
      { "tab": "API reference", "openapi": "openapi.json" }
    ]
  },
  "redirects": [{ "source": "/old", "destination": "/quickstart" }]
}

When docs.yml exists it takes precedence over docs.json. Once everything checks out, you can delete docs.json.

Component compatibility

Mintlify's components and props all have matching implementations:

MintlifyNotes
<Note> <Info> <Warning> <Tip> <Check> <Danger>Callouts; color in <Callout icon color iconType> maps to the closest style
<Card> <CardGroup> <Columns>Supports img, horizontal, cta, arrow, iconType, color
<Accordion> <AccordionGroup> <Expandable>Supports description, icon, defaultOpen
<Tabs> <Tab>Supports icon and sync
<Steps> <Step>Supports stepNumber, titleSize, icon
<CodeGroup>Same name
<ParamField>Supports the query / path / body / header="name" syntax; placeholder is ignored
<ResponseField>Supports pre, post
<Frame>Supports caption, hint
<Tooltip>Supports headline, cta, href
<Badge>Supports color, size, shape, stroke (mapped to outlined), icon, disabled
<Tree> <Tree.Folder> <Tree.File>Mapped to a file tree
<Panel> <Banner> <Update> <Icon> <Tile> <Color>Same name

See the Components overview for every component.

Snippets

Importing with import Snippet from "/snippets/x.mdx" and using it as <Snippet /> is fully supported. Defining JSX components or functions in snippets with export const X = () => … is not supported — ButterIX doesn't execute JavaScript in MDX. Rewrite such components as plain snippets or switch to built-in components; see Safe subset.

OpenAPI

The OpenAPI files Mintlify references in docs.json work as-is; just write their paths in the api node of docs.yml. The separate .mdx page Mintlify uses for each endpoint (openapi: "POST /users" in frontmatter) is no longer needed, since ButterIX generates a page for every endpoint automatically; to reference an endpoint in a guide, use <EndpointRequestSnippet endpoint="POST /users" />.

Checklist

biti check

Fix every error, especially mdx/import (importing a non-MDX module) and mdx/esm (exporting a function).

Rewrite docs.yml

Add the config that isn't auto-converted, such as OpenAPI, redirects, navbar links, and the footer.

Check URLs

Compare against your old sitemap and keep the original URLs with slug / skip-slug or redirects.

Publish

Run biti deploy, or connect a Git repository in the dashboard.