1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-18 10:25:58 +01:00
mkdocs-material/docs/schema/plugins.json

78 lines
1.8 KiB
JSON
Raw Normal View History

2022-01-29 16:12:25 +01: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 11:45:09 +01:00
"$ref": "#/definitions/built-in"
},
{
2022-03-06 11:45:09 +01:00
"$ref": "#/definitions/external"
},
{
2022-03-06 11:45:09 +01:00
"$ref": "#/definitions/external-community"
2022-01-29 16:12:25 +01:00
}
]
},
"uniqueItems": true,
2022-03-06 11:45:09 +01: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": [
{
"$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"
}
]
}
}
2022-01-29 16:12:25 +01:00
}