Skip to content

Move to Specly

Bring docs you already have from Mintlify, Docusaurus, MkDocs, Starlight, VitePress or a folder of Markdown.

5 min read

Updated

Setup finds the docs already in your repo and offers to use them. Mintlify docs build as they are. Other tools’ docs are converted into a new folder, and your old site keeps working.

Follow the Quickstart. This page explains what happens at steps 3 to 5 when you have docs.

At What we found, Specly looks through your repo for one docs setup. It takes the first match in this order. Within a tool it usually takes the config nearest the repo root, and a docs.json anywhere comes before a mint.json:

Tool How Specly recognises it Where it reads pages
Mintlify docs.json, or the older mint.json The folder that holds it
Docusaurus docusaurus.config.js, .ts, .mjs or .cjs The docs/ folder beside it, else the config’s own folder
MkDocs mkdocs.yml or mkdocs.yaml Its docs_dir, else docs/
Starlight An astro.config file that uses @astrojs/starlight src/content/docs/ beside it
VitePress .vitepress/config.js, .ts, .mjs or .mts The folder that holds .vitepress/
A folder of Markdown .md or .mdx pages, with no site config docs/, doc/, documentation/, guide/, guides/ or wiki/

Folders that look internal, like plans/, notes/ or internal/, are left out. Tick It’s meant to be public at step 3 to keep one.

At Choose a start, the option for your docs is named after what Specly found:

Found The start What happens
Mintlify Use your docs as they are Specly builds the folder as it is. Nothing is rewritten.
A folder of Markdown Use your Markdown A pull request adds a docs.json that lists your pages. Nothing is moved.
Docusaurus, MkDocs, Starlight or VitePress Convert the docs you have A pull request adds a docs.json and converted pages beside the old ones.

Mintlify docs and Markdown folders stay where they are. If your Mintlify docs have only a mint.json, the pull request adds a docs.json with the same content. If they already have a docs.json, there’s nothing to add: step 6 shows Go live, and Specly builds them straight away.

Converted docs go where you choose at Where it lives: a new folder in the repo (docs-site unless you change it) or a separate docs repo. Your old setup is never touched.

Specly copies each page and makes it Mintlify’s format:

  • Navigation. Docusaurus’s sidebars file and MkDocs’s nav: become the navigation in docs.json. A Docusaurus site with several sidebars gets a tab for each. Otherwise, each folder becomes a group, ordered by sidebar_position, Starlight’s sidebar.order, or a number prefix like 01-. Docusaurus _category_ files name the groups.
  • Admonitions become callouts: :::note in Docusaurus, :::note[Title] in Starlight, ::: tip in VitePress, and !!! note "Title" or ??? note in MkDocs. A title becomes the callout’s first line, in bold.
  • Frontmatter. sidebar_label becomes sidebarTitle. If a page’s frontmatter has no title, its leading # Title moves into title, so it isn’t shown twice.
  • Imports from @theme/, @site/ and @docusaurus/ are removed.
Admonition Callout
note, quote, cite <Note>
tip, hint, important <Tip>
info, abstract, summary, tldr, todo, question, help, faq, example <Info>
success, check, done <Check>
warning, caution, attention, danger, error, failure, fail, missing, bug <Warning>

Any other type becomes a <Note>.

Files and folders whose names start with . or _ aren’t copied. Components the conversion doesn’t know, like Docusaurus’s <TabItem>, show in a dashed frame on the page, and the build warns about each one.

A Mintlify repo builds without changes. Pages need no imports for Mintlify’s components, and docs.json is read in its current format and its older one.

Key Notes
name, description description is the hero of the default home page.
navigation tabs, groups and pages, with icon, expanded and root; anchors and global.anchors; versions and languages; openapi.
navbar links and primary.
footer links, socials and copyright.
logo, favicon logo takes light, dark and href.
colors primary, and light for dark mode. A colour that’s hard to read is moved to the nearest shade that passes, with a warning.
appearance default and strict.
banner content and dismissible.
contextual options: copy, view, claude, chatgpt and cursor. Others, like perplexity and vscode, are left out.
seo metatags.
api openapi, playground.display, baseUrl and mdx.server.

The older keys work too: topbarLinks, topbarCtaButton, footerSocials, modeToggle, anchors, metadata, and a navigation list with top-level tabs.

Some features build in a simpler form, with a warning:

  • dropdowns, products and menu show as tabs.
  • Versions and languages at the top of navigation each build, with a switcher. Nested inside a tab, only the default one builds.
  • Navigation split into other files with $ref isn’t read yet.

These work in .mdx pages with no imports:

Kind Components
Callouts Note, Info, Tip, Check, Warning, Danger, Callout
Cards Card, CardGroup, Columns, Tile
Layout Steps and Step, Tabs and Tab, AccordionGroup and Accordion, CodeGroup, Frame
Inline Badge, Icon, Tooltip
API ParamField, ResponseField, Expandable, RequestExample, ResponseExample, Panel
Other Update, Tree with Tree.Folder and Tree.File, Mermaid

Snippets work both ways: <Snippet file="name.mdx" />, or an import from /snippets/. Icons take Lucide names, and Font Awesome names are mapped to the nearest Lucide icon.

A component Specly doesn’t know shows its content in a dashed frame, and the build warns with its file and line.

title, description, sidebarTitle, icon, mode, openapi, api, playground and rss work as in Mintlify. mode takes default, wide, center, custom or frame.

If your docs.json is in Mintlify’s own format (it has $schema or theme), a broken link only warns. Otherwise it stops the build.

Was this page helpful?

Report a problem

What’s the problem?

The docs team sees this. Other readers don’t.