Skip to content

fix(docs): redirect docs root to localized entrypoints#246

Merged
mrcfps merged 2 commits intomainfrom
fix/docs-home
Mar 18, 2026
Merged

fix(docs): redirect docs root to localized entrypoints#246
mrcfps merged 2 commits intomainfrom
fix/docs-home

Conversation

@mrcfps
Copy link
Copy Markdown
Contributor

@mrcfps mrcfps commented Mar 18, 2026

Summary

  • redirect the VitePress docs root to the localized docs entrypoint instead of showing a language selection home page
  • send browsers to /zh/ when the preferred language is Chinese and to /en/ otherwise
  • remove the unused root sidebar config and keep fallback links for non-JS users

Verification

  • pnpm build --dir docs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 18, 2026

Deploying nexu-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d5433ce
Status: ✅  Deploy successful!
Preview URL: https://6e0eb0b2.nexu-docs.pages.dev
Branch Preview URL: https://fix-docs-home.nexu-docs.pages.dev

View logs

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7effcdcdbb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/index.md Outdated
@mrcfps mrcfps merged commit 983cd54 into main Mar 18, 2026
2 checks passed
@mrcfps mrcfps deleted the fix/docs-home branch March 18, 2026 08:03
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.

2 participants