mkdocs-material/docs/schema/plugins/privacy.json

69 lines
2.4 KiB
JSON
Raw Normal View History

2022-02-21 14:03:36 +03:00
{
"$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": {
2022-02-27 15:12:42 +03:00
"enabled": {
"title": "Enable plugin",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#enabled",
2022-02-21 14:03:36 +03:00
"type": "boolean",
"default": true
},
2022-02-27 15:12:42 +03:00
"externals": {
"title": "External assets",
"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"
},
2022-06-19 09:17:14 +03:00
"externals_dir": {
2022-02-27 15:12:42 +03:00
"title": "External assets download directory",
2022-06-19 09:17:14 +03:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#externals-dir",
2022-02-21 14:03:36 +03:00
"type": "string",
"default": "assets/externals"
2022-03-05 15:52:56 +03:00
},
"externals_exclude": {
"title": "External assets to be excluded",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#externals-exclude",
"type": "array",
"items": {
"title": "External assets matching this pattern will not be bundled",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#externals-exclude",
"pattern": ".*"
},
"uniqueItems": true,
"minItems": 1
2022-02-21 14:03:36 +03:00
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}