fix(docs): redirect docs root to /overview#3935
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe documentation site's primary landing page is being redirected from Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.Comment |
🚀 Preview Deployment🔗 Preview Links
Preview updates automatically with new commits |
Greptile SummaryFixes a broken docs root redirect introduced when Confidence Score: 5/5Safe to merge — minimal, targeted fix with no logic concerns. Two-line changes updating a stale string reference in a redirect config and sitemap priority check. No new logic introduced, no P0/P1 findings. No files require special attention.
|
| Filename | Overview |
|---|---|
| apps/docs/next.config.mjs | Updated / and /docs redirects from /installation to /overview to fix the 404 broken by #3926. |
| apps/docs/src/app/sitemap.ts | Updated sitemap priority check from /installation to /overview so the new landing page receives the highest SEO priority of 1.0. |
Sequence Diagram
sequenceDiagram
participant Browser
participant Next.js
participant Overview as /overview
Browser->>Next.js: GET /
Next.js-->>Browser: 307 Redirect → /overview
Browser->>Overview: GET /overview
Overview-->>Browser: 200 OK
Browser->>Next.js: GET /docs
Next.js-->>Browser: 307 Redirect → /overview
Browser->>Overview: GET /overview
Overview-->>Browser: 200 OK
Reviews (1): Last reviewed commit: "fix(docs): redirect docs root to /overvi..." | Re-trigger Greptile
Summary
docs.superset.sh/was redirecting to/installation, but that page was removed when install+overview were merged in docs: reorg sidebar, merge install+overview, add CLI section, rewrite MCP for v2 #3926, leaving the root URL pointing at a 404./docsredirects to point at/overview(the new landing page) and update the sitemap priority to match.Test plan
https://docs.superset.sh/on the deploy preview and confirm it lands on/overviewhttps://docs.superset.sh/docsand confirm it also lands on/overviewSummary by CodeRabbit