forked from feelpp/book.feelpp.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
87 lines (86 loc) · 1.99 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"index_name": "feelpp",
"start_urls": [
{
"url": "https://docs.feelpp.org/(?P<component>.*?)/(?P<version>.*?)/",
"variables": {
"component": [
"dev",
"mor",
"cases",
"user",
"toolboxes",
"tutorial-dev"
],
"version": [
"0.109",
"0.108",
"0.107"
]
}
},
{
"url": "https://docs.feelpp.org/(?P<component>.*?)/",
"variables": {
"component": [
"feelpp",
"contribute",
"data",
"math"
]
},
"selectors_key": "versionless"
}
],
"sitemap_urls": [
"https://docs.feelpp.org/sitemap.xml"
],
"scrape_start_urls": false,
"stop_urls": [],
"selectors": {
"default": {
"lvl0": {
"global": true,
"selector": ".nav-panel-explore .context"
},
"lvl1": ".doc > h1.page",
"lvl2": ".doc .sect1 > h2:first-child, .doc > h1.sect0",
"lvl3": ".doc .sect2 > h3:first-child",
"lvl4": ".doc .sect3 > h4:first-child",
"text": ".doc p, .doc dt, .doc td.context, .doc th.tableblock"
},
"versionless": {
"lvl0": {
"global": true,
"selector": ".nav-panel-explore .context .title"
},
"lvl1": ".doc > h1.page",
"lvl2": ".doc .sect1 > h2:first-child, .doc > h1.sect0",
"lvl3": ".doc .sect2 > h3:first-child",
"lvl4": ".doc .sect3 > h4:first-child",
"text": ".doc p, .doc dt, .doc td.context, .doc th.tableblock"
}
},
"selectors_exclude": [],
"min_indexed_level": 1,
"custom_settings": {
"attributesForFaceting": [
"component",
"version"
],
"attributesToRetrieve": [
"anchor",
"content",
"hierarchy",
"url",
"component",
"version"
],
"customRanking": [
"desc(weight.page_rank)",
"desc(version)",
"desc(weight.level)",
"asc(weight.position)"
]
}
}