-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
42 lines (42 loc) · 1.29 KB
/
config.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
{
"index_name": "nuklai_docs",
"start_urls": ["https://docs.nukl.ai/", "http://localhost:3000/sitemap.xml"],
"sitemap_urls": ["http://localhost:3000/sitemap.xml"],
"allowed_domains": ["docs.nukl.ai"],
"stop_urls": ["#__docusaurus_skipToContent_fallback"],
"sitemap_alternate_links": true,
"selectors": {
"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",
"lvl3": "article h3",
"lvl4": "article h4",
"lvl5": "article h5",
"text": "article p, article li"
},
"strip_chars": " .,;:#",
"custom_settings": {
"separatorsToIndex": "_",
"attributesForFaceting": ["language", "version", "type", "docusaurus_tag"],
"attributesToRetrieve": [
"hierarchy",
"content",
"anchor",
"url",
"url_without_anchor",
"type"
]
},
"js_render": true,
"js_wait": 25,
"max_concurrent_requests": 3,
"nb_retries": 5,
"use_anchors": false,
"selectors_exclude": [".hash-link"],
"min_indexed_level": 0
}