Skip to content

Commit dc8273c

Browse files
authored
Update Algolia config (#1175)
* initial config update * add table indexing
1 parent d7581f6 commit dc8273c

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

.algolia/docsearch.config.json

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,31 @@
66
}
77
],
88
"selectors": {
9-
"default": {
10-
"lvl0": {
11-
"selector": "(//*[contains(@class, 'sidebar-heading open')])[1]",
12-
"type": "xpath",
13-
"global": true
14-
},
15-
"lvl1": {
16-
"selector": "//h1/text()",
17-
"type": "xpath",
18-
"global": true
19-
},
20-
"lvl2": {
21-
"selector": "/html/head/meta[@name='description']/@content",
22-
"type": "xpath",
23-
"global": true
24-
},
25-
"lvl3": {
26-
"selector": "//h2/text()",
27-
"type": "xpath",
28-
"global": true
29-
},
30-
"text": ".content__default p, .content__default ul>li a, .content__default ul>li code",
31-
"lang": {
32-
"selector": "/html/@lang",
33-
"type": "xpath",
34-
"global": true
35-
}
9+
"lvl0": {
10+
"selector": "(//*[contains(@class, 'sidebar-heading open')])[1]",
11+
"type": "xpath",
12+
"global": true
13+
},
14+
"lvl1": {
15+
"selector": "//h1/text()",
16+
"type": "xpath",
17+
"global": true
18+
},
19+
"lvl2": {
20+
"selector": "/html/head/meta[@name='description']/@content",
21+
"type": "xpath",
22+
"global": true
23+
},
24+
"lvl4": {
25+
"selector": "//h2/text()",
26+
"type": "xpath",
27+
"global": true
28+
},
29+
"text": ".content__default p, .content__default ul>li a, .content__default ul>li code, .content__default table > tr, th, td, p, code",
30+
"lang": {
31+
"selector": "/html/@lang",
32+
"type": "xpath",
33+
"global": true
3634
}
3735
},
3836
"strip_chars": " .,;:#",

0 commit comments

Comments
 (0)