2022-02-21 14:03:36 +03:00
|
|
|
{
|
|
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
|
|
"title": "Built-in privacy plugin",
|
|
|
|
"oneOf": [
|
|
|
|
{
|
2022-07-17 17:36:42 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#built-in-privacy-plugin",
|
2022-02-21 14:03:36 +03:00
|
|
|
"enum": [
|
|
|
|
"privacy"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"privacy": {
|
2022-07-17 17:36:42 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#built-in-privacy-plugin",
|
2022-02-21 14:03:36 +03:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-02-27 15:12:42 +03:00
|
|
|
"enabled": {
|
|
|
|
"title": "Enable plugin",
|
2022-09-11 20:25:40 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.enabled",
|
2022-02-21 14:03:36 +03:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
2023-02-06 19:00:02 +03:00
|
|
|
"concurrency": {
|
|
|
|
"title": "Concurrency (number of CPUs)",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.concurrency",
|
|
|
|
"type": "number",
|
|
|
|
"default": 1
|
2022-10-03 21:07:28 +03:00
|
|
|
},
|
2022-10-18 10:23:32 +03:00
|
|
|
"external_assets": {
|
2022-02-27 15:12:42 +03:00
|
|
|
"title": "External assets",
|
2022-10-18 10:23:32 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets",
|
2022-02-27 15:12:42 +03:00
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"title": "Bundle external assets",
|
2023-02-06 19:00:02 +03:00
|
|
|
"enum": ["bundle"]
|
2022-02-27 15:12:42 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"title": "Report external assets as warnings",
|
2023-02-06 19:00:02 +03:00
|
|
|
"enum": ["report"]
|
2022-02-27 15:12:42 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"default": "bundle"
|
|
|
|
},
|
2022-10-18 10:23:32 +03:00
|
|
|
"external_assets_dir": {
|
2022-02-27 15:12:42 +03:00
|
|
|
"title": "External assets download directory",
|
2022-10-18 10:23:32 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_dir",
|
2022-02-21 14:03:36 +03:00
|
|
|
"type": "string",
|
2022-10-18 10:23:32 +03:00
|
|
|
"default": "assets/external"
|
2022-03-05 15:52:56 +03:00
|
|
|
},
|
2023-02-06 19:00:02 +03:00
|
|
|
"external_assets_include": {
|
|
|
|
"title": "External assets to include",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_include",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"title": "External assets matching this pattern will be downloaded",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_include",
|
|
|
|
"pattern": ".*"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"minItems": 1
|
|
|
|
},
|
2022-10-18 10:23:32 +03:00
|
|
|
"external_assets_exclude": {
|
2023-02-06 19:00:02 +03:00
|
|
|
"title": "External assets to exclude",
|
2022-10-18 10:23:32 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_exclude",
|
2022-03-05 15:52:56 +03:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2023-02-06 19:00:02 +03:00
|
|
|
"title": "External assets matching this pattern will not be downloaded",
|
2022-10-18 10:23:32 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_exclude",
|
2022-03-05 15:52:56 +03:00
|
|
|
"pattern": ".*"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"minItems": 1
|
2022-10-18 10:23:32 +03:00
|
|
|
},
|
|
|
|
"external_links": {
|
|
|
|
"title": "External links",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_links",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"external_links_attr_map": {
|
|
|
|
"title": "Custom attributes to add to external links",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_links_attr_map",
|
|
|
|
"type": "object",
|
|
|
|
"patternProperties": {
|
|
|
|
"^[\\w_]+$": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"external_links_noopener": {
|
|
|
|
"title": "Behavior for external links that open in new windows",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_links_noopener",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2022-02-21 14:03:36 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|