print-site-plugin v2.0.0
Major new release of print-site
with many bug fixes, improved exporting to standaline HTML and PDF, improved styling and updated documentation. This release does include a number of breaking changes. For a demo, see the print page of the documentation.
Breaking changes
add_to_navigation
now defaults tofalse
instead oftrue
(4fd5a39)add_print_site_banner
now defaults tofalse
instead oftrue
(5f121e9)toc_depth
now defaults to3
instead of6
(eb2fdc2)enumerate_headings
now defaults totrue
instead offalse
(9f204b8)enumerate_figures
now defaults totrue
instead offalse
(9f204b8)
Changed
- HTML print page now does not have the navigation sidebar or top navigation tabs (29660f2)
- The inline table of contents will now only be displayed on the print version of the print page. The HTML version has a new sidebar ToC. (436fbad)
- Improved styling of the cover page (b49b29b)
- The cover page is now also displayed on the HTML version of the print page (967d683)
- Prettier highlight animation when using sidebar ToC on print page to navigate around (967d683)
Added
- New table of contents sidebar for the HTML version of the print page, showing the page titles and with support for sections.
- Documentation on how to automate exporting to standalone HTML and PDF formats
Fixed
- Bug where setting
add_print_site_banner
would lead to 'no such file found' error (4e3a235) - Using navigation in the print page would lead to headings being hidden under the navbar (in mkdocs-material) (c8fad64)
- Bug where tab content would not display when a page contained multiple tabsets. (#53)
- Bug where we would validate pages on having level 1 headings, that were not part of the navigation (25bc443)
- Bug where section headings were closed with an incorrect tag (bcce1f2)