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

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