mkdocs-material/docs/schema/plugins/redirects.json

38 lines
1.1 KiB
JSON
Raw Normal View History

2022-01-29 18:12:25 +03:00
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Redirects plugin",
"type": "object",
"properties": {
"redirects": {
"markdownDescription": "https://github.com/datarobot/mkdocs-redirects",
"type": "object",
"properties": {
"redirect_maps": {
2022-01-29 20:19:42 +03:00
"title": "Mapping of Markdown files",
"markdownDescription": "https://github.com/datarobot/mkdocs-redirects#using",
2022-01-29 18:12:25 +03:00
"type": "object",
"patternProperties": {
"\\.md$": {
"oneOf": [
{
2022-01-29 20:19:42 +03:00
"title": "Internal redirect",
"markdownDescription": "https://github.com/datarobot/mkdocs-redirects#using",
2022-01-29 18:12:25 +03:00
"pattern": "\\.md$"
},
{
2022-01-29 20:19:42 +03:00
"title": "External redirect",
"markdownDescription": "https://github.com/datarobot/mkdocs-redirects#using",
2022-01-29 18:12:25 +03:00
"pattern": "^https?:"
}
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}