From 9fb5fd924d4b74841ba4998da10fad836f488543 Mon Sep 17 00:00:00 2001 From: longjin Date: Fri, 23 May 2025 23:16:32 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E8=B4=A1=E7=8C=AE?= =?UTF-8?q?=E8=80=85=E6=96=87=E6=A1=A3=E5=B9=B6=E5=8D=87=E7=BA=A7=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加关闭GitHub匿名邮箱的说明 - 在多个文档中添加PR提交前的匿名邮箱检查提醒 - 升级vuepress相关依赖版本到2.0.0-rc.20 Signed-off-by: longjin --- contributors/cheat-sheet.md | 11 ++++++++++- contributors/github-workflow.md | 1 + contributors/pull-requests.md | 4 ++-- package.json | 5 +++-- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/contributors/cheat-sheet.md b/contributors/cheat-sheet.md index 1208b00..dc4173c 100644 --- a/contributors/cheat-sheet.md +++ b/contributors/cheat-sheet.md @@ -1,4 +1,13 @@ # 贡献者备忘录 -// TODO +## 关掉匿名邮箱 + +由于您需要与他人协作,GitHub自带的匿名邮箱功能可能会导致一些问题。 +请您在提交PR前关闭这个功能,否则您的PR将无法通过审查。 + +**如何关闭匿名邮箱?** + +1. 打开 GitHub 网站并登录您的账户。 +2. 打开[Email settings](https://github.com/settings/emails)页面。 +3. 在"Primary email address"下找到"Keep my email addresses private",取消勾选该选项。 diff --git a/contributors/github-workflow.md b/contributors/github-workflow.md index f91a28f..de98447 100644 --- a/contributors/github-workflow.md +++ b/contributors/github-workflow.md @@ -103,5 +103,6 @@ git push zhangsan patch-my-feature 1. 打开你在GitHub上Fork的仓库 `https://github.com//DragonOS` 2. 点击右上角的`Compare & Pull Request`按钮,然后选择分支`patch-my-feature`,目标为社区主仓库的`master`分支(或`main`分支)。 3. 关于Pull Request的进一步要求,请查看[Pull Request流程介绍] +4. 请注意:在提交PR前,请确保您已[关闭GitHub的匿名邮箱功能](./cheat-sheet.md#关掉匿名邮箱),否则您的PR将无法通过审查。 [Pull Request流程介绍]: /contributors/pull-requests.md diff --git a/contributors/pull-requests.md b/contributors/pull-requests.md index 7761043..ede8e87 100644 --- a/contributors/pull-requests.md +++ b/contributors/pull-requests.md @@ -17,6 +17,8 @@ **确保您的拉取请求符合我们的最佳实践。这些实践包括遵循项目规范、提交小的拉取请求以及充分注释。** +请注意:在提交PR前,请确保您已[关闭GitHub的匿名邮箱功能](./cheat-sheet.md#关掉匿名邮箱),否则您的PR将无法通过审查。 + ### 运行本地的测试 @@ -327,5 +329,3 @@ DragonOS社区使用`@dragonosbot`来执行自动化的工作流。 [为DragonOS社区作出贡献]: /contributors/README.md [社区沟通渠道]: /communication/README.md [代码风格指南]: /contributors/code-style.md - - diff --git a/package.json b/package.json index 589e903..1232ef4 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,9 @@ }, "homepage": "https://github.com/DragonOS-Community/Community#readme", "devDependencies": { - "@vuepress/bundler-vite": "^2.0.0-rc.14", + "@vuepress/bundler-vite": "^2.0.0-rc.20", "@vuepress/theme-default": "^2.0.0-rc.37", - "vuepress": "^2.0.0-rc.14" + "sass-embedded": "^1.89.0", + "vuepress": "^2.0.0-rc.20" } }