Improved JSON schema

This commit is contained in:
squidfunk 2022-01-30 15:52:28 +01:00
parent bde34563de
commit cb9f6615d2

View File

@ -515,13 +515,6 @@
}, },
{ {
"oneOf": [ "oneOf": [
{
"title": "Snippets Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#snippets",
"enum": [
"pymdownx.snippets"
]
},
{ {
"type": "object", "type": "object",
"properties": { "properties": {
@ -543,12 +536,24 @@
}, },
"uniqueItems": true, "uniqueItems": true,
"minItems": 1 "minItems": 1
},
"check_paths": {
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/snippets/#options",
"type": "boolean",
"default": true
} }
}, },
"additionalProperties": false "additionalProperties": false
} }
}, },
"additionalProperties": false "additionalProperties": false
},
{
"title": "Snippets Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#snippets",
"enum": [
"pymdownx.snippets"
]
} }
] ]
}, },