Skip to content

docs: add Chinese translation of references configuration - #36787

Closed
wangguan1995 wants to merge 4 commits into
anomalyco:devfrom
wangguan1995:patch-1
Closed

docs: add Chinese translation of references configuration#36787
wangguan1995 wants to merge 4 commits into
anomalyco:devfrom
wangguan1995:patch-1

Conversation

@wangguan1995

@wangguan1995wangguan1995 commented Jul 14, 2026

Copy link
Copy Markdown

Add documentation for configuring references in OpenCode (Chinese translation)

Issue for this PR

issues/36788

Type of change

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

What does this PR do?

This PR adds the Chinese translation of the "References" configuration documentation.
I translated the original English document sentence by sentence, preserving all formatting, code blocks, and structure, and placed the translated file into the Chinese documentation directory (e.g. docs/zh/ or equivalent).

The translation covers local directory references, Git repository references, usage descriptions, hidden autocomplete entries, and the full configuration fields table.

How did you verify your code works?

  • Rendered the Markdown locally to confirm all formatting, tables, and code blocks display correctly.
  • Compared side-by-side with the original English doc to ensure every sentence is translated without omissions.
  • Checked that all internal links and note admonitions are preserved.

Screenshots / recordings

This is a documentation-only change, no UI screenshots needed.

Checklist

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

Add documentation for configuring references in OpenCode.
@github-actionsgithub-actionsBot added needs:compliance This means the issue will auto-close after 2 hours. needs:title labels Jul 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title Create references.mdx for OpenCode documentation 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.

@wangguan1995wangguan1995 changed the title Create references.mdx for OpenCode documentationdocs: add Chinese translation of references configurationJul 14, 2026
@github-actionsgithub-actionsBot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Updated descriptions to clarify the use of references in OpenCode, including changes to how the agent interacts with references and their context.
@github-actions

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@wangguan1995