From 726e7632bfc6bb88509417847722b53e67e65b36 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 18 Dec 2022 17:58:11 +0100 Subject: [PATCH] Updated schema --- docs/schema/plugins.json | 3 +++ docs/schema/plugins/info.json | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 docs/schema/plugins/info.json diff --git a/docs/schema/plugins.json b/docs/schema/plugins.json index e1066d3fa..45f5ccfb5 100644 --- a/docs/schema/plugins.json +++ b/docs/schema/plugins.json @@ -25,6 +25,9 @@ { "$ref": "plugins/blog.json" }, + { + "$ref": "plugins/info.json" + }, { "$ref": "plugins/meta.json" }, diff --git a/docs/schema/plugins/info.json b/docs/schema/plugins/info.json new file mode 100644 index 000000000..de4b18f5f --- /dev/null +++ b/docs/schema/plugins/info.json @@ -0,0 +1,31 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema", + "title": "Built-in info plugin", + "oneOf": [ + { + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/reporting-an-issue/#built-in-info-plugin", + "enum": [ + "info" + ] + }, + { + "type": "object", + "properties": { + "info": { + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/reporting-an-issue/#built-in-info-plugin", + "type": "object", + "properties": { + "enabled": { + "title": "Enable plugin", + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/reporting-an-issue/#+info.enabled", + "type": "boolean", + "default": true + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] +}