Export and print
Save a page, a section or the whole site as PDF, or export Markdown that works offline.
Print a page
Readers choose Print / Save as PDF in a page's More actions menu, or press Ctrl / ⌘ + P. Only the page itself is on the paper:
- tabs, code groups, accordions, nested API fields and the example of every response are opened up;
- long code lines wrap instead of being cut off;
- dark mode prints in light colors;
- videos and embedded pages become their address.
To leave the entry out, use theme.page-actions.
Export a section or the whole site
In the console, open the site's overview and select PDF or Markdown… under Export, then pick the language, the version and the contents (everything, a tab, or a section). What you get is the live version, without hidden pages.
Opens the site's print page: a cover, the contents, then every page in the order of the navigation. Once it's ready, choose Save as PDF in the browser's print dialog. The contents and the links between pages work in the PDF.
With a lot of pages, exporting tab by tab or section by section is faster.
Downloads a ZIP with one .md per page; README.md is the table of contents. Links between pages and images point to files in the ZIP, so everything works offline once unpacked. Links to pages outside it keep their address on the site, and so do images and files beyond 50 MB in total. If there is too much content, export tab by tab or section by section.
If the site is password protected, the exported file isn't: anyone who gets it can read it.
Command line
biti export exports the version published on the platform, for example to archive it in CI. Run biti login first (in CI, set BITI_TOKEN):
biti export --format markdown --out docs.zip
biti export --format pdf --only "API Reference" --lang enCHROME_PATH environment variable. PDF works for public sites only; for a password-protected site, open the print page in your browser and print it there..zip, a .pdf, or an empty folder (Markdown). By default the file is named after the site, in the current directory.PDFs made by biti export have bookmarks.