Export a PDF
The same content that builds your site can ship as one polished PDF: a title page, a table of contents, and every published page in navigation order.
Run an export
Choose Tools → Codocation → Export PDF, pick where to save the file, and wait for the
background task to finish. The notification links to the exported file.
PDF settings
The "PDF" tab of the "Site & Export" tool window configures the document. The same values
live under pdf: in codocation.yml:
pdf:
titlePage:
enabled: true
orientation: portrait
tableOfContents: true
pageNumbers:
enabled: true
format: "{page} of {total}"
position: bottom-center
titlePageadds a cover; its title, subtitle, and logo are configurable in the "PDF" tab.orientationisportraitorlandscape.tableOfContentsinserts a clickable contents section after the cover.pageNumbersstamps each page;formatsupports the{page}and{total}placeholders, andpositionisbottom-left,bottom-center, orbottom-right.
What gets included
The export follows the navigation tree and includes published pages only: drafts and pages hidden from the navigation stay out, the same way they stay off the built site.