1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-24 13:24:55 +01:00
mkdocs-material/docs/schema/plugins/search.json

170 lines
3.8 KiB
JSON
Raw Normal View History

2022-01-29 16:12:25 +01:00
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Built-in search plugin",
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/",
"enum": [
"search"
]
},
{
"type": "object",
"properties": {
"search": {
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/",
"type": "object",
"properties": {
"lang": {
"oneOf": [
2022-01-29 18:19:42 +01:00
{
"$ref": "#/definitions/lang"
},
2022-01-29 16:12:25 +01:00
{
"type": "array",
"items": {
"$ref": "#/definitions/lang"
},
"uniqueItems": true,
"minItems": 1
}
2022-01-29 18:19:42 +01:00
],
"default": "en"
2022-01-29 16:12:25 +01:00
},
"separator": {
2022-01-29 18:19:42 +01:00
"title": "Separator for indexing and query tokenization",
2022-01-29 16:12:25 +01:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-separator",
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
],
"definitions": {
"lang": {
2022-01-29 18:19:42 +01:00
"title": "Site search language",
2022-01-29 16:12:25 +01:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-lang",
"oneOf": [
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Arabic",
2022-01-29 16:12:25 +01:00
"enum": [
"ar"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Danish",
2022-01-29 16:12:25 +01:00
"enum": [
"da"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: German",
2022-01-29 16:12:25 +01:00
"enum": [
"de"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Dutch",
2022-01-29 16:12:25 +01:00
"enum": [
"du"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: English",
2022-01-29 16:12:25 +01:00
"enum": [
"en"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Spanish",
2022-01-29 16:12:25 +01:00
"enum": [
"es"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Finnish",
2022-01-29 16:12:25 +01:00
"enum": [
"fi"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: French",
2022-01-29 16:12:25 +01:00
"enum": [
"fr"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Hungarian",
2022-01-29 16:12:25 +01:00
"enum": [
"hu"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Italian",
2022-01-29 16:12:25 +01:00
"enum": [
"it"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Japanese",
2022-01-29 16:12:25 +01:00
"enum": [
"ja"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Norwegian",
2022-01-29 16:12:25 +01:00
"enum": [
"no"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Portuguese",
2022-01-29 16:12:25 +01:00
"enum": [
"pt"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Romanian",
2022-01-29 16:12:25 +01:00
"enum": [
"ro"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Russian",
2022-01-29 16:12:25 +01:00
"enum": [
"ru"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Swedish",
2022-01-29 16:12:25 +01:00
"enum": [
"sv"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Thai",
2022-01-29 16:12:25 +01:00
"enum": [
"th"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Turkish",
2022-01-29 16:12:25 +01:00
"enum": [
"tr"
]
},
{
2022-01-29 18:19:42 +01:00
"title": "Site search language: Vietnamese",
2022-01-29 16:12:25 +01:00
"enum": [
"vi"
]
}
]
}
}
}