From 836d91cdbc504fb1356705daf620dca8a677199d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E5=B7=9D=E7=99=BD=E6=B5=AA?= <1679659@qq.com> Date: Tue, 1 Dec 2026 08:59:19 -0700 Subject: [PATCH] docs(readme): make English the default language --- .github/ISSUE_TEMPLATE/config.yml | 4 +- .github/workflows/ci.yml | 2 +- AGENTS.md | 4 +- README.en.md | 194 ----------------------------- README.md | 136 ++++++++++----------- README.zh-CN.md | 196 ++++++++++++++++++++++++++++++ scripts/debug/work-store.mjs | 2 +- 7 files changed, 269 insertions(+), 269 deletions(-) delete mode 100644 README.en.md create mode 100644 README.zh-CN.md diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 21ac973..6a2a2e3 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -3,6 +3,6 @@ contact_links: - name: Roadmap / 开发路线图 url: https://github.com/Nwflower/Reims-Go/blob/main/docs/roadmap.md about: Check current progress and planned features before opening a duplicate / 查看当前进度与已规划功能,避免重复提问 - - name: Documentation / 使用文档(中文 · English) - url: https://github.com/Nwflower/Reims-Go/blob/main/README.en.md + - name: Documentation / 使用文档(English · 简体中文) + url: https://github.com/Nwflower/Reims-Go/blob/main/README.md about: Quick start, requirements, and troubleshooting guides / 快速开始、环境要求与常见问题排查 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a65549..081aacf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: if ($env:PREVIOUS_SHA -notmatch '^0+$') { git fetch --depth=1 origin $env:PREVIOUS_SHA if ($LASTEXITCODE -ne 0) { throw 'Could not fetch the previous main commit' } - $changed = git diff --name-only $env:PREVIOUS_SHA HEAD -- . ':(exclude)docs/**' ':(exclude)README.md' ':(exclude)README.en.md' ':(exclude)AGENTS.md' ':(exclude).github/ISSUE_TEMPLATE/**' ':(exclude).github/readme/**' + $changed = git diff --name-only $env:PREVIOUS_SHA HEAD -- . ':(exclude)docs/**' ':(exclude)README.md' ':(exclude,glob)README.*.md' ':(exclude)AGENTS.md' ':(exclude).github/ISSUE_TEMPLATE/**' ':(exclude).github/readme/**' if ($LASTEXITCODE -ne 0) { throw 'Could not compare the pushed commits' } $publish = [bool]$changed } diff --git a/AGENTS.md b/AGENTS.md index 021663c..05d5f63 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,7 +32,7 @@ - 用户显式要求工单,或任务需要跨会话恢复、多人/多 Agent 交接、持续积累验收证据时,再通过 `work.mjs` 建立或复用工单。 - 一次性产物用 `node scripts/debug/tmp.mjs new