Skip to content

Commit

Permalink
Index for search based on sitemap (#1851)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Sep 16, 2023
1 parent 802feeb commit a646b47
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docsearch.json
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
{"index_name":"docsearch","start_urls":["https://docs.viam.com/"],"selectors":{"lvl0":".td-content h1","lvl1":".td-content .lead","lvl2":".td-content h2","lvl3":".td-content h3","lvl4":".td-content h4","lvl5":".td-content h5","text":".td-content p, .td-content div, .td-content ul li, .td-content ol li, .td-content table tbody tr"},"selectors_exclude": ["#edit-on-github"]}
{
"index_name": "docsearch",
"sitemap_urls": ["https://docs.viam.com/sitemap.xml"],
"start_urls": ["https://docs.viam.com/"],
"use_anchors": true,
"selectors": {
"lvl0": ".td-content h1",
"lvl1": ".td-content .lead",
"lvl2": ".td-content h2",
"lvl3": ".td-content h3",
"lvl4": ".td-content h4",
"lvl5": ".td-content h5",
"text": ".td-content p, .td-content div, .td-content ul li, .td-content ol li, .td-content table tbody tr"
},
"selectors_exclude": [".footer", "#edit-on-github"]
}

0 comments on commit a646b47

Please sign in to comment.