Skip to content

docs(zh-cn): Chinese docs optimization#30693

Open
chingjustwe wants to merge 2 commits into
anomalyco:devfrom
chingjustwe:bugfix/chinese-version-of-policies
Open

docs(zh-cn): Chinese docs optimization#30693
chingjustwe wants to merge 2 commits into
anomalyco:devfrom
chingjustwe:bugfix/chinese-version-of-policies

Conversation

@chingjustwe
Copy link
Copy Markdown

@chingjustwe chingjustwe commented Jun 4, 2026

  1. Add Chinese version of Policies Doc
  2. Update the internal links to maintain a consistent view

Issue for this PR

Closes #30688

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

  1. The Chinese version of the Policies doc was missing, so I added it.
  2. The docs site supports multiple languages, but all internal links currently point to the English version. After clicking the links, it's unable to switch back to english version any more, so I updated the links. Note: to minimize the impact, I limited my changes to zh-cn. If you think this is valuable for all languages, I can create a separate PR with the same changes.

How did you verify your code works?

  1. Start the docs locally by bun run dev.
  2. Open browser with link "http://localhost:4321/docs/zh-cn/" and see the changes.

Screenshots / recordings

image

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Hey! Your PR title Chinese docs optimization doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@chingjustwe chingjustwe changed the title Chinese docs optimization docs(zh-cn): Chinese docs optimization Jun 4, 2026
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.

No Chinese doc version of Policies and the links in Chinese docs are linking to the English ones

1 participant