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

193 lines
4.7 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/",
2022-01-29 16:12:25 +01:00
"enum": [
"search"
]
},
{
"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": "#/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",
"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
}
],
"definitions": {
"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",
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"
]
}
]
}
}
}