mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added default variants for plugins to schema
This commit is contained in:
parent
6d99740536
commit
65501ffc93
12
docs/schema/plugins/external/literate-nav.json
vendored
12
docs/schema/plugins/external/literate-nav.json
vendored
@ -1,6 +1,14 @@
|
|||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-07/schema",
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||||||
"title": "Literate nav plugin",
|
"title": "Literate navigation plugin",
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"markdownDescription": "https://github.com/oprypin/mkdocs-literate-nav",
|
||||||
|
"enum": [
|
||||||
|
"literate-nav"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"literate-nav": {
|
"literate-nav": {
|
||||||
@ -24,4 +32,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
14
docs/schema/plugins/external/macros.json
vendored
14
docs/schema/plugins/external/macros.json
vendored
@ -1,6 +1,14 @@
|
|||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-07/schema",
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||||||
"title": "Macros plugin",
|
"title": "Macros plugin",
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"markdownDescription": "https://github.com/oprypin/mkdocs-literate-nav",
|
||||||
|
"enum": [
|
||||||
|
"literate-nav"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"macros": {
|
"macros": {
|
||||||
@ -8,13 +16,13 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"module_name": {
|
"module_name": {
|
||||||
"title": "Name of the Python module containing macros, filters and variables.",
|
"title": "Name of the Python module containing macros, filters and variables",
|
||||||
"markdownDescription": "https://mkdocs-macros-plugin.readthedocs.io/en/latest/#configuration-of-the-plugin",
|
"markdownDescription": "https://mkdocs-macros-plugin.readthedocs.io/en/latest/#configuration-of-the-plugin",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "main"
|
"default": "main"
|
||||||
},
|
},
|
||||||
"modules": {
|
"modules": {
|
||||||
"title": "List of preinstalled Python modules, i.e. listed by `pip list`.",
|
"title": "List of preinstalled Python modules, i.e. listed by `pip list`",
|
||||||
"markdownDescription": "https://mkdocs-macros-plugin.readthedocs.io/en/latest/#configuration-of-the-plugin",
|
"markdownDescription": "https://mkdocs-macros-plugin.readthedocs.io/en/latest/#configuration-of-the-plugin",
|
||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
@ -59,4 +67,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user