-
Notifications
You must be signed in to change notification settings - Fork 40
/
docsearch-stage.json
33 lines (33 loc) · 1.03 KB
/
docsearch-stage.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
{
"index_name": "docs_site_stage",
"sitemap_urls": ["https://docs.dogfood-stage.com/sitemap.xml"],
"sitemap_alternate_links": true,
"selectors": {
"lvl0": {
"selector": "(//nav[contains(@class,'menu')]/ul/li/div/a[contains(@class, 'active')]/text() | //nav[contains(@class, 'navbar')]//a[contains(@class, 'navbar__link--active')]/text())[last()] | //span[contains(@class, 'searchCategory')]",
"type": "xpath",
"global": true,
"default_value": "Documentation"
},
"lvl1": "header h1",
"lvl2": "article h2",
"lvl3": "article h3",
"lvl4": "article h4",
"lvl5": "article h5, article td:first-child",
"lvl6": "article h6",
"text": "article p, article li, article td:last-child"
},
"strip_chars": " .,;:#",
"custom_settings": {
"separatorsToIndex": "_",
"attributesForFaceting": ["language", "version", "type", "docusaurus_tag"],
"attributesToRetrieve": [
"hierarchy",
"content",
"anchor",
"url",
"url_without_anchor",
"type"
]
}
}