Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

This is the documentation for Roo Code, an AI-powered autonomous coding agent that lives in your editor.

Notifications You must be signed in to change notification settings

forkdo/roo-code-chinese-docs

Open more actions menu
 
 

Repository files navigation

Roo Code 中文文档

本文档使用 AI 翻译

项目流程

1. 拉取上游文档

  1. 创建空分支
git switch --orphan docs
  1. 创建 README.md
cat > README.md <<EOF
# 中文文档

本文档使用 AI 翻译
EOF
  1. 首次提交
git add .
git commit -am init
git push origin docs
  1. 设置上游仓库
# GitHub fork Codespaces 方式已自动设置
git remote add upstream https://github.com/RooCodeInc/Roo-Code-Docs.git
git fetch upstream main
git checkout upstream/main -- docs
  1. 增量翻译
git diff docs/
  1. 本地测试
git clone https://github.com/RooCodeInc/Roo-Code-Docs.git docsite
cp -r docs_zh/* ./docsite/docs/

cd docsite
npm install
npm start

# 构建
npm run build

2. 安装 AI 助手

  1. 安装 CLI 工具 (增量更新直接使用 AI CLI 工具直接对比)
# npm install -g npm
npm install -g @google/gemini-cli
npm install -g @qwen-code/qwen-code
  1. 设置环境变量 .env
API_KEY=
MODEL=
API_URL=https://openrouter.ai/api/v1/chat/completions

ROOT_DIR=./docs
EXCLUDE_DIR=update-notes
OUTPUT_MODE=new_folder
  1. AI 翻译

文档管理器

npm install
npm run build

About

This is the documentation for Roo Code, an AI-powered autonomous coding agent that lives in your editor.

Resources

Stars

Watchers

Forks

Languages

  • MDX 99.3%
  • Other 0.7%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.