# Import and export

Moving in and out is part of the product. Imports arrive as a draft for review, and exports are plain Markdown and MDX.

## Import

Open the site's **Settings**, then **Advanced**, and choose **Import**. A new site with no pages also shows **Import** on its **Content** tab. Under **Docs tool**, choose the product or leave **Detect it**. Then choose **From**:

<img src="/images/platform/import.webp" alt="Import dialog for a docs site" width={464} height={550} />

- **A repository.** Pick a repository in your workspace. Rimfe finds the docs folder and fills it in; change it if it guessed wrong. The pages are copied once and the repository is not linked to the site.
- **A zip.** Upload a ZIP of up to 50 MB.
- **A website.** Paste the address of a public docs site, such as `https://docs.example.com/guides`. See [Import from a website](#import-from-a-website).

Pages and images come in for review before anything goes live. Choose **Review drafts** on the task, check them, then [publish](https://docs.rimfe.com/platform/publishing-and-builds).

Importing and exporting need a Docs tier, like any hosted site, and are for workspace owners and admins. They use no AI pages.

## What each tool carries over

| Tool | Recognised by | Carried over |
| --- | --- | --- |
| **Mintlify** | `docs.json` or `mint.json` | Navigation with group tags and hidden pages, versions, languages, branding (colours, logo, fonts, code theme, social image), light and dark mode, background, banner, header links and GitHub button, footer columns, anchors as sidebar links, the page menu, variables, analytics, redirects, OpenAPI specs, page settings from front matter, file trees and the components Rimfe can render. Icons come along: the icon library, page, group, tab and anchor icons, icons on components and `<Icon>`, with `iconType` picking the Font Awesome style on a Font Awesome site. An icon from a library other than the site's keeps that library's prefix. Files in `.mintignore` and Mintlify's default ignore list are skipped. Custom CSS and scripts are dropped. |
| **GitBook** | `SUMMARY.md` or `.gitbook.yaml` | Navigation from the summary, page icons as Font Awesome icons, and hints, tabs, steppers, columns, embeds, includes and card tables as blocks. Covers and layout settings are dropped. |
| **Docusaurus** | `docusaurus.config` or `sidebars` | Sidebars and categories, versions, locales, front matter, admonitions, tabs and code highlights. |
| **Fumadocs** | `source.config.ts`, or `meta.json` beside `.mdx` pages | Pages and the navigation from `meta.json`, with page and folder icons. A card's `icon={<Rocket />}` becomes the Lucide icon of that name. |
| **Plain Markdown** | Anything else | The files, with the folders as navigation. |

## What to check afterwards

Anything that could not be carried over shows as a note under the page in **Review drafts**, with what went wrong. A cause shared by many pages is one note with a page count. Common cases:

- A component with no matching block stays as written.
- A Mintlify setting with no match is named once: a custom theme, a font file, a code theme Rimfe does not offer, an analytics tool it does not support, custom meta tags, CSS and scripts.
- An icon given as an image or SVG file is left out, since icons are picked by name. So is an icon whose name has characters other than letters, digits and hyphens once underscores and spaces become hyphens; the link, group or tab keeps everything else. Icons on code blocks are removed. An icon name none of the sets has draws nothing, and the build warns about it.
- Mintlify pages that are hidden or missing from the navigation come in unlisted: reachable by link, out of search.
- A Mintlify file tree that cannot be converted whole stays as written.
- A page missing from the GitBook summary is listed.
- A link that cannot be resolved is a warning.
- MDX that does not parse is listed with its location.

## Import from a website

Use this when the docs are only online, with no source files to hand. Rimfe reads the published pages and turns them back into Markdown.

Confirm that you own the content or have the right to copy it. You are responsible for what you import, as the [terms](https://rimfe.com/terms#imported-content) say.

Rimfe reads only pages on the same site, under the address you give. `https://docs.example.com/guides` brings in the guides and nothing else. The address must be public, use `https://`, and need no sign-in.

| Docs tier | Pages per import |
| --- | --- |
| Lite | 100 |
| Plus | 300 |
| Pro | 1,000 |
| Enterprise | 2,000 |

Rimfe first lists the pages under the address, and the task shows how many it found. If there are more than your plan imports, the import stops before any page is read and says how many it found, for example: *Found 1,240 pages on docs.example.com; your plan imports up to 300 pages. Import one section at a time.* Give a deeper address, such as `/guides`, then import the next section.

Otherwise the task shows the pages converted while it runs. A workspace can start 5 website imports a day and one at a time per site, and only one import can read the same website at a time. Website imports also share a daily page limit; once it is reached, try again the next day. A page whose address cannot become a file path, or whose text is longer than 500,000 characters, is left out with a warning.

What comes over:

- Each page's text, with its title from the first heading and its description from the page.
- Navigation folders from the address paths, in the order the site links to them.
- Links between imported pages, rewritten to point inside the site. Other links stay as they were.
- Images on the pages, copied into the site. An image that cannot be copied keeps its old address and gets a note.
- Redirects from each old path whose new path differs.

Before you publish, check:

- **Navigation.** Folder names and order come from addresses, so rename or reorder them where needed.
- **Leftover page parts.** Rimfe drops common menus, footers and "Was this helpful?" blocks. Anything else it missed stays in the page.
- **Missing pages.** A page no link or sitemap points to is not found. If the summary says the import ran out of time, import a smaller section, such as `/guides`, then the next one.
- **Interactive parts.** Tabs, code groups and widgets usually arrive as plain text and code blocks. Rebuild them with [components](https://docs.rimfe.com/platform/components) where it helps.

## Export

Open **Settings**, then **Advanced**, and choose **Download a copy**. Rimfe prepares a ZIP of every page, image and the site's settings, and the **Automations** tab shows **Download zip** when it is ready. The ZIP imports back into a Rimfe site as it is.

<img src="/images/platform/advanced.webp" alt="Advanced settings with Import, Download a copy, the configuration and the danger zone" width={900} height={563} />

Starting from Mintlify, GitBook or Docusaurus without moving anything? Rimfe reviews those docs in your repository too. See [Docusaurus](https://docs.rimfe.com/guides/docusaurus).
