Migration guideMigrate from GitBook

Migrate from GitBook

See what moves when you migrate a GitBook site to Documentation.AI, and what you decide along the way.

You can migrate a GitBook site from its live address or from its Git Sync repository. The steps are the same as for every platform. See Migrate to Documentation.AI.

What you can migrate from

  • Your live site, such as https://acme.gitbook.io/docs. The migrator reads the Markdown copy that GitBook publishes for each page. If a page does not serve one, the migration stops rather than guessing that page's content.
  • Your Git Sync repository, with its SUMMARY.md and .gitbook.yaml files. Tell your assistant the folder where you cloned it.

What moves

In GitBookIn Documentation.AI
Sections on a live siteTabs
Section groups, such as a Resources menuA tab with a dropdown for each section
The table of contents, including nested pagesThe same sidebar groups and pages, in the same order
A page with subpagesA group that opens on that page
Hint blocksCallout
TabsTabs
SteppersSteps
Expandable details blocksExpandable
EmbedsAn embedded frame, or a link when the site does not allow framing
Tables shown as cardsCards in columns
UpdatesUpdate entries
Code blocks, including their titlesCode blocks with titles
API operations written as OpenAPI blocksA reference on the page: method, path, parameters, and response fields
Redirects in .gitbook.yamlRedirects
Colors, logo, favicon, and header linksYour site's look, which you review at the second decision. Read from your live site only

If your API reference loads an OpenAPI file from a URL, give that address to your assistant. The migrator can then bring the specification with your pages.

What needs your decision

  • Files in your repository that the table of contents does not list, at the first decision
  • Sections and variants when you migrate from a repository, which you arrange at the first decision
  • Buttons, drawings, math, and conditional content, at the second decision

What does not move

  • Ask buttons that open GitBook's assistant. They work only in GitBook.
  • Your footer, custom fonts, and banner. See What does not move.