Skip to content

Commit

Permalink
Fix relevance and indexing for Algolia search (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
RohanArepally authored Mar 5, 2024
1 parent 4d0562c commit b81509d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions 10_integrations/algolia_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,16 @@
CONFIG = {
"index_name": "modal_docs",
"start_urls": [
{"url": "https://modal.com/docs/guide", "page_rank": 5},
{"url": "https://modal.com/docs/examples", "page_rank": 3},
{"url": "https://modal.com/docs/guide", "page_rank": 2},
{"url": "https://modal.com/docs/examples", "page_rank": 1},
{"url": "https://modal.com/docs/reference", "page_rank": 1},
],
"selectors": {
"lvl0": "article h1",
"lvl0": {
"selector": ".sidebar .active",
"default_value": "Documentation",
"global": True,
},
"lvl1": "article h1",
"lvl2": "article h2",
"lvl3": "article h3",
Expand Down

0 comments on commit b81509d

Please sign in to comment.