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 + } + ] +}