-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocsearch.json
48 lines (48 loc) · 1002 Bytes
/
docsearch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"index_name": "plural_docs",
"start_urls": [
"https://docs.plural.sh/"
],
"stop_urls": [
"/pages-archive/",
"/__components/"
],
"selectors": {
"lvl0": {
"selector": "h1",
"global": true,
"default_value": "Documentation"
},
"lvl1": "article h2",
"lvl2": "article h3",
"lvl3": "article h4",
"lvl4": "article h5",
"lvl5": "article h6",
"text": "article p, article li, article td",
"language": {
"selector": "/html/@lang",
"type": "xpath",
"global": true
}
},
"strip_chars": "0123456789-",
"custom_settings": {
"separatorsToIndex": "_",
"attributesForFaceting": ["language", "version"],
"attributesToRetrieve": [
"hierarchy",
"content",
"anchor",
"url",
"url_without_anchor",
"type"
]
},
"js_render": false,
"use_anchors": true,
"selectors_exclude": [
".DocSearch-content"
],
"scrape_start_urls": true,
"min_indexed_level": 0
}