Add JSON schema for external plugin - "mkdocs-awesome-nav".
This commit is contained in:
parent
b2d235eb65
commit
4e0b85f11e
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "Custom advanced navigation config for MkDocs using extra YAML files.",
|
||||
"oneOf": [
|
||||
{
|
||||
"markdownDescription": "https://github.com/lukasgeiter/mkdocs-awesome-nav",
|
||||
"const": "awesome-nav"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"awesome-nav": {
|
||||
"type": "object",
|
||||
"markdownDescription": "https://lukasgeiter.github.io/mkdocs-awesome-nav",
|
||||
"properties": {
|
||||
"filename": {
|
||||
"title": "The YAML file that defines the navigation",
|
||||
"markdownDescription": "https://lukasgeiter.github.io/mkdocs-awesome-nav",
|
||||
"type": "string",
|
||||
"default": ".nav.yml"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue