Updated JSON schema

This commit is contained in:
squidfunk 2023-02-06 17:14:19 +01:00
parent dd25ff4ad6
commit 989e742b59
2 changed files with 5 additions and 6 deletions

View File

@ -4,7 +4,7 @@
"markdownDescription": "https://www.mkdocs.org/dev-guide/plugins/", "markdownDescription": "https://www.mkdocs.org/dev-guide/plugins/",
"type": "array", "type": "array",
"items": { "items": {
"oneOf": [ "anyOf": [
{ {
"$ref": "#/definitions/built-in" "$ref": "#/definitions/built-in"
}, },
@ -21,7 +21,7 @@
"definitions": { "definitions": {
"built-in": { "built-in": {
"description": "Built-in plugins", "description": "Built-in plugins",
"oneOf": [ "anyOf": [
{ {
"$ref": "plugins/blog.json" "$ref": "plugins/blog.json"
}, },
@ -50,7 +50,7 @@
}, },
"external": { "external": {
"description": "External plugins, schema provided by us", "description": "External plugins, schema provided by us",
"oneOf": [ "anyOf": [
{ {
"$ref": "plugins/external/gen-files.json" "$ref": "plugins/external/gen-files.json"
}, },
@ -82,7 +82,7 @@
}, },
"external-community": { "external-community": {
"description": "External plugins, schema provided by the community", "description": "External plugins, schema provided by the community",
"oneOf": [ "anyOf": [
{ {
"$ref": "https://raw.githubusercontent.com/mondeja/mkdocs-include-markdown-plugin/master/schema.json" "$ref": "https://raw.githubusercontent.com/mondeja/mkdocs-include-markdown-plugin/master/schema.json"
}, },

View File

@ -24,8 +24,7 @@
"concurrency": { "concurrency": {
"title": "Concurrency (number of CPUs)", "title": "Concurrency (number of CPUs)",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.concurrency", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.concurrency",
"type": "number", "type": "number"
"default": 1
}, },
"external_assets": { "external_assets": {
"title": "External assets", "title": "External assets",