Repository navigation
fix(docs): remove /docs URL prefix to eliminate route stutter - #780
Conversation
Changed docs URLs from docs.superset.sh/docs/* to docs.superset.sh/* Changes: - Updated baseUrl from '/docs' to '/' in source.ts - Moved docs route from app/docs/ to app/(docs)/ route group - Relocated LLM route from llms.mdx/docs/ to llms.mdx/ - Updated Next.js redirects to point to root-level paths - Updated MDX rewrite rules to match new structure - Fixed internal doc links in quick-start.mdx - Removed unnecessary (home) route group URLs now work as: - ✅ docs.superset.sh/setup-teardown-scripts - ✅ docs.superset.sh/quick-start - Old /docs/* URLs redirect automatically for backwards compatibility
📝 WalkthroughWalkthroughThis PR restructures the documentation routing by migrating the docs from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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. Comment |
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Summary
Removed the
/docsprefix from documentation URLs to eliminate the stuttering pattern (docs.superset.sh/docs/*).Changes
baseUrlfrom'/docs'to'/'insource.tsapp/docs/toapp/(docs)/route groupllms.mdx/docs/tollms.mdx/quick-start.mdx(home)route groupURLs now work as
docs.superset.sh/setup-teardown-scripts(wasdocs.superset.sh/docs/setup-teardown-scripts)docs.superset.sh/quick-start(wasdocs.superset.sh/docs/quick-start)/docs/*URLs redirect automatically for backwards compatibilityTesting
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.