Add JSON schema for external plugin - "mkdocs-awesome-nav".

This commit is contained in:
Batkhuu Byambajav 2025-07-18 15:41:52 +09:00
parent b2d235eb65
commit 4e0b85f11e
No known key found for this signature in database
1 changed files with 29 additions and 0 deletions

View File

@ -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
}
]
}