Skip to content

Fix docs indexing with sitemap, canonical URLs, and root redirects - #110

Merged
tudddorrr merged 1 commit into
mainfrom
docs-indexing-fixes
Oct 3, 2026
Merged

tudddorrr merged 1 commit into
mainfrom
docs-indexing-fixes

Conversation

@tudddorrr

Copy link
Copy Markdown
Contributor

Docs indexing fixes

  • Added a sitemap at /sitemap.xml listing every docs page so search engines can discover them.
  • Added canonical URLs to docs pages to prevent duplicate-content issues.
  • Pointed robots.txt at the new sitemap.

Root and legacy redirects

  • Redirect / to the default docs version (/1.x).
  • Keep old /intro and /docs/* links working by redirecting them to the versioned docs.
  • Removed the now-redundant intro redirect route.

Static generation and serving

  • Include the sitemap in prerendered paths and skip the root redirect during the SPA fallback prerender.
  • Serve assets with trailing slashes dropped and let the worker handle requests to /.

@tudddorrr
tudddorrr force-pushed the docs-indexing-fixes branch from d03aba4 to ed3fbd4 Compare October 3, 2026 20:00
@tudddorrr
tudddorrr merged commit e9c9d6a into main Oct 3, 2026
2 checks passed
@tudddorrr
tudddorrr deleted the docs-indexing-fixes branch October 3, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant