forked from algolia/docsearch-configs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcordova.json
35 lines (35 loc) · 1.21 KB
/
cordova.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
{
"index_name": "cordova",
"start_urls": [
{
"url": "http://cordova.apache.org/docs/(?P<language>.*?)/(?P<version>.*?)/",
"variables": {
"version": {
"url": "http://cordova.apache.org/docs/en/latest/guide/overview/",
"js": "var versions = $('ul[aria-labelledby=versionDropdown] a').map(function(i, e) { return $(e).text().replace(/\\(Latest\\)/i, '').trim(); }).toArray(); return JSON.stringify(versions);"
},
"language": {
"url": "http://cordova.apache.org/docs/en/latest/guide/overview/",
"js": "var languages = $('ul[aria-labelledby=languageDropdown] a').map(function(i, e) { return $(e).attr('href').split('/')[2]; }).toArray(); return JSON.stringify(languages);"
}
}
}
],
"stop_urls": [
"/$"
],
"selectors": {
"lvl0": {
"selector": "//ul[@class=\"site-toc\"]//a[@class=\"this-page\"]/../../preceding::span[1]",
"type": "xpath",
"default_value": "Documentation"
},
"lvl1": "#page-toc-source h1",
"lvl2": "#page-toc-source h2",
"lvl3": "#page-toc-source h3",
"lvl4": "#page-toc-source h4",
"text": "#page-toc-source p"
},
"min_indexed_level": 2,
"nb_hits": 293381
}