Mkdocs-macros-plugin

Latest version: v1.0.5

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.5.11

* Added: Info on pluglets, on GitHub index page.
* Added: Contributing and Help pages, in documentation

0.5.10

Warning: Breaking Change

* Fixed: impossibility to use imported Jinja2 macros, without `with context`
clause (81). Now macros are imported as global.
* **Removed: Do not define macros as variables any longer, but as macros.**
- incorrect: `env.variables['foo'] = foo` (though it should still work)
- correct: prefix declaration with `env.macros`
or `env.macros['foo'] = foo`
* Added: Changelog is also part of documentation
* Added: Documentation moved under Material them, slate variant (dark)
* Added: Amended documentation (test install, discussions)

0.5.9

* Added: Changelog (Fixed 82)

0.5.8

* Fixed: display better message in case of macro syntax error
(line_no, message, incriminated line in file).
Traceback was useless with that specific exception, and has been removed.

0.5.7

* Added: Possibility (for large projects) to exclude a markdown page
from macro rendering, with `ignore_macros: true` in YAML header
(fixed issue 78, and answered discussion 79)

0.5.6

* Added: Files object to the mkdocs-macros environment (fixed 80)
* Fixed: Documentation errors or omissions
* Fixed: Do not install pluglet mkdocs-macros-test by default (50)
In order to do testing,
type: `pip install 'mkdocs-macros-plugin[test]'`

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.