2022-02-21 12:03:36 +01:00
|
|
|
{
|
|
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
|
|
"title": "Built-in privacy plugin",
|
|
|
|
"oneOf": [
|
|
|
|
{
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/",
|
2023-11-20 10:59:18 +01:00
|
|
|
"const": "privacy"
|
2022-02-21 12:03:36 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"privacy": {
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/",
|
2022-02-21 12:03:36 +01:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-02-27 13:12:42 +01:00
|
|
|
"enabled": {
|
|
|
|
"title": "Enable plugin",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.enabled",
|
2022-02-21 12:03:36 +01:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
2023-02-06 17:00:02 +01:00
|
|
|
"concurrency": {
|
|
|
|
"title": "Concurrency (number of CPUs)",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.concurrency",
|
2023-07-29 17:58:01 +02:00
|
|
|
"type": "number"
|
2022-10-03 20:07:28 +02:00
|
|
|
},
|
2023-09-15 11:30:01 +02:00
|
|
|
"cache": {
|
|
|
|
"title": "Enable caching",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.cache",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"cache_dir": {
|
|
|
|
"title": "Cache directory",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.cache_dir",
|
|
|
|
"type": "string",
|
|
|
|
"default": ".cache/plugins/privacy"
|
|
|
|
},
|
2024-01-19 03:46:31 +01:00
|
|
|
"log": {
|
|
|
|
"title": "Enable logging",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.log",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"log_level": {
|
|
|
|
"title": "Log level",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.log_level",
|
|
|
|
"enum": [
|
|
|
|
"error",
|
|
|
|
"warn",
|
|
|
|
"info",
|
|
|
|
"debug"
|
|
|
|
],
|
|
|
|
"default": "info"
|
|
|
|
},
|
2023-05-08 18:58:32 +02:00
|
|
|
"assets": {
|
|
|
|
"title": "Process external assets",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets",
|
2023-05-08 18:58:32 +02:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"assets_fetch": {
|
|
|
|
"title": "Download external assets",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets_fetch",
|
2023-05-08 18:58:32 +02:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2022-02-27 13:12:42 +01:00
|
|
|
},
|
2023-05-08 18:58:32 +02:00
|
|
|
"assets_fetch_dir": {
|
|
|
|
"title": "Download external assets to this directory",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets_fetch_dir",
|
2022-02-21 12:03:36 +01:00
|
|
|
"type": "string",
|
2022-10-18 09:23:32 +02:00
|
|
|
"default": "assets/external"
|
2022-03-05 13:52:56 +01:00
|
|
|
},
|
2023-05-08 18:58:32 +02:00
|
|
|
"assets_include": {
|
2023-02-06 17:00:02 +01:00
|
|
|
"title": "External assets to include",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets_include",
|
2023-02-06 17:00:02 +01:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"title": "External assets matching this pattern will be downloaded",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets_include",
|
2023-02-06 17:00:02 +01:00
|
|
|
"pattern": ".*"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"minItems": 1
|
|
|
|
},
|
2023-05-08 18:58:32 +02:00
|
|
|
"assets_exclude": {
|
2023-02-06 17:00:02 +01:00
|
|
|
"title": "External assets to exclude",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets_exclude",
|
2022-03-05 13:52:56 +01:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2023-02-06 17:00:02 +01:00
|
|
|
"title": "External assets matching this pattern will not be downloaded",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets_exclude",
|
2022-03-05 13:52:56 +01:00
|
|
|
"pattern": ".*"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"minItems": 1
|
2022-10-18 09:23:32 +02:00
|
|
|
},
|
2023-05-08 18:58:32 +02:00
|
|
|
"links": {
|
|
|
|
"title": "Process external links",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.links",
|
2022-10-18 09:23:32 +02:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
2023-05-08 18:58:32 +02:00
|
|
|
"links_attr_map": {
|
2022-10-18 09:23:32 +02:00
|
|
|
"title": "Custom attributes to add to external links",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.links_attr_map",
|
2022-10-18 09:23:32 +02:00
|
|
|
"type": "object",
|
|
|
|
"patternProperties": {
|
|
|
|
"^[\\w_]+$": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-08 18:58:32 +02:00
|
|
|
"links_noopener": {
|
2022-10-18 09:23:32 +02:00
|
|
|
"title": "Behavior for external links that open in new windows",
|
2023-09-15 11:30:01 +02:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.links_noopener",
|
2022-10-18 09:23:32 +02:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2022-02-21 12:03:36 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|