Mirror of https://github.com/wombelix/pdf - Pelican plugin that saves articles and pages as PDF files
botpub fb68ffca83 Release PDF Generator 1.0.1 | 3 years ago | |
---|---|---|
.github | 3 years ago | |
pelican | 3 years ago | |
.editorconfig | 3 years ago | |
.gitignore | 3 years ago | |
.pre-commit-config.yaml | 3 years ago | |
CHANGELOG.md | 3 years ago | |
CONTRIBUTING.md | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
pyproject.toml | 3 years ago | |
tasks.py | 3 years ago | |
tox.ini | 3 years ago |
The PDF Generator plugin automatically exports articles and pages as PDF files as part of the site generation process.
PDFs are saved to: output/pdf/
This plugin can be installed via:
python -m pip install pelican-pdf
To customize the PDF output, you can use the following settings in your Pelican configuration file:
PDF_STYLE = ""
PDF_STYLE_PATH = ""
PDF_STYLE_PATH
defines a new path where rst2pdf will look for style sheets, while PDF_STYLE
specifies the style you want to use.
For a description of the available styles, please read the rst2pdf documentation.
Contributors include: Dominik Wombacher, Justin Mayer, Kyle Mahan, Renato Cunha, dpetzel, and Lucas Cimon
Contributions are welcome and much appreciated. Every little bit helps. You can contribute by improving the documentation, adding missing features, and fixing bugs. You can also help out by reviewing and commenting on existing issues.
To start contributing to this plugin, review the Contributing to Pelican documentation, beginning with the Contributing Code section.
This project is licensed under the AGPL 3.0 license.