mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
38 lines
1022 B
JSON
38 lines
1022 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
"title": "Redirects plugin",
|
|
"description": "Configuration syntax",
|
|
"type": "object",
|
|
"properties": {
|
|
"redirects": {
|
|
"markdownDescription": "https://github.com/datarobot/mkdocs-redirects",
|
|
"type": "object",
|
|
"properties": {
|
|
"redirect_maps": {
|
|
"description": "Internal and external redirects",
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"\\.md$": {
|
|
"oneOf": [
|
|
{
|
|
"description": "Internal redirect",
|
|
"type": "string",
|
|
"pattern": "\\.md$"
|
|
},
|
|
{
|
|
"description": "External redirect",
|
|
"type": "string",
|
|
"pattern": "^https?:"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|