From 704ee241672676df0dab7eccd20da896a05607df Mon Sep 17 00:00:00 2001 From: jim139129 Date: Wed, 18 Mar 2026 11:10:37 +0800 Subject: [PATCH] docs: update contributing docs (#1412) * docs: update contributing docs * Update docs/content/zh-Hans/docs/contributing/index.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by-agent: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Rin --- docs/content/en/docs/contributing/index.md | 2 +- docs/content/ja/docs/contributing/index.md | 2 +- docs/content/zh-Hans/docs/contributing/index.md | 14 ++++++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/content/en/docs/contributing/index.md b/docs/content/en/docs/contributing/index.md index 2b49a1c34..cf3d6f278 100644 --- a/docs/content/en/docs/contributing/index.md +++ b/docs/content/en/docs/contributing/index.md @@ -103,7 +103,7 @@ If you haven't clone this repository, skip this section. Make sure your local repository is up to date with the upstream repository: ```shell -git fetch -all +git fetch --all git checkout main git pull upstream main --rebase ``` diff --git a/docs/content/ja/docs/contributing/index.md b/docs/content/ja/docs/contributing/index.md index c5296f34b..e7914967e 100644 --- a/docs/content/ja/docs/contributing/index.md +++ b/docs/content/ja/docs/contributing/index.md @@ -103,7 +103,7 @@ description: Project AIRI への貢献 ローカルリポジトリがアップストリームリポジトリと最新の状態であることを確認してください: ```shell -git fetch -all +git fetch --all git checkout main git pull upstream main --rebase ``` diff --git a/docs/content/zh-Hans/docs/contributing/index.md b/docs/content/zh-Hans/docs/contributing/index.md index 04ee0a7aa..7c8ee34d3 100644 --- a/docs/content/zh-Hans/docs/contributing/index.md +++ b/docs/content/zh-Hans/docs/contributing/index.md @@ -15,9 +15,15 @@ description: 参与并贡献 Project AIRI
Windows 平台相关设置 -0. 下载 [Visual Studio](https://visualstudio.microsoft.com/downloads/), and follow the instructions here: https://rust-lang.github.io/rustup/installation/windows-msvc.html#walkthrough-installing-visual-studio-2022 +0. 下载 [Visual Studio](https://visualstudio.microsoft.com/downloads/), 根据这个教程安装 https://rust-lang.github.io/rustup/installation/windows-msvc.html#walkthrough-installing-visual-studio-2022 - > 安装时请确保勾选了 Windows SDK 和 C++ build tools + > 安装时请确保勾选了 Windows SDK 和 MSVC C++ build tools + +::: tip + +建议使用Visual Studio 2022 版以达到更好的兼容性 + +::: 1. 打开 PowerShell 2. 安装 [`scoop`](https://scoop.sh/) @@ -103,7 +109,7 @@ description: 参与并贡献 Project AIRI 请确保你的本地仓库与主仓库保持最新同步: ```shell -git fetch -all +git fetch --all git checkout main git pull upstream main --rebase ``` @@ -157,7 +163,7 @@ npm i -g @antfu/ni - 用 `ni` 来替代 `pnpm install`、`npm install` 和 `yarn install` 命令。 - 用 `nr` 来替代 `pnpm run`、`npm run` 和 `yarn run` 命令。 -你无需费心使用何种包管理器,`ni` 会自动适配。 +你无需费心选择包管理器, `ni` 会自动适配。 ::: ## 提交代码(Commit)