mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Add 'on_error_fail' to macros schema
But it supports '!env' but I don't know how to support it on schema
This commit is contained in:
parent
0753df10e9
commit
ae511115fc
6
docs/schema/plugins/external/macros.json
vendored
6
docs/schema/plugins/external/macros.json
vendored
@ -47,6 +47,12 @@
|
|||||||
"title": "Non-standard Jinja2 marker for end of variable",
|
"title": "Non-standard Jinja2 marker for end of variable",
|
||||||
"markdownDescription": "https://mkdocs-macros-plugin.readthedocs.io/en/latest/advanced/#solution-4-altering-the-syntax-of-jinja2-for-mkdocs-macros",
|
"markdownDescription": "https://mkdocs-macros-plugin.readthedocs.io/en/latest/advanced/#solution-4-altering-the-syntax-of-jinja2-for-mkdocs-macros",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"on_error_fail": {
|
||||||
|
"title": "Stop build/serve when macro error happens",
|
||||||
|
"markdownDescription": "https://mkdocs-macros-plugin.readthedocs.io/en/latest/advanced/#can-i-make-mkdocs-macros-build-process-to-fail-in-case-of-error-instead-of-displaying-the-error-on-the-page",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
Loading…
Reference in New Issue
Block a user