forked from algolia/docsearch-configs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitlab.json
79 lines (79 loc) · 1.63 KB
/
gitlab.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
{
"index_name": "gitlab",
"start_urls": [
{
"url": "https://docs.gitlab.com/ee/",
"selectors_key": "ee",
"tags": [
"ee"
]
},
{
"url": "https://docs.gitlab.com/omnibus/",
"selectors_key": "omnibus",
"tags": [
"omnibus"
]
},
{
"url": "https://docs.gitlab.com/runner/",
"selectors_key": "runner",
"tags": [
"runner"
]
}
],
"scrap_start_urls": false,
"stop_urls": [
"https://docs.gitlab.com/ee/$",
"https://docs.gitlab.com/omnibus/$",
"https://docs.gitlab.com/runner/$",
"https://.*?//.*?$",
".*^(?!.*html)"
],
"stop_content": [
"This document was moved to",
"This section is now merged into",
"404 Not Found"
],
"selectors": {
"ee": {
"lvl0": {
"selector": "",
"default_value": "GitLab"
},
"lvl1": ".main h1",
"lvl2": ".main h2",
"lvl3": ".main h3",
"lvl4": ".main h4",
"lvl5": ".main h5",
"text": ".main p, .main li"
},
"omnibus": {
"lvl0": {
"selector": "",
"default_value": "Omnibus GitLab"
},
"lvl1": ".main h1",
"lvl2": ".main h2",
"lvl3": ".main h3",
"lvl4": ".main h4",
"lvl5": ".main h5",
"text": ".main p, .main li"
},
"runner": {
"lvl0": {
"selector": "",
"default_value": "GitLab Runner"
},
"lvl1": ".main h1",
"lvl2": ".main h2",
"lvl3": ".main h3",
"lvl4": ".main h4",
"lvl5": ".main h5",
"text": ".main p, .main li"
}
},
"min_indexed_level": 1,
"nb_hits": 27594
}