1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-01 02:27:17 +01:00
mkdocs-material/docs/schema/plugins.json
2022-03-06 11:45:09 +01:00

78 lines
1.8 KiB
JSON

{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Plugins",
"markdownDescription": "https://www.mkdocs.org/dev-guide/plugins/",
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/built-in"
},
{
"$ref": "#/definitions/external"
},
{
"$ref": "#/definitions/external-community"
}
]
},
"uniqueItems": true,
"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": [
{
"$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://mondeja.github.io/mkdocs-mdpo-plugin/schema.json"
},
{
"$ref": "https://raw.githubusercontent.com/mondeja/mkdocs-material-relative-language-selector/master/schema.json"
},
{
"$ref": "https://guts.github.io/mkdocs-rss-plugin/schema.json"
}
]
}
}
}