mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added privacy plugin to JSON schema
This commit is contained in:
parent
b14a5233e7
commit
de81a90794
@ -14,6 +14,9 @@
|
||||
{
|
||||
"$ref": "plugins/minify.json"
|
||||
},
|
||||
{
|
||||
"$ref": "plugins/privacy.json"
|
||||
},
|
||||
{
|
||||
"$ref": "plugins/redirects.json"
|
||||
},
|
||||
|
37
docs/schema/plugins/privacy.json
Normal file
37
docs/schema/plugins/privacy.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft-07/schema",
|
||||
"title": "Built-in privacy plugin",
|
||||
"oneOf": [
|
||||
{
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/",
|
||||
"enum": [
|
||||
"privacy"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"privacy": {
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"download": {
|
||||
"title": "Download of external assets",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#download",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"download_directory": {
|
||||
"title": "Download directory for external assets",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#download_directory",
|
||||
"type": "string",
|
||||
"default": "assets/externals"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
@ -18,7 +18,8 @@
|
||||
"cards": {
|
||||
"title": "Social card generation",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#cards",
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"cards_color": {
|
||||
"title": "Social card color palette",
|
||||
|
Loading…
Reference in New Issue
Block a user