Pudu programming language
Menu
Package

@chrismichaelps / pudu-lang-docgen

Documentation publishing for Pudu: articles, API references, navigation, search, and static websites

0.1.0Apache-2.01

InstallClose

pdf.md

Markdown23 lines710 B

GitHub ↗

pdf


uid: guides.commands.pdf description: Build the site and print a PDF for every table of contents that enables one.


Builds and publishes the site, then prints a PDF for every table of contents whose metadata sets pdf: true.

docgen pdf [config] [options]

It accepts the same project path and build options as build. For each document it prints wrote <path>, relative to the output folder.

The command fails with DG905 when no table of contents sets pdf, when no renderer is found, or when the renderer fails or runs past its time limit. See [PDF output](../pdf.md) to configure documents and the renderer.

Example

pudu run Docgen.pudu pdf docs