Skip to content

Commit

Permalink
Update Algolia config (#1175)
Browse files Browse the repository at this point in the history
* initial config update

* add table indexing
  • Loading branch information
stb13579 authored Oct 19, 2022
1 parent d7581f6 commit dc8273c
Showing 1 changed file with 25 additions and 27 deletions.
52 changes: 25 additions & 27 deletions .algolia/docsearch.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,31 @@
}
],
"selectors": {
"default": {
"lvl0": {
"selector": "(//*[contains(@class, 'sidebar-heading open')])[1]",
"type": "xpath",
"global": true
},
"lvl1": {
"selector": "//h1/text()",
"type": "xpath",
"global": true
},
"lvl2": {
"selector": "/html/head/meta[@name='description']/@content",
"type": "xpath",
"global": true
},
"lvl3": {
"selector": "//h2/text()",
"type": "xpath",
"global": true
},
"text": ".content__default p, .content__default ul>li a, .content__default ul>li code",
"lang": {
"selector": "/html/@lang",
"type": "xpath",
"global": true
}
"lvl0": {
"selector": "(//*[contains(@class, 'sidebar-heading open')])[1]",
"type": "xpath",
"global": true
},
"lvl1": {
"selector": "//h1/text()",
"type": "xpath",
"global": true
},
"lvl2": {
"selector": "/html/head/meta[@name='description']/@content",
"type": "xpath",
"global": true
},
"lvl4": {
"selector": "//h2/text()",
"type": "xpath",
"global": true
},
"text": ".content__default p, .content__default ul>li a, .content__default ul>li code, .content__default table > tr, th, td, p, code",
"lang": {
"selector": "/html/@lang",
"type": "xpath",
"global": true
}
},
"strip_chars": " .,;:#",
Expand Down

0 comments on commit dc8273c

Please sign in to comment.