Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

fix(casthub): update config #3976

Merged
merged 2 commits into from
Apr 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions configs/casthub.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"index_name": "casthub",
"start_urls": [
"https://docs.casthub.app"
],
"start_urls": ["https://casthub.app/docs/"],
"stop_urls": [],
"selectors": {
"lvl0": {
"selector": "aside > div > ul > li.active > p",
"selector": "aside > ul > li.docs-sidebar-category--active > p",
"default_value": "Documentation"
},
"lvl1": "div.flex div article.prose h1",
"lvl2": "div.flex div article.prose h2",
"lvl3": "div.flex div article.prose h3",
"lvl4": "div.flex div article.prose h4",
"text": "div.flex div article.prose p, div.flex div article.prose li",
"lvl1": "article.docs-page h1",
"lvl2": "article.docs-page h2",
"lvl3": "article.docs-page h3",
"lvl4": "article.docs-page h4",
"text": "article.docs-page p, article.docs-page li",
"language": {
"selector": "/html/@lang",
"type": "xpath",
Expand All @@ -24,8 +22,6 @@
"custom_settings": {
"attributesForFaceting": ["language"]
},
"conversation_id": [
"1382995547"
],
"nb_hits": 539
"conversation_id": ["1382995547"],
"nb_hits": 892
}