mkdocs-material/docs/schema/plugins.json

81 lines
1.9 KiB
JSON
Raw Normal View History

2022-01-29 18:12:25 +03:00
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Plugins",
"markdownDescription": "https://www.mkdocs.org/dev-guide/plugins/",
"type": "array",
"items": {
"oneOf": [
{
2022-03-06 13:45:09 +03:00
"$ref": "#/definitions/built-in"
},
{
2022-03-06 13:45:09 +03:00
"$ref": "#/definitions/external"
},
{
2022-03-06 13:45:09 +03:00
"$ref": "#/definitions/external-community"
2022-01-29 18:12:25 +03:00
}
]
},
"uniqueItems": true,
2022-03-06 13:45:09 +03:00
"minItems": 1,
"definitions": {
"built-in": {
"description": "Built-in plugins",
"oneOf": [
{
"$ref": "plugins/offline.json"
},
{
"$ref": "plugins/privacy.json"
},
{
"$ref": "plugins/search.json"
},
{
"$ref": "plugins/social.json"
},
{
"$ref": "plugins/tags.json"
}
]
},
"external": {
"description": "External plugins, schema provided by us",
"oneOf": [
2022-06-24 15:38:01 +03:00
{
"$ref": "plugins/external/git-authors.json"
},
{
"$ref": "plugins/external/git-committers.json"
},
2022-03-06 13:45:09 +03:00
{
"$ref": "plugins/external/git-revision-date.json"
},
{
"$ref": "plugins/external/git-revision-date-localized.json"
},
{
"$ref": "plugins/external/minify.json"
},
{
"$ref": "plugins/external/redirects.json"
}
]
},
"external-community": {
"description": "External plugins, schema provided by the community",
"oneOf": [
{
"$ref": "https://raw.githubusercontent.com/mondeja/mkdocs-include-markdown-plugin/master/schema.json"
},
{
"$ref": "https://raw.githubusercontent.com/mondeja/mkdocs-material-relative-language-selector/master/schema.json"
},
{
"$ref": "https://raw.githubusercontent.com/Guts/mkdocs-rss-plugin/main/docs/schema.json"
2022-03-06 13:45:09 +03:00
}
]
}
}
2022-01-29 18:12:25 +03:00
}