Skip to content

Commit 989e742

Browse files
committed
Updated JSON schema
1 parent dd25ff4 commit 989e742

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

docs/schema/plugins.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"markdownDescription": "https://www.mkdocs.org/dev-guide/plugins/",
55
"type": "array",
66
"items": {
7-
"oneOf": [
7+
"anyOf": [
88
{
99
"$ref": "#/definitions/built-in"
1010
},
@@ -21,7 +21,7 @@
2121
"definitions": {
2222
"built-in": {
2323
"description": "Built-in plugins",
24-
"oneOf": [
24+
"anyOf": [
2525
{
2626
"$ref": "plugins/blog.json"
2727
},
@@ -50,7 +50,7 @@
5050
},
5151
"external": {
5252
"description": "External plugins, schema provided by us",
53-
"oneOf": [
53+
"anyOf": [
5454
{
5555
"$ref": "plugins/external/gen-files.json"
5656
},
@@ -82,7 +82,7 @@
8282
},
8383
"external-community": {
8484
"description": "External plugins, schema provided by the community",
85-
"oneOf": [
85+
"anyOf": [
8686
{
8787
"$ref": "https://raw.githubusercontent.com/mondeja/mkdocs-include-markdown-plugin/master/schema.json"
8888
},

docs/schema/plugins/privacy.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"concurrency": {
2525
"title": "Concurrency (number of CPUs)",
2626
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.concurrency",
27-
"type": "number",
28-
"default": 1
27+
"type": "number"
2928
},
3029
"external_assets": {
3130
"title": "External assets",

0 commit comments

Comments
 (0)