Mkdocs-macros-plugin

Latest version: v1.0.5

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

Scan your dependencies

Page 1 of 4

1.0.5

* Added: git.short_tag (183)
* Added: Mermaid diagrams in the documentation (Readthedocs)
* Fixed: Changelog was no longer displayed (186)

1.0.4

* Fixed: Warning due to filter issue with mkdocs >= 1.5
* Fixed: Debug html tables (including for `macro_info()`) are
now readable also in dark mode.

1.0.2

* Added: it is now possible to use macros in page titles, in the
nav section of the yaml file, or in the level 1 titles;
the macros are correctly interpreted in the navigation part
of the page.

1.0.1

1.0.0alpha

* Improved user guide, with introduction of two new pages:
"Controlling macro rendering" and "Post production".

* Fixed: (158) In modules, `on_pre_page_macros()`, the `env.markdown`
attribute is now available to create a header or footer.

* Changed: In `on_post_page_macros()` use `env.markdown` instead of
`env.raw_markdown`, for the same purpose.

* Added: (162) Allow opt-in of page rendering, by using parameter
`render_macros: true` in yaml header of the page
(requires `render_by_default:false` in the macro parameters,
in the config file).

* Fixed: `macro_info()` now generates a header of category 2,
so as to be used with other material in the same page,
and not confuse the macro generators.

* Changed: `ignore_macros: true` in page header is deprecated.
Use `render_macros: false` instead.

* Fixed: issues 155 (documentation type), 143 (`git.tab`),
135 (indicate page where rendering failed).

* Bump version to 1.1.0 to acknowledge that API is stable.

0.7.0

* Added: (133) `on_error_fail` in config file to make build/serve process
fail in case of macro error, with return code 100.

* Added: (130) Documentation on the tree structure of a typical
macro directory (package)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.