The mkdocs-print-site-plugin is an MkDocs plugin designed to combine all documentation pages into a single, printable HTML page. This allows for easy export to PDF and creates a standalone HTML file, useful for offline viewing or comprehensive sharing. It is actively maintained with frequent updates, currently at version 2.8.
pip install mkdocs-print-site-pluginNo compatibility data collected yet for this library.
To enable the print-site plugin, add it to the `plugins` section of your `mkdocs.yml` file. After building your site (`mkdocs build`), a new 'print-site' page will be generated at the root of your site, typically accessible at `/print_page/` or `your-site.com/print_page/`.
Upgrade `mkdocs-print-site-plugin` to v2.3.6 or newer. Ensure your MkDocs version is compatible with the plugin's requirements.
Upgrade `mkdocs-print-site-plugin` to v2.5.0 or newer, which adds support for pages with missing H1 tags. Alternatively, ensure all pages have at least one H1 heading.
If encountering issues with other plugins, try adjusting the order of `print-site` in your `mkdocs.yml` `plugins` list. Place `print-site` later in the list if it needs to process output from other plugins.
Upgrade `mkdocs-print-site-plugin` to v2.7.1 or newer to ensure correct folder exclusion behavior.
Run `pip install mkdocs-print-site-plugin` to install the package and ensure `print-site` is correctly listed under the `plugins:` section in your `mkdocs.yml`.
Ensure `print-site` is an item in a YAML list under `plugins:`, for example: ```yaml plugins: - print-site ```
Upgrade `mkdocs-print-site-plugin` to v2.5.0 or newer. Alternatively, ensure all documentation pages have at least one H1 heading.
Review your `mkdocs.yml` and remove any duplicate entries for `print-site` from the `plugins` list.