forked from algolia/docsearch-configs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathakka-http.json
64 lines (64 loc) · 2.67 KB
/
akka-http.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"index_name": "akka-http",
"start_urls": [
{
"url": "https://doc.akka.io/docs/akka-http/(?P<version>.*?)/(?P<language>.*?).html",
"variables": {
"language": [
"scala",
"java"
],
"version": {
"url": "https://doc.akka.io/docs/akka-http/",
"js": "var versions = []; for(var i = 0 ; i < document.getElementsByTagName(\"a\").length; i++) { versions.push(document.getElementsByTagName(\"a\")[i].attributes[0].value); }; versions = versions.filter(function(e) { return !e.startsWith('?') && e.endsWith(\"/\") && !e.startsWith('rp') && (parseInt(e, 10) > 1 || e.startsWith('current') || e.startsWith('snapshot')); }).map(function(e) { return e.replace(/\\//g, ''); }); return JSON.stringify(versions);"
}
}
},
{
"url": "https://doc.akka.io/docs/akka-http/(?P<version>.*?)/(?P<language>.*?)/",
"variables": {
"language": [
"scala",
"java"
],
"version": {
"url": "https://doc.akka.io/docs/akka-http/",
"js": "var versions = []; for(var i = 0 ; i < document.getElementsByTagName(\"a\").length; i++) { versions.push(document.getElementsByTagName(\"a\")[i].attributes[0].value); }; versions = versions.filter(function(e) { return !e.startsWith('?') && e.endsWith(\"/\") && !e.startsWith('rp') && (parseInt(e, 10) > 1 || e.startsWith('current') || e.startsWith('snapshot')); }).map(function(e) { return e.replace(/\\//g, ''); }); return JSON.stringify(versions);"
}
}
},
{
"url": "https://doc.akka.io/docs/akka-http/(?P<version>.*?)/",
"variables": {
"language": [
"scala",
"java"
],
"version": {
"url": "https://doc.akka.io/docs/akka-http/",
"js": "var versions = []; for(var i = 0 ; i < document.getElementsByTagName(\"a\").length; i++) { versions.push(document.getElementsByTagName(\"a\")[i].attributes[0].value); }; versions = versions.filter(function(e) { return !e.startsWith('?') && e.endsWith(\"/\") && !e.startsWith('rp') && (parseInt(e, 10) > 1 || e.startsWith('current') || e.startsWith('snapshot')); }).map(function(e) { return e.replace(/\\//g, ''); }); return JSON.stringify(versions);"
}
}
}
],
"stop_urls": [
"index.html"
],
"selectors_exclude": [
"#scroller-anchor"
],
"selectors": {
"lvl0": {
"selector": "//*[contains(@class, 'nav-breadcrumbs')]/ul/li[3]",
"type": "xpath",
"default_value": "Documentation"
},
"lvl1": "#docs h1",
"lvl2": "#docs h2",
"lvl3": "#docs h3",
"lvl4": "#docs h4",
"text": "#docs p"
},
"min_indexed_level": 1,
"nb_hits": 32719
}