adrienbrignon / mkdocs-exporter

⚡ The fastest and most configurable plugin for MkDocs, allowing seamless export of individual pages and/or entire documentation as PDF documents.
https://adrienbrignon.github.io/mkdocs-exporter/
MIT License
81 stars 8 forks source link

fix(pdf/aggregator): avoid 'limits' cover skips with only one page #35

Closed AdrianDC closed 2 months ago

AdrianDC commented 2 months ago

If covers: limits is used, but one of the website using this configuration only has one enabled page,
the back cover is missing in the resulting PDF documentation.

Example :

# Pages plugins
plugins:
  - ...
  - exporter:
      formats:
        pdf:
          ...
          aggregator:
            ...
            covers: limits
adrienbrignon commented 2 months ago

Thank you for your contribution!