Skip to content

Commit 94a5a86

Browse files
authored
Build: Add sitemap_urls to docsearch.config.json
The jqueryui.com indexer does this already. It makes the index more reliable by not depending on recursive crawling, so that one failed fetch doesn't lead to a blindspot. It also means pages that aren't linked from navigation from for one reason or another will be indexed.
1 parent db03273 commit 94a5a86

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docsearch.config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
{ "url": "https://api.jquery.com", "selectors_key": "api", "page_rank": 20 },
55
{ "url": "https://jquery.com", "page_rank": 10 }
66
],
7+
"sitemap_urls": [
8+
"https://jquery.com/wp-sitemap.xml",
9+
"https://api.jquery.com/wp-sitemap.xml"
10+
],
711
"stop_urls": [
8-
".com/category/"
12+
".com/category/",
13+
".com/author/"
914
],
1015
"selectors": {
1116
"default": {

0 commit comments

Comments
 (0)