mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Updated JSON schema
This commit is contained in:
parent
915a358d54
commit
78e7e8f3fe
@ -14,6 +14,9 @@
|
|||||||
{
|
{
|
||||||
"$ref": "plugins/minify.json"
|
"$ref": "plugins/minify.json"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "plugins/offline.json"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "plugins/privacy.json"
|
"$ref": "plugins/privacy.json"
|
||||||
},
|
},
|
||||||
|
31
docs/schema/plugins/offline.json
Normal file
31
docs/schema/plugins/offline.json
Normal 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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user