hutchins/leafpress

Convert an MkDocs site to PDF, Word, HTML, ODT, and EPUB documents with branding

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 16, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: hutchins/leafpress@8f1d699c0e509f3d2128dacae8fdbd313052e070 # v0.8.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
sourcePath to the MkDocs project directory.
outputOutput directory for generated filesdist
formatOutput format: pdf, docx, html, odt, epub, both (pdf+docx), or allpdf
configPath to leafpress.yml branding config (optional — uses auto-detection or LEAFPRESS_* env vars)no""
cover_pageInclude a cover page (true/false)true
tocInclude a table of contents (true/false)true
local_timeUse local timezone for dates instead of UTC (true/false)false
python_versionPython version to use3.13
namedescription
filesNewline-separated list of generated output file paths