hutchins/leafpress
Convert an MkDocs site to PDF, Word, HTML, ODT, and EPUB documents with branding
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 16, 2026
- License
- MIT
Pinned Snippet
uses: hutchins/leafpress@8f1d699c0e509f3d2128dacae8fdbd313052e070 # v0.8.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| source | Path to the MkDocs project directory | — | . |
| output | Output directory for generated files | — | dist |
| format | Output format: pdf, docx, html, odt, epub, both (pdf+docx), or all | — | |
| config | Path to leafpress.yml branding config (optional — uses auto-detection or LEAFPRESS_* env vars) | no | "" |
| cover_page | Include a cover page (true/false) | — | true |
| toc | Include a table of contents (true/false) | — | true |
| local_time | Use local timezone for dates instead of UTC (true/false) | — | false |
| python_version | Python version to use | — | 3.13 |
Outputs
| name | description |
|---|---|
| files | Newline-separated list of generated output file paths |