mkdocs-enumerate-headings-plugin

MkDocs Plugin to enumerate the headings across site pages

MIT License

Downloads
21K
Stars
40
Committers
5
mkdocs-enumerate-headings-plugin - enumerate-headings v0.6.2 Latest Release

Published by timvink 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/timvink/mkdocs-enumerate-headings-plugin/compare/v0.6.1...v0.6.2

mkdocs-enumerate-headings-plugin - enumerate-headings v0.6.1

Published by timvink over 1 year ago

mkdocs-enumerate-headings-plugin - enumerate-headings v0.6

Published by timvink over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/timvink/mkdocs-enumerate-headings-plugin/compare/v0.5...v0.6.0

mkdocs-enumerate-headings-plugin - enumerate-headings v0.5

Published by timvink almost 3 years ago

Added

  • Option increment_across_pages to allow for single page enumeration (#29)
  • Option exclude to exclude certain pages (#28)

Changed

  • Dropped explicit support for python 3.5 and 3.6 (although plugin will still work), added support for 3.9 and 3.10
mkdocs-enumerate-headings-plugin - enumerate-headings v0.4.5

Published by timvink about 3 years ago

Fixed

  • .enumerate-headings-plugin CSS class now works correctly. .enumerate-heading-plugin CSS class also works for backwards compatibility. (#24)
mkdocs-enumerate-headings-plugin - enumerate-headings v0.4.4

Published by timvink over 3 years ago

Changed

  • Now error is raised when enumerate-headings plugin is defined in mkdocs.yml before other plugins that alter pages. (#25 #26)
mkdocs-enumerate-headings-plugin - enumerate-headings v0.4.3

Published by timvink about 4 years ago

Fixes

  • Bug where permalinks would be enumerated #23
mkdocs-enumerate-headings-plugin - enumerate-headings v0.4.2

Published by timvink about 4 years ago

Changed

  • Removed hack where enumerate-headings would always be executed as the last plugin. This ensures compatibility with plugins like mkdocs-print-site-plugin that need to be executed even later. Instead, plugin now warns users if plugin order is incorrect.
mkdocs-enumerate-headings-plugin - enumerate-headings v0.4.1

Published by timvink over 4 years ago

Fixed

  • Ignore enumeration of .ipynb files, prevents distorting output of mknotebooks plugin #21

Other

  • Dropped unit tests for compatibility with mkdocs-monorepo-plugin of which latest v0.4.9 release is broken #22
mkdocs-enumerate-headings-plugin - enumerate-headings v0.4

Published by timvink over 4 years ago

Bug-fix release. Thanks to @crivetimihai for finding & reporting these issues!

Fixed

  • Error and/or incorrect enumeration when using mkdocs-material with empty pages or pages without heading 1's #18
mkdocs-enumerate-headings-plugin - enumerate-headings v0.3

Published by timvink over 4 years ago

Added

  • Add option to additionally enumerate table of contents as well (#16)
mkdocs-enumerate-headings-plugin - enumerate-headings v0.2

Published by timvink over 4 years ago

Big refactoring, as the plugin will now process the rendered HTML instead of changing the markdown

Changed

  • Table of contents are not not enumerated, which looks cleaner especially with many subheadings. (#13)

Fixed

  • Anchorlinks within a page now work correctly
  • Error occurred when a heading missed a space (f.e. #heading). Correct behaviour is to ignore (#11)
  • Setext-style headings are now supported (#11)
mkdocs-enumerate-headings-plugin - enumerate-headings v0.1

Published by timvink over 4 years ago

Initial release 🎉