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

193 lines
4.8 KiB
JSON
Raw Normal View History

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