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:
parent
7c91d1ba2b
commit
af81a9abb5
@ -40,6 +40,9 @@
|
||||
{
|
||||
"$ref": "plugins/privacy.json"
|
||||
},
|
||||
{
|
||||
"$ref": "plugins/projects.json"
|
||||
},
|
||||
{
|
||||
"$ref": "plugins/search.json"
|
||||
},
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
48
docs/schema/plugins/projects.json
Normal file
48
docs/schema/plugins/projects.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user