2022-01-29 18:12:25 +03:00
|
|
|
{
|
|
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
|
|
"title": "Built-in search plugin",
|
|
|
|
"oneOf": [
|
|
|
|
{
|
2023-09-15 12:30:01 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/search/",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "search"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"search": {
|
2023-09-15 12:30:01 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/search/",
|
2022-01-29 18:12:25 +03:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"lang": {
|
|
|
|
"oneOf": [
|
2022-01-29 20:19:42 +03:00
|
|
|
{
|
2023-10-06 10:53:01 +03:00
|
|
|
"$ref": "#/$defs/lang"
|
2022-01-29 20:19:42 +03:00
|
|
|
},
|
2022-01-29 18:12:25 +03:00
|
|
|
{
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2023-10-06 10:53:01 +03:00
|
|
|
"$ref": "#/$defs/lang"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
"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",
|
2023-09-15 12:30:01 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/search/#config.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",
|
2023-09-15 12:30:01 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/search/#config.pipeline",
|
2022-12-11 17:53:16 +03:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"enum": [
|
|
|
|
"stemmer",
|
|
|
|
"stopWordFilter",
|
|
|
|
"trimmer"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"uniqueItems": true
|
|
|
|
},
|
2022-06-05 19:24:30 +03:00
|
|
|
"jieba_dict": {
|
|
|
|
"title": "Jieba dictionary replacement",
|
2023-09-15 12:30:01 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/search/#config.jieba_dict",
|
2022-06-05 19:24:30 +03:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"jieba_dict_user": {
|
|
|
|
"title": "Jieba dictionary augmentation",
|
2023-09-15 12:30:01 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/search/#config.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
|
|
|
|
}
|
|
|
|
],
|
2023-10-06 10:53:01 +03:00
|
|
|
"$defs": {
|
2022-01-29 18:12:25 +03:00
|
|
|
"lang": {
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language",
|
2023-09-15 12:30:01 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/search/#config.lang",
|
2022-01-29 18:12:25 +03:00
|
|
|
"oneOf": [
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Arabic",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "ar"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Danish",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "da"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: German",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "de"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Dutch",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "du"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: English",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "en"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Spanish",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "es"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Finnish",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "fi"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: French",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "fr"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Hungarian",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "hu"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Italian",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "it"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Japanese",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "ja"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Norwegian",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "no"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Portuguese",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "pt"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Romanian",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "ro"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Russian",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "ru"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Swedish",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "sv"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Thai",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "th"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Turkish",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "tr"
|
2022-01-29 18:12:25 +03:00
|
|
|
},
|
|
|
|
{
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site search language: Vietnamese",
|
2023-11-20 12:59:18 +03:00
|
|
|
"const": "vi"
|
2022-01-29 18:12:25 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|