Skip to content

Commit b11c557

Browse files
committed
Build: Add sitemap_urls to Typesense to fix some missing API pages
Follows-up 6cf42a4. Some pages aren't getting indexed because, unlike api.jqueryui.com, on api.jqueryui.com there isn't a listing of all pages. This means it relies on the category pages to discover them, but these are excluded via `stop_urls` which means the categories are never even opened, much less followed and/or indexed. Fix this by feeding the sitemaps directly to ensure full discovery of all posts and pages. Ref jquery/infrastructure-puppet#66 Ref jquery/jquerymobile.com@6651b1b
1 parent b36e3e2 commit b11c557

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docsearch.config.json

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
{ "url": "https://api.jqueryui.com", "selectors_key": "api", "page_rank": 20 },
55
{ "url": "https://jqueryui.com", "page_rank": 10 }
66
],
7+
"sitemap_urls": [
8+
"https://jqueryui.com/wp-sitemap.xml",
9+
"https://api.jqueryui.com/wp-sitemap.xml"
10+
],
711
"// stop_urls": [
812
"// Exclude URLs containing '?' such as /themeroller/?..."
913
],

0 commit comments

Comments
 (0)