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
82 stars 9 forks source link

Feature: Process Inter-page hyperlinks to PDF destinations when aggregating pages. #52

Open nbanyan opened 1 week ago

nbanyan commented 1 week ago

Currently, when using aggregation hyperlinks between pages link back to the served website (or are render as disabled links if using mkdocs build).

Likely this would involve modifying the aggregator to:

Doing this will make the aggregated PDF a more unified product rather than a collection of related but independent artifacts. It will also make generating a aggregated Table of Contents practical (it might even be possible to add page numbers to the Table of Contents if the aggregator generates it alongside the PDFWriter).