Skip to content

Commit d0ca874

Browse files
committed
Fix Algolia config
1 parent 433cf82 commit d0ca874

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

docs/.vitepress/algolia-config.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,21 @@
88
"selector": ".VPLink.link.VPNavBarMenuLink.active",
99
"global": true
1010
},
11-
"lvl1": ".main h1",
12-
"lvl2": ".main h2",
13-
"lvl3": ".main h3",
14-
"lvl4": ".main h4",
15-
"lvl5": ".main h5",
16-
"text": ".main p, .main li"
11+
"lvl1": ".content h1",
12+
"lvl2": ".content h2",
13+
"lvl3": ".content h3",
14+
"lvl4": ".content h4",
15+
"lvl5": ".content h5",
16+
"text": ".content p, .content li",
17+
"lang": {
18+
"selector": "/html/@lang",
19+
"type": "xpath",
20+
"global": true
21+
}
1722
},
18-
"selectors_exclude": ["sup"]
23+
"strip_chars": " .,;:#",
24+
"sielectors_exclude": ["sup"],
25+
"custom_settings": {
26+
"attributesForFaceting": ["lang", "tags"]
27+
}
1928
}

0 commit comments

Comments
 (0)