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 <shinohara-rin@users.noreply.github.com>
This commit is contained in:
co-authored by
gemini-code-assist[bot]
Rin
parent
f37f8aed3c
commit
704ee24167
@@ -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
|
||||
```
|
||||
|
||||
@@ -103,7 +103,7 @@ description: Project AIRI への貢献
|
||||
ローカルリポジトリがアップストリームリポジトリと最新の状態であることを確認してください:
|
||||
|
||||
```shell
|
||||
git fetch -all
|
||||
git fetch --all
|
||||
git checkout main
|
||||
git pull upstream main --rebase
|
||||
```
|
||||
|
||||
@@ -15,9 +15,15 @@ description: 参与并贡献 Project AIRI
|
||||
<details>
|
||||
<summary>Windows 平台相关设置</summary>
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user