Updated JSON schema

This commit is contained in:
squidfunk 2022-02-27 13:12:42 +01:00
parent 3e46693092
commit 65d68de238

View File

@ -15,15 +15,34 @@
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/",
"type": "object", "type": "object",
"properties": { "properties": {
"download": { "enabled": {
"title": "Download of external assets", "title": "Enable plugin",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#download", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#enabled",
"type": "boolean", "type": "boolean",
"default": true "default": true
}, },
"download_directory": { "externals": {
"title": "Download directory for external assets", "title": "External assets",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#download_directory", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#externals",
"oneOf": [
{
"title": "Bundle external assets",
"enum": [
"bundle"
]
},
{
"title": "Report external assets as warnings",
"enum": [
"report"
]
}
],
"default": "bundle"
},
"externals_directory": {
"title": "External assets download directory",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#externals-directory",
"type": "string", "type": "string",
"default": "assets/externals" "default": "assets/externals"
} }