fix: serve docs at root URL instead of /docs#6
Conversation
- Move [[...slug]] route from /docs to root - Merge DocsLayout into root layout - Delete redirect page and docs layout - Add favicon (icon.svg)
Code Review for PR #6SummaryThis PR refactors the routing structure to serve documentation at the root URL ( ✅ Positive Aspects
🔴 Critical Issues1. Route Conflict - This will break! 🚨Location: The <Link href="/docs" className="font-medium underline">
/docs
</Link>Problem: With the catch-all route at
This creates a route conflict. Next.js may unpredictably choose which page to render at Solutions:
2. Incorrect baseUrl but URL generation might work
|
Summary
[[...slug]]route from/docs/to root levelFixes
/instead of/docs- docs.withceleste.ai/ works directlyredirect()that didn't work with static exportTest plan