-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathalgolia.json
33 lines (33 loc) · 1.01 KB
/
algolia.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": "rtsdocs",
"start_urls": [{ "url": "http://rts.cn/docs/" }],
"stop_urls": ["http://rts.cn/docs/Channel-Variables-Catalog/.*"],
"sitemap_urls": ["http://rts.cn/docs/sitemap.xml"],
"sitemap_alternate_links": true,
"selectors": {
"default": {
"lvl0": {
"selector": "(//ul[contains(@class,'menu__list')]//a[contains(@class, 'menu__link menu__link--sublist menu__link--active')]/text() | //nav[contains(@class, 'navbar')]//a[contains(@class, 'navbar__link--active')]/text())[last()]",
"type": "xpath",
"global": true,
"default_value": "Documentation"
},
"lvl1": "article h1",
"lvl2": "article h2"
}
},
"strip_chars": " .,;:#",
"custom_settings": {
"separatorsToIndex": "_",
"attributesForFaceting": ["language", "version", "type", "docusaurus_tag"],
"attributesToRetrieve": [
"hierarchy",
"content",
"anchor",
"url",
"url_without_anchor",
"type"
]
},
"conversation_id": ["833762294"]
}