forked from algolia/docsearch-configs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsurvivejs_react.json
27 lines (27 loc) · 955 Bytes
/
survivejs_react.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
{
"index_name": "survivejs_react",
"start_urls": [
"https://survivejs.com/react/",
"http://survivejs.com/react/"
],
"stop_urls": [
"https://survivejs.com/react/$",
"http://survivejs.com/react/$"
],
"selectors": {
"lvl0": {
"selector": "//ul[contains(@class, 'toc-nav')]/li[contains(@class, 'toc-part') or contains(@class, 'toc-intro')]/span[contains(@class, 'toc-nav__link--current')] | //ul[contains(@class, 'toc-nav')]/li[contains(@class, 'toc-chapter')]/span[contains(@class, 'toc-nav__link--current')]/../preceding::li[contains(@class, 'toc-part')][1]",
"type": "xpath",
"global": true
},
"lvl1": ".chapter__wrapper h1",
"lvl2": ".chapter-content h2",
"lvl3": ".chapter-content h3",
"lvl4": ".chapter-content h4",
"lvl5": ".chapter-content h5",
"text": ".chapter-content p, .chapter-content li"
},
"min_indexed_level": 2,
"scrap_start_urls": false,
"nb_hits": 967
}