fix: update documentation routing and simplify navigation

- Replace VitePress router with window.location for docs index redirect
- Add redirect rules for /docs and /docs/ paths to quick-start guide
- Simplify navigation by removing section anchor links
- Update all CTA buttons to link directly to /docs/ instead of home sections
- Consolidate navigation layout on both desktop and mobile views
This commit is contained in:
weishu
2026-01-01 14:23:44 +08:00
parent 4d2f91b9f5
commit 1e46bd3295
4 changed files with 16 additions and 19 deletions
+2
View File
@@ -1,2 +1,4 @@
/docs/ /docs/guide/quick-start 301
/docs /docs/guide/quick-start 301
/docs/* /docs/:splat 200
/* /index.html 200