Skip to main content

PDF Generator: A Plugin for Pelican

Build Status PyPI Version Downloads License

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.

Release files for pelican-pdf 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pelican-pdf 1.0.5
File Size Uploaded
pelican_pdf-1.0.5.tar.gz 17.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pelican-pdf 1.0.5
File Interpreter ABI Platform
pelican_pdf-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 34.4 kB

Release files / pelican_pdf-1.0.5.tar.gz

Download URL pelican_pdf-1.0.5.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4ab55e00328dc827f85255b3665acdaa7f80e29dcd5a9b836d41bcf56293ad7d
BLAKE2b-256 checksum
How to use checksums
d165d66956282b698185ae3e6b1c8157a4d52bcfed268da2f89559af210a77ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / pelican_pdf-1.0.5-py3-none-any.whl

Download URL pelican_pdf-1.0.5-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9543f82937a2db740698b48ac4fc765490ef7dbb1ee5fe0388788d6d64cbc753
BLAKE2b-256 checksum
How to use checksums
602ff721f4d75cd9358ebf1bd4cb89abf3b0635485332f0fabca8d3043e1babb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page