From 65d68de2380b6b151d978acf68af1300248d6c91 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 27 Feb 2022 13:12:42 +0100 Subject: [PATCH] Updated JSON schema --- docs/schema/plugins/privacy.json | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/docs/schema/plugins/privacy.json b/docs/schema/plugins/privacy.json index 98929317f..048bf37e6 100644 --- a/docs/schema/plugins/privacy.json +++ b/docs/schema/plugins/privacy.json @@ -15,15 +15,34 @@ "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/", "type": "object", "properties": { - "download": { - "title": "Download of external assets", - "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#download", + "enabled": { + "title": "Enable plugin", + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#enabled", "type": "boolean", "default": true }, - "download_directory": { - "title": "Download directory for external assets", - "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#download_directory", + "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" + }, + "externals_directory": { + "title": "External assets download directory", + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#externals-directory", "type": "string", "default": "assets/externals" }