Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of mkdocs macros #617

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented Oct 3, 2024

The mkdocs macros plugin also us to add variables in the markdown, including some predefined variables such as those from git metadata.

In this case, the git short tag is used to automatically have the revision tag up-to-date with the latest version in the pre-commit config.

https://github.com/fralau/mkdocs-macros-plugin
https://mkdocs-macros-plugin.readthedocs.io/en/latest/git_info/
https://jimandreas.github.io/mkdocs-material/reference/variables/#using-predefined-variables

The mkdocs macros plugin also us to add variables in the markdown,
including some predefined variables such as those from git metadata.

In this case, the git short tag is used to automatically have the
revision tag up-to-date with the latest version in the pre-commit
config.

https://github.com/fralau/mkdocs-macros-plugin
https://mkdocs-macros-plugin.readthedocs.io/en/latest/git_info/

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
@ericwb ericwb merged commit 55918f0 into securesauce:main Oct 3, 2024
8 checks passed
@ericwb ericwb deleted the mkdocs_macros branch October 3, 2024 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant