docs
docs copied to clipboard
fix(sitemap): include statically-generated toolkit pages
Summary
Toolkit pages at /en/resources/integrations/{category}/{toolkitId} were missing from sitemap.xml because the filesystem walk in app/sitemap.ts skips directories whose names contain [, dropping all [toolkitId] dynamic route folders. This means search engines get no direct signal to crawl ~100 toolkit pages.
- Adds a
buildSitemap()helper that runs the MDX walk andlistToolkitRoutes()in parallel, then merges, deduplicates, and sorts the results - Excludes the
otherscategory (no on-disk route, redirected bynext.config.ts) - Updates
tests/sitemap.test.tsto assert a known toolkit URL is present, >10 integration URLs exist, and no[placeholder leaks
Related
- Closes TOO-736 (partial — the Algolia
attributeForDistinctconfig change is being applied separately in the crawler dashboard) - Revives the fix from closed PR #923 in a simplified form (no per-toolkit
lastModifiedlookup to keep it lean)
Test plan
- [ ] CI green
- [ ] After deploy, confirm
https://docs.arcade.dev/sitemap.xmlcontains/en/resources/integrations/development/githuband other toolkit URLs
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| docs | Preview, Comment | May 14, 2026 6:11pm |