Added: complete test framework, using pytest and Mkdocs-Test (#244)
A number of automated test cases are implemented.
Changed: move from setup.py to pyproject.toml (#250)
1.2.0, 2024-09-15
Added: three hooks register_variables/macros/filters to facilitate
cooperation with other MkDocs plugins.
Fixed: `define_env() was always required in module (#191)
Added: trace the case when no module is found (INFO)
Improved documentation, particularly about HTML pages
Added: parameters j2_comment_start_string and
j2_comment_end_string to plugin's parameters,
to specify alternate markers for comments.
Added the multiline parameter force_render_paths in the config file,
to specify directories or file patterns to be rendered for the case when render_by_default = false
(the render_macros parameter in the YAML header of the page
has the last word).
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, 2023-07-02
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, 2023-05-25
1.0.0-alpha, 2023-04-23
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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on mkdocs-macros-plugin to permit the latest version.
Changelog
Sourced from mkdocs-macros-plugin's changelog.
... (truncated)
Commits
3a73707
Migrate to pyproject.toml99733be
Demote info messages as debug (#248)6a9a0e4
Bump version number, for distribution (should solve #247)32cd528
Test the hooks for external registration (#237)16be58d
Migrate all tests toward the mkdocs-test framework (#244)59f82db
Replacing local implementation of SuperDict by super-collections version38b9681
Merge branch 'master' of github.com:fralau/mkdocs_macros_plugin into mastereebbbd1
Merge pull request #246 from dwreeves/add-pathspec-as-dependency6d99822
Addpathspec
as dependency69577e1
Separate standard DocProject and MarkdownPage classesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show