Migrate from ReadMe
A ReadMe project has two halves: guides written in ReadMe's Markdown, and an API reference generated from your OpenAPI file. In Theneo both come in through one import. This guide covers exporting from ReadMe, building a Theneo project folder, and rewriting ReadMe components and magic blocks.
At a glance
Markdown (headings, lists, links, tables, code fences) | Imports as is. Consecutive code fences import as separate code blocks. |
OpenAPI spec from | Imports as your API reference. |
| Imports as an image. |
Callouts, tabs, accordions, cards, magic blocks | Rewrite to Theneo widget syntax first (see the conversion table). Without it, every callout imports as an info callout, accordions and cards import empty, and |
Variables ( | Removed on import. Replace them with plain text first. |
| Recreate it as the |
Export from ReadMe
Pick one of these. All of them give you Markdown files for your guides.
- Dashboard export. Export the version (branch) from your ReadMe dashboard as a ZIP. ReadMe emails you the file. It contains
docs/(guides),reference/(API pages and OpenAPI files),recipes/,custom_pages/and_order.yamlfiles. - rdme CLI. Export guides to a local folder with
rdme docs export ./guides --key <your-readme-api-key> --branch <version>. - GitHub sync. If your project already syncs to GitHub, clone that repository.
Images in a ReadMe export usually point at files.readme.io. They import fine, but they stay hosted by ReadMe. Download them and re-host them (or upload them in the Theneo editor) before you close your ReadMe account.
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 guide into its own folder as index.md (for example docs/getting-started.md becomes getting-started/index.md). Use _order.yaml to see the order and nesting. Custom pages become ordinary pages; convert HTML custom pages to Markdown. Recipes have no direct equivalent, so turn each one into a page with a Steps widget and code blocks.
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.
The frontmatter title becomes the page name if theneo.json does not set one. ReadMe's excerpt is not imported, so move it into the page body if you want to keep it.
Links between guides in a ReadMe export (for example doc:getting-started) keep their ReadMe paths, so update them to the new Theneo page URLs after import.
Convert ReadMe components
Rewrite these in each index.md. Everything not listed here is plain Markdown and needs no change.
|
| Theneo reads the type from attributes, not from |
|
| |
|
| |
|
| |
Blockquote callouts ( | The matching Callout: info, success, warning, error | Imported as is, they become plain quotes. |
| The matching Callout, Markdown image or code fence | Older ReadMe projects store these as JSON. Imported as is, they show as text. |
| A Markdown table | |
|
| Each tabTitle must match a name in the tabs list. |
|
| |
|
| Two to four cards per group. |
| Keep as is, then add the term to your Theneo Glossary | The term text imports, but its ReadMe definition does not. |
Reusable Content and custom blocks | Paste the content into the page | Turn repeated blocks into Reusable Content after import. |
| A link or a page with Steps | Theneo builds its own API Explorer from your spec. |
For example, a ReadMe warning callout:
<Callout icon="🚧" theme="warn">
Rotate keys every 90 days.
</Callout>
becomes:
<Callout attributes='{"dataType":"warning"}'>
<p>Rotate keys every 90 days.</p>
</Callout>
Bring your API reference
Take the OpenAPI file from reference/ in the export (or from your API repository), put it at the root of the Theneo project folder, and set apiSpec in theneo.json. Text you wrote on ReadMe endpoint pages outside the spec is not part of the file, so move it into the spec's descriptions or add it in the Theneo editor 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 the unzipped ReadMe export and choose your coding agent. The CLI installs Theneo's conversion skill, which already knows the ReadMe 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-readme-docs
theneo migrate
Prefer to drive the agent yourself? Give it this prompt instead:
Convert the ReadMe 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 ReadMe navigation.
- Rewrite ReadMe components into Theneo widgets using the conversion table on
https://docs.theneo.io/get-started/migrate-to-theneo/migrate-from-readme
- 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
- Variables, personalized content and API keys shown to logged-in readers.
- Metrics, suggested edits, discussions and changelog subscribers.
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 ReadMe