https://github.com/pelican-plugins/pdf
Pelican plugin that saves articles and pages as PDF files
https://github.com/pelican-plugins/pdf
Last synced: about 1 year ago
JSON representation
Pelican plugin that saves articles and pages as PDF files
- Host: GitHub
- URL: https://github.com/pelican-plugins/pdf
- Owner: pelican-plugins
- License: other
- Created: 2021-02-24T10:09:42.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T13:02:34.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T14:39:08.702Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
PDF Generator: A Plugin for Pelican
===================================
[](https://github.com/pelican-plugins/pdf/actions)
[](https://pypi.org/project/pelican-pdf/)
[](https://pypi.org/project/pelican-pdf/)

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](https://docs.getpelican.com/en/latest/plugins.html#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](https://rst2pdf.org/static/manual.html#styles).
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.
[existing issues]: https://github.com/pelican-plugins/pdf/issues
[Contributing to Pelican]: https://docs.getpelican.com/en/latest/contribute.html
License
-------
This project is licensed under the AGPL 3.0 license.