1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

Updated JSON schema

This commit is contained in:
squidfunk 2023-07-29 17:58:01 +02:00
parent 7c91d1ba2b
commit af81a9abb5
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
5 changed files with 54 additions and 6 deletions

View File

@ -40,6 +40,9 @@
{
"$ref": "plugins/privacy.json"
},
{
"$ref": "plugins/projects.json"
},
{
"$ref": "plugins/search.json"
},

View File

@ -24,8 +24,7 @@
"concurrency": {
"title": "Concurrency (number of CPUs)",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#+optimize.concurrency",
"type": "number",
"default": 1
"type": "number"
},
"cache": {
"title": "Enable caching",

View File

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

View File

@ -0,0 +1,48 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Built-in projects plugin",
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#built-in-projects-plugin",
"enum": [
"projects"
]
},
{
"type": "object",
"properties": {
"projects": {
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#built-in-projects-plugin",
"type": "object",
"properties": {
"enabled": {
"title": "Enable plugin",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#+projects.enabled",
"type": "boolean",
"default": true
},
"concurrency": {
"title": "Concurrency (number of CPUs)",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#+projects.concurrency",
"type": "number"
},
"projects": {
"title": "Enable projects",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#+projects.projects",
"type": "boolean",
"default": true
},
"projects_dir": {
"title": "Projects directory",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#+projects.projects_dir",
"type": "string",
"default": "projects"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}

View File

@ -24,8 +24,7 @@
"concurrency": {
"title": "Concurrency (number of CPUs)",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.concurrency",
"type": "number",
"default": 1
"type": "number"
},
"cards": {
"title": "Social cards",