Skip to content

Commit 65d68de

Browse files
committed
Updated JSON schema
1 parent 3e46693 commit 65d68de

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

docs/schema/plugins/privacy.json

+25-6
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,34 @@
1515
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/",
1616
"type": "object",
1717
"properties": {
18-
"download": {
19-
"title": "Download of external assets",
20-
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#download",
18+
"enabled": {
19+
"title": "Enable plugin",
20+
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#enabled",
2121
"type": "boolean",
2222
"default": true
2323
},
24-
"download_directory": {
25-
"title": "Download directory for external assets",
26-
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#download_directory",
24+
"externals": {
25+
"title": "External assets",
26+
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#externals",
27+
"oneOf": [
28+
{
29+
"title": "Bundle external assets",
30+
"enum": [
31+
"bundle"
32+
]
33+
},
34+
{
35+
"title": "Report external assets as warnings",
36+
"enum": [
37+
"report"
38+
]
39+
}
40+
],
41+
"default": "bundle"
42+
},
43+
"externals_directory": {
44+
"title": "External assets download directory",
45+
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#externals-directory",
2746
"type": "string",
2847
"default": "assets/externals"
2948
}

0 commit comments

Comments
 (0)