skillfed

mkdocs-print-site-plugin

MkDocs plugin that combines all pages into one, allowing for easy export to PDF and standalone HTML.

mkdocs-print-site-plugin v2.8 203.8K downloads/30d#9,621 on PyPI185
Permissive license MIT Active released

What it is and what it does

This is a MkDocs plugin that solves the problem of exporting entire documentation sites to a single printable format. Instead of printing individual pages, it creates a combined print page at /print_page/ that merges all your site content into one document, which you can then export to PDF via your browser or save as standalone HTML. It works with mkdocs-material and readthedocs themes, and integrates with plugins like tags and autorefs.

The plugin is lightweight with no external dependencies beyond mkdocs-material, supports modern Python versions (3.8 through 3.11), and offers customization options including cover pages and PDF pagination. Setup is straightforward: install via pip, add two lines to your mkdocs.yml configuration, and the print page becomes available immediately.

Use it for:

  • Export full API documentation to PDF for offline distribution or printing.
  • Create standalone HTML archives of documentation for backup or sharing without a web server.
  • Generate printable user manuals from MkDocs-based documentation sites.
  • Combine multiple documentation pages into a single document for easier searching and reading.
  • Support dark theme printing with mkdocs-material by leveraging the plugin's theme integration.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

MkDocs plugin that generates a combined print page of your entire site for easy export to PDF or standalone HTML.

Yes. The plugin is actively maintained, has no known vulnerabilities, installs with low friction, and solves a genuine documentation workflow problem. It's well-suited for teams using MkDocs who need to export documentation to PDF or HTML. The permissive MIT license removes any licensing concern.

Install

mkdocs-print-site-plugin on PyPI

pip

pip install mkdocs-print-site-plugin

uv

uv add mkdocs-print-site-plugin

poetry

poetry add mkdocs-print-site-plugin

Installing mkdocs-print-site-plugin

Before you install

Low friction install with a single runtime dependency (mkdocs-material). Active maintenance with recent commits and no known vulnerabilities.

License in practice

MIT license is permissive; you can use this plugin freely in commercial and private projects with minimal restrictions.

Quickstart

pip install mkdocs-print-site-plugin

Then add to mkdocs.yml:
plugins:
  - search
  - print-site

Navigate to /print_page/ to access the combined page.

Requires Python 3.8 or later; print-site plugin must be placed at the bottom of your plugins list in mkdocs.yml so other plugin changes are included.

Verify before relying

  • Whether PDF export quality and pagination work reliably across all browser implementations.
  • Performance characteristics when exporting very large documentation sites (thousands of pages).
  • Compatibility with custom MkDocs themes beyond mkdocs-material and readthedocs.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — mkdocs-material
Maintenance actively maintained — 376 days since the last release
Last repo commit
First released
Downloads 203,848/month — #9,621 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mkdocs_print_site_plugin-2.8-py3-none-any.whl

Keywords: mkdocs, plugin, print, pdf

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: DocumentationTopic :: Text Processing

Tags

mkdocs pdf exportmkdocs print pagecombine mkdocs pagesmkdocs html exportmkdocs documentation printingmkdocs single page exportmkdocs material pdf
mkdocs-plugindocumentation-exportpdf-generation

More Text Processing packages

regex

A drop-in replacement for Python's standard…

permissive · top 100 on PyPI

pyparsing

pyparsing provides a library for building text…

permissive · top 1,000 on PyPI

docutils

Docutils converts plaintext documentation in…

unclear · top 1,000 on PyPI

RapidFuzz

RapidFuzz provides fast fuzzy string matching…

permissive · top 1,000 on PyPI

tinycss2

tinycss2 parses CSS strings into token and…

permissive · top 1,000 on PyPI

llama-parse

LlamaParse parses complex documents (PDFs,…

permissive · top 1,000 on PyPI

mkdocs-material

Material for MkDocs is a professional theme and…

permissive · top 5,000 on PyPI

mkdocs-with-pdf

Generates a single PDF file from an MkDocs…

permissive · top 15,000 on PyPI

mkdocs-rss-plugin

Generates RSS 2.0 and JSON Feed 1.1 feeds for…

permissive · top 15,000 on PyPI

mkdocs-jupyter

Converts Jupyter notebooks and Python scripts…

permissive · top 15,000 on PyPI

mkdocs-open-in-new-tab

A MkDocs plugin that injects JavaScript to…

permissive · top 15,000 on PyPI

mkdocs-mermaid2-plugin

A MkDocs plugin that renders Mermaid diagram…

permissive · top 5,000 on PyPI

mkdocs-git-authors-plugin

A MkDocs plugin that extracts and displays the…

permissive · top 15,000 on PyPI

mkdocs-techdocs-core

Bundles Spotify's TechDocs defaults—themes,…

permissive · top 15,000 on PyPI

mkdocs

MkDocs generates static HTML documentation…

permissive · top 5,000 on PyPI

mkdocs-table-reader-plugin

A MkDocs plugin that inserts tables from…

permissive · top 15,000 on PyPI