⚡ The fastest and most configurable plugin for MkDocs, allowing seamless export of individual pages and/or entire documentation as PDF documents.
See the codeA highly configurable plugin for MkDocs that exports your pages as PDF documents.
Additionally, it can combine your entire documentation into a single PDF file.
material and readthedocs themes
>= 3.9>= 1.4The plugin is hosted on PyPI and can be installed via pip (or your favourite package manager):
pip install mkdocs-exporter
The following configuration excerpt from the mkdocs.yml configuration file used by this documentation should cover the basic functionalities of this plugin:
plugins:
- exporter:
formats:
pdf:
enabled: !ENV [MKDOCS_EXPORTER_PDF, true]
concurrency: 8
stylesheets:
- resources/stylesheets/pdf.scss
covers:
front: resources/templates/covers/front.html.j2
back: resources/templates/covers/back.html.j2
aggregator:
enabled: true
output: .well-known/site.pdf
covers: all
Check out a sample PDF generated by this plugin, it includes custom CSS and features cover pages.
v6.0.0)Feel free to request additional features by submitting an issue or contributing through a pull request.
We welcome contributions from the community to enhance MkDocs Exporter.
Whether you want to report a bug, suggest a feature, improve the documentation, or contribute code, your help is appreciated!
This project is licensed under the MIT License (MIT), which you can read here.
348 followers · starred Sep 2024
26 followers · starred Mar 2025
Python
83.5%
Jinja
6.3%
JavaScript
2.9%
SCSS
2.6%
Dockerfile
2.1%
Makefile
1.6%
⚡ The fastest and most configurable plugin for MkDocs, allowing seamless export of individual pages and/or entire documentation as PDF documents.
See the codeA highly configurable plugin for MkDocs that exports your pages as PDF documents.
Additionally, it can combine your entire documentation into a single PDF file.
material and readthedocs themes
>= 3.9>= 1.4The plugin is hosted on PyPI and can be installed via pip (or your favourite package manager):
pip install mkdocs-exporter
The following configuration excerpt from the mkdocs.yml configuration file used by this documentation should cover the basic functionalities of this plugin:
plugins:
- exporter:
formats:
pdf:
enabled: !ENV [MKDOCS_EXPORTER_PDF, true]
concurrency: 8
stylesheets:
- resources/stylesheets/pdf.scss
covers:
front: resources/templates/covers/front.html.j2
back: resources/templates/covers/back.html.j2
aggregator:
enabled: true
output: .well-known/site.pdf
covers: all
Check out a sample PDF generated by this plugin, it includes custom CSS and features cover pages.
v6.0.0)Feel free to request additional features by submitting an issue or contributing through a pull request.
We welcome contributions from the community to enhance MkDocs Exporter.
Whether you want to report a bug, suggest a feature, improve the documentation, or contribute code, your help is appreciated!
This project is licensed under the MIT License (MIT), which you can read here.
348 followers · starred Sep 2024
26 followers · starred Mar 2025
Python
83.5%
Jinja
6.3%
JavaScript
2.9%
SCSS
2.6%
Dockerfile
2.1%
Makefile
1.6%