|
21 | 21 | "type": "boolean",
|
22 | 22 | "default": true
|
23 | 23 | },
|
24 |
| - "cache": { |
25 |
| - "title": "Enable caching of downloads", |
26 |
| - "type": "boolean", |
27 |
| - "default": true |
28 |
| - }, |
29 |
| - "cache_dir": { |
30 |
| - "title": "Cache directory", |
31 |
| - "type": "string", |
32 |
| - "default": ".cache/plugin/privacy" |
| 24 | + "concurrency": { |
| 25 | + "title": "Concurrency (number of CPUs)", |
| 26 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.concurrency", |
| 27 | + "type": "number", |
| 28 | + "default": 1 |
33 | 29 | },
|
34 | 30 | "external_assets": {
|
35 | 31 | "title": "External assets",
|
36 | 32 | "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets",
|
37 | 33 | "oneOf": [
|
38 | 34 | {
|
39 | 35 | "title": "Bundle external assets",
|
40 |
| - "enum": [ |
41 |
| - "bundle" |
42 |
| - ] |
| 36 | + "enum": ["bundle"] |
43 | 37 | },
|
44 | 38 | {
|
45 | 39 | "title": "Report external assets as warnings",
|
46 |
| - "enum": [ |
47 |
| - "report" |
48 |
| - ] |
| 40 | + "enum": ["report"] |
49 | 41 | }
|
50 | 42 | ],
|
51 | 43 | "default": "bundle"
|
|
56 | 48 | "type": "string",
|
57 | 49 | "default": "assets/external"
|
58 | 50 | },
|
| 51 | + "external_assets_include": { |
| 52 | + "title": "External assets to include", |
| 53 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_include", |
| 54 | + "type": "array", |
| 55 | + "items": { |
| 56 | + "title": "External assets matching this pattern will be downloaded", |
| 57 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_include", |
| 58 | + "pattern": ".*" |
| 59 | + }, |
| 60 | + "uniqueItems": true, |
| 61 | + "minItems": 1 |
| 62 | + }, |
59 | 63 | "external_assets_exclude": {
|
60 |
| - "title": "External assets to be excluded", |
| 64 | + "title": "External assets to exclude", |
61 | 65 | "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_exclude",
|
62 | 66 | "type": "array",
|
63 | 67 | "items": {
|
64 |
| - "title": "External assets matching this pattern will not be bundled", |
| 68 | + "title": "External assets matching this pattern will not be downloaded", |
65 | 69 | "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_exclude",
|
66 | 70 | "pattern": ".*"
|
67 | 71 | },
|
|
0 commit comments