Updated JSON schema

This commit is contained in:
squidfunk 2022-02-27 15:15:02 +01:00
parent 915a358d54
commit 78e7e8f3fe
2 changed files with 34 additions and 0 deletions

View File

@ -14,6 +14,9 @@
{
"$ref": "plugins/minify.json"
},
{
"$ref": "plugins/offline.json"
},
{
"$ref": "plugins/privacy.json"
},

View File

@ -0,0 +1,31 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Built-in offline plugin",
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/",
"enum": [
"offline"
]
},
{
"type": "object",
"properties": {
"offline": {
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/",
"type": "object",
"properties": {
"enabled": {
"title": "Enable plugin",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/#enabled",
"type": "boolean",
"default": true
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}