Blog
Export API Documentation, Technical Docs and Product Guides to PDF with Theneo

Export API Documentation, Technical Docs and Product Guides to PDF with Theneo

Download product guides, technical documentation, SDK docs and API references as branded PDFs with diagrams, code samples, and a clickable table of contents.

Export API Documentation, Technical Docs and Product Guides to PDF with Theneo

You can now export documentation from Theneo as a PDF. Readers can download a product manual, an integration guide, an API reference with code examples in their preferred languages, or an entire documentation website.

We wanted to give readers more control over what they download. Sometimes they need a complete technical reference; other times, they only need a few pages to share with a colleague or keep for offline use.

Rather than relying on the browser's print functionality, we generate the PDF directly from the documentation content. This gives us more control over how tables, code samples, diagrams and other documentation components appear in the exported file.

Choose what goes into your PDF

Readers can export the page they're currently viewing, an entire documentation tab, a custom selection of pages, or the full documentation website.

There are also options to customize the appearance of the PDF, including light and dark themes, A4 and US Letter paper sizes, page orientation, text size and image quality.

Depending on how the document will be used, readers can choose a compact layout or start each chapter on a new page. They can also include a branded cover, a clickable table of contents and page numbers.

For larger documentation websites, the PDF follows the existing navigation structure, with each documentation tab becoming a separate part of the document.

Readers can preview sample pages before downloading.

Export API documentation with your preferred code sample languages

One of the things we wanted to get right was how API documentation is exported.

Developers don't necessarily need code examples in every language available on a documentation website. Someone integrating an API using Go may have little use for Ruby or JavaScript examples in their downloaded reference.

When exporting API documentation from Theneo, readers can select which code sample languages they want to include. They can choose one, several, or all available options, and the PDF will respect that selection across the API reference.

Readers can also decide how much endpoint information to include. An endpoint summary may be enough for a quick reference, while a full export can include parameters, request and response schemas, data models, request examples and code samples.

Multiple named request examples are preserved as well.

What happens to diagrams, videos and other documentation components?

Documentation often contains elements that don't translate particularly well to a printed page.

In a Theneo PDF export, diagrams are rendered as images, and videos are represented by QR codes that link to the original content. Screenshots, callouts, tables and changelog entries can also be included.

Readers can choose whether links remain clickable within the PDF or appear as footnotes, which is particularly useful when the document is intended for printing.

If your documentation is available in multiple languages, readers can also export the translated version they're currently viewing.

How to export documentation to PDF

From a published Theneo documentation website:

  1. Open the AI & Export menu.
  2. Select Export as PDF.
  3. Choose the pages and content you want to include.
  4. Adjust your formatting and code sample preferences.
  5. Preview and download the PDF.

Theneo remembers your export preferences, so you don't have to configure them every time you download documentation.

Enabling PDF export for your documentation

PDF export can be enabled for each project version under Project Settings → Features. It is disabled by default, giving documentation owners control over whether they want to offer downloadable documentation.

Exports respect documentation access permissions, exclude private pages and replace API keys, tokens and passwords with placeholders.

For teams that regularly receive requests for downloadable product manuals, API references or technical integration guides, this means there's no longer a need to maintain a separate PDF alongside the online documentation.

Enable PDF export in your Theneo project and let readers generate the version of your documentation they need.

‍

Frequently Asked Questions

How can I export a documentation website to PDF?

On a published Theneo documentation site with PDF export enabled, open AI & Export, select Export as PDF, choose the pages and layout, preview the document, and download it. You can export selected pages or the entire site.

Can I download product guides and technical documentation for offline use?

Yes. Theneo supports PDF exports of product manuals, user guides, technical documentation, SDK docs, tutorials and getting started guides. Readers can save the PDF for offline reference, printing or sharing.

Can I export documentation to PDF without losing diagrams and widgets?

Theneo adapts supported documentation components for PDF. Diagrams are rendered as images, videos appear as QR codes, and screenshots, callouts, changelog entries and structured API reference content can be included.

Can I export API and SDK documentation to PDF with code examples?

Yes. Theneo PDF exports support API endpoints, parameter and response tables, data models, named request examples and code samples in up to three of the documentation site's available programming languages.

Can I offer branded PDF downloads on my documentation website?

Yes. Enable PDF export for a project version in Theneo under Project Settings → Features. Readers can generate PDFs with a branded cover, clickable table of contents and bookmarks. Exports respect access permissions.

Browse all posts
Share article

Start creating quality API
documentation today