Skip to content

Commit 412c55c

Browse files
committed
Add mkdocs-macros plugin
This plugin allow us to avoid repetition by defining variables that can be used throughout the documentation or even functions to automate certain things. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 75e80de commit 412c55c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ plugins:
8888
- docs/mkdocstrings_autoapi.py
8989
- literate-nav:
9090
nav_file: SUMMARY.md
91+
- macros:
92+
on_undefined: strict
93+
on_error_fail: true
9194
- mike:
9295
canonical_version: latest
9396
- mkdocstrings:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ dev-mkdocs = [
6262
"mike == 1.1.2",
6363
"mkdocs-gen-files == 0.5.0",
6464
"mkdocs-literate-nav == 0.6.1",
65+
"mkdocs-macros-plugin == 1.0.4",
6566
"mkdocs-material == 9.3.1",
6667
"mkdocs-section-index == 0.3.7",
6768
"mkdocstrings[python] == 0.23.0",

0 commit comments

Comments
 (0)