Skip to content

Commit 2e4fd33

Browse files
committed
fix(algolia-config.json): adjust selectors to target '.markdown' class for more accurate content indexing
1 parent 6c7a3d6 commit 2e4fd33

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

algolia-config.json

+8-11
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,14 @@
1111
"js_wait": 3,
1212
"selectors_exclude": ["footer"],
1313
"selectors": {
14-
"lvl0": {
15-
"selector": "",
16-
"defaultValue": "Documentation"
17-
},
18-
"lvl1": "header h1, article h1, main h1, h1, head > title",
19-
"lvl2": "article h2, main h2, h2",
20-
"lvl3": "article h3, main h3, h3",
21-
"lvl4": "article h4, main h4, h4",
22-
"lvl5": "article h5, main h5, h5",
23-
"lvl6": "article h6, main h6, h6",
24-
"text": "article p, article li, main p, main li, p, li"
14+
"lvl0": "",
15+
"lvl1": ".markdown h1",
16+
"lvl2": ".markdown h2",
17+
"lvl3": ".markdown h3",
18+
"lvl4": ".markdown h4",
19+
"lvl5": ".markdown h5",
20+
"lvl6": ".markdown h6",
21+
"text": ".markdown p, .markdown li"
2522
},
2623
"strip_chars": " .,;:#",
2724
"custom_settings": {

0 commit comments

Comments
 (0)