Skip to content

Releases: timvink/mkdocs-print-site-plugin

print-site-plugin v2.2

11 Dec 13:27
Compare
Choose a tag to compare

Added

print-site-plugin v2.1

02 Dec 22:46
Compare
Choose a tag to compare

Fixed

  • Bug where the print-site would be broken at random ~20% of the time when using the default mkdocs theme (66946fe)
  • Bug where error "Page does not start with heading level 1" was not raised when invalid pages where inside a navigation section (#59)

print-site-plugin v2.0.3

20 Oct 08:33
Compare
Choose a tag to compare

Added

  • Warning message of incorrect print page when using mkdocs serve --dirtyreload (ad73023)

print-site-plugin v2.0.2

07 Oct 18:05
Compare
Choose a tag to compare

Fixed

  • Bug where crash would occur when using mkdocs serve --dirtyreload (#57)

print-site-plugin v2.0.1

02 Oct 12:41
Compare
Choose a tag to compare

Added

  • Updated docs with reference to mkdocs-with-pdf plugin (32f497d)

Fixed

  • Bug where PDF icon did not work (b94a6f0)
  • Margins in firefox (#56)

print-site-plugin v2.0.0

15 Sep 13:39
3efb18c
Compare
Choose a tag to compare

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 to false instead of true (4fd5a39)
  • add_print_site_banner now defaults to false instead of true (5f121e9)
  • toc_depth now defaults to 3 instead of 6 (eb2fdc2)
  • enumerate_headings now defaults to true instead of false (9f204b8)
  • enumerate_figures now defaults to true instead of false (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)

print-site-plugin v.1.3.0

13 Sep 08:11
Compare
Choose a tag to compare

Added

  • New enabled option to disable the plugin via the configuration, see docs (#40)

Fixed

  • Error is now raised when any page in the website does not start with a heading level 1, when add_table_of_contents: true and/or enumerate_headings: true. This used to silently mess up enumeration and the table of contents. (c4895ce)

print-site-plugin v.1.2.4

07 Sep 12:45
5fecbe5
Compare
Choose a tag to compare

Fixed

  • Table of contents generated too many times when using snippets extension, and/or mkdocs-material's instant loading feature (#49)
  • Table of contents not generated and enumeration messed up due to heading content edge cases (#51)

print-site-plugin v.1.2.3

19 May 18:23
Compare
Choose a tag to compare

Changed

  • Reverts: Raise error when pymdownx.details markdown extension is enabled in combination with mkdocs-material. This has now been fixed in mkdocs-material==7.1.5 (see squidfunk/mkdocs-material#2655)

print-site-plugin v.1.2.2

11 May 14:26
Compare
Choose a tag to compare

Added

  • Raise error when pymdownx.details markdown extension is enabled in combination with mkdocs-material. This currently breaks print (see squidfunk/mkdocs-material#2655)