Migrate to Docsheaf
Bring your existing docs from GitBook, a Git repository or a folder of Markdown.
Docsheaf reads GitBook's Markdown format — SUMMARY.md, .gitbook.yaml, nested README.md
pages, front matter and the {% hint %}, {% tabs %}, {% stepper %} family of blocks — so most
GitBook content moves over without edits.
Export your GitBook space as Markdown, or download your repository as a ZIP (GitHub's Code → Download ZIP works as it is).
In Docsheaf, open the space and choose Import a folder (.zip) from the space menu.
Read the preview: the page outline, the counts, files left out, images the pages point to that the archive lacks, and links that don't lead to an imported page.
Confirm. The pages are added after the ones already in the space — nothing is replaced.
Images and files the pages use are uploaded with them, and links between pages keep working.
Connect the space's site to the repository with Git Sync, give the space the folder that holds the Markdown, and choose Git → Docsheaf as the first sync. Docsheaf reads the folder and keeps the space and the branch in step from then on: pushes come in, published changes go out as commits.
Choose Import Markdown, Word or HTML from the space menu (or from a page's menu, to import under
that page). Word documents (.docx) and HTML are converted in your browser.
What carries over#
From GitBook | In Docsheaf |
|---|---|
| Groups |
Nested | A page with sub-pages |
Front matter | Page fields of the same name |
Hints, tabs, steppers, expandables, cards, columns, embeds, files, math | The same blocks |
| Page link cards |
| |
| |
| Uploads |
GitBook icon: values that name an icon (rather than an emoji) are dropped. Set an emoji on those
pages after the import.
Limits#
An archive can be up to 20 MB, 5,000 files and 2,000 pages; Markdown files over 2 MB are left out and listed in the preview. A space holds up to 10,000 pages, 16 levels deep.
Was this helpful?
Last updated
View as Markdown