Skip to content

Commit

Permalink
ci: simplifying TypeSense configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper committed Aug 21, 2023
1 parent 1703fc9 commit 74d9f62
Showing 1 changed file with 8 additions and 38 deletions.
46 changes: 8 additions & 38 deletions typesense.docsearch.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,13 @@
"sitemap_urls": [
"https://docs.kubefirst.io/sitemap.xml"
],
"sitemap_alternate_links": true,
"selectors": {
"lvl0": {
"selector": "(//ul[contains(@class,'menu__list')]//a[contains(@class, 'menu__link menu__link--sublist menu__link--active')]/text() | //nav[contains(@class, 'navbar')]//a[contains(@class, 'navbar__link--active')]/text())[last()]",
"type": "xpath",
"global": true,
"default_value": "Documentation"
},
"lvl1": "header h1",
"lvl2": "article h2",
"lvl3": "article h3",
"lvl4": "article h4",
"lvl5": "article h5, article td:first-child",
"lvl6": "article h6",
"text": "article p, article li, article td:last-child"
},
"selectors_exclude": [".theme-doc-sidebar-menu menu__list", ".table-of-contents", "a.md-nav__link"],
"strip_chars": " .,;:#",
"custom_settings": {
"separatorsToIndex": "_",
"attributesForFaceting": [
"language",
"version",
"type",
"docusaurus_tag"
],
"attributesToRetrieve": [
"hierarchy",
"content",
"anchor",
"url",
"url_without_anchor",
"type"
]
},
"conversation_id": [
"833762294"
],
"nb_hits": 46250
"lvl0": "h1",
"lvl1": "h2",
"lvl2": "h3",
"lvl3": "h4",
"lvl4": "h5",
"lvl5": "h6",
"text": "p, li"
}
}

0 comments on commit 74d9f62

Please sign in to comment.