PDF Generator is a Pelican plugin that exports articles and pages as PDF files during site generation
Project description
PDF Generator: A Plugin for Pelican
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/
Installation
This plugin can be installed via:
python -m pip install pelican-pdf
As long as you have not explicitly added a PLUGINS
setting to your Pelican settings file, then the newly-installed plugin should be automatically detected and enabled. Otherwise, you must add pdf
to your existing PLUGINS
list. For more information, please see the How to Use Plugins documentation.
Usage
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
Contributors include: Dominik Wombacher, Justin Mayer, Kyle Mahan, Renato Cunha, dpetzel, and Lucas Cimon
Contributing
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.
License
This project is licensed under the AGPL 3.0 license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pelican_pdf-1.0.5.tar.gz
.
File metadata
- Download URL: pelican_pdf-1.0.5.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ab55e00328dc827f85255b3665acdaa7f80e29dcd5a9b836d41bcf56293ad7d |
|
MD5 | 5382d7e912a6746d90934e291fe8d3d9 |
|
BLAKE2b-256 | d165d66956282b698185ae3e6b1c8157a4d52bcfed268da2f89559af210a77ca |
File details
Details for the file pelican_pdf-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: pelican_pdf-1.0.5-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9543f82937a2db740698b48ac4fc765490ef7dbb1ee5fe0388788d6d64cbc753 |
|
MD5 | 453b9e016563f53d6ccb35a19655f2a5 |
|
BLAKE2b-256 | 602ff721f4d75cd9358ebf1bd4cb89abf3b0635485332f0fabca8d3043e1babb |