A MkDocs plugin that generates a single PDF file from your MkDocs documentation repository. Version 0.9.3 is the latest stable release (requires Python >=3.6). The project is actively maintained, with periodic releases fixing bugs and adding features.
pip install mkdocs-with-pdfVerified import paths — ran on the pinned version, not inferred.
Enable the plugin in your mkdocs.yml and build the site to generate a PDF.
Follow the WeasyPrint installation docs: https://doc.courtbouillon.org/weasyprint/stable/first_steps.html
Upgrade Python to 3.6+ or pin version to 0.8.3.
Set theme.features.tabs to false or switch to a different theme.
Update your mkdocs.yml to use the new exclude_pages pattern (e.g., '*/api/*').
Upgrade to v0.9.3 or ensure page titles include letters.