forked from darrenjennings/algolia-docsearch-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.json
41 lines (40 loc) · 1.05 KB
/
config.example.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
{
"index_name": "prod_EE",
"start_urls": [
{
"url": "https://docs.konghq.com/enterprise/(?P<version>.*?)/",
"variables": {
"version": {
"url": "https://docs.konghq.com/enterprise/",
"js": "var versions = $('ul[aria-labelledby=version-dropdown] a, button#version-dropdown').map(function(i, e) { return $(e).text().replace(/\\s+/g, '').replace(/Version/g, '').replace('(2020)', '').replace('(latest)', ''); }).toArray(); return JSON.stringify(versions);"
}
}
}
],
"sitemap_urls": [
"https://docs.konghq.com/sitemap.xml"
],
"stop_urls": [
],
"selectors": {
"lvl0": {
"selector": ".docs-navigation > a.active",
"global": true,
"default_value": "Kong"
},
"lvl1": ".content h1",
"lvl2": ".content h2",
"lvl3": ".content h3",
"lvl4": ".content h4",
"text": ".content p, .content li"
},
"selectors_exclude": [
"#next-steps",
"#next-steps ~ p"
],
"only_content_level": true,
"conversation_id": [
"534091583"
],
"nb_hits": 18645
}