mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
e7fbece5b6
* docs: document page selection option for PDF exports * update exports link * add second procedure * spanish * french * chinese --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
54 lines
2.5 KiB
Plaintext
54 lines
2.5 KiB
Plaintext
---
|
|
title: "PDF exports"
|
|
description: "Export your entire documentation site as a single PDF with a navigable table of contents for offline reading, sharing, and print distribution."
|
|
keywords: ["PDF", "offline docs"]
|
|
---
|
|
|
|
export const DownloadPDFButton = () => {
|
|
return (
|
|
<a download="mintlify-example.pdf" href="/files/mint-full-docs.pdf" className="border border-zinc-200 dark:border-zinc-800 hover:bg-zinc-100 dark:hover:bg-zinc-700 transition-colors w-fit text-sm font-medium flex items-center gap-2 rounded-lg px-3.5 py-1.5 not-prose">
|
|
<Icon icon="download" size={16} />
|
|
View Example PDF
|
|
</a>
|
|
)
|
|
}
|
|
|
|
<Info>
|
|
PDF exports are available on [Enterprise plans](https://mintlify.com/pricing).
|
|
</Info>
|
|
|
|
You can export your docs as a single PDF file for offline viewing. The PDF contains all the content in the docs, including images and links, and a navigable table of contents.
|
|
|
|
Full-site PDF exports include all pages regardless of group restrictions, so anyone with access to the exported PDF can read content that might otherwise sit behind user group restrictions.
|
|
|
|
<Tip>
|
|
To let users download individual pages as PDFs, use the [contextual menu's](/ai/contextual-menu) `download-pdf` option.
|
|
</Tip>
|
|
|
|
## Export all content
|
|
|
|
1. Navigate to the [Exports](https://app.mintlify.com/settings/deployment/export-docs) page in your dashboard.
|
|
2. Click **Export all content**.
|
|
3. Optionally, customize the export options:
|
|
- **Page format**: Choose the page size of the PDF.
|
|
- **Scale percent**: Adjust the scale of the PDF.
|
|
- **Include footer**: Include a footer with the page number and total pages.
|
|
- **Language**: If your content is available in multiple languages, choose which language to export.
|
|
4. Click **Export**.
|
|
5. When the export completes, Mintlify sends you an email with a link to download the PDF file.
|
|
|
|
<DownloadPDFButton />
|
|
|
|
## Export select pages
|
|
|
|
1. Navigate to the [Exports](https://app.mintlify.com/settings/deployment/export-docs) page in your dashboard.
|
|
2. Click **New export**.
|
|
3. Select the pages you want to export.
|
|
4. Optionally, customize the export options:
|
|
- **Page format**: Choose the page size of the PDF.
|
|
- **Scale percent**: Adjust the scale of the PDF.
|
|
- **Include footer**: Include a footer with the page number and total pages.
|
|
- **Language**: If your content is available in multiple languages, choose which language to export.
|
|
5. Click **Export**.
|
|
6. When the export completes, Mintlify sends you an email with a link to download the PDF file.
|