Skip to content

Commit

Permalink
fix: --20220302 fix style of html
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob953 committed Mar 2, 2022
1 parent af6b06a commit 86b1c14
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions docs/global/zh-simplify/CONTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
#### 新增 Issue

1. 进入 Issue 页面点击 `New issue` 按钮

![New issue 按钮所在的地方](../../../img/global/CONTRIBUTION/issue_button.png)
<p align="center">Figure 1. New issue 的按钮位置</p>
<p style="text-align: center">Figure 1. New issue 的按钮位置</p>
2. 选择 `Bug report`, `Evaluate request`, `Feature request` 或新建一个空白模版来初始化你的 Issue
- Bug report:指出 EvalCSU 中存在的内容错误,并提出修正建议,详细请参考 [Bug report 模版](#bug-report-模版)
- Evaluate request:向 Manager 提交评教、经验分享的申请,详细请参考 [Evaluate request 模版](#evaluate-request-模版)
Expand All @@ -75,8 +76,9 @@
- 如果有其他内容,则在 **Additional context** 中简述
- 如果无其他内容, 填 `NULL.`
3.**Assign the manager you email** 中 @ 负责 bug 所在区域的管理员

![优秀的 bug issue 案例](../../../img/global/CONTRIBUTION/bug_issue_example.png)
<p align="center">Figure 2. Bug issue 的按钮位置</p>
<p style="text-align: center">Figure 2. Bug issue 的按钮位置</p>

**特别注意**

Expand Down Expand Up @@ -120,8 +122,9 @@
- 如果有其他内容,则在 **Additional context** 中简述
- 如果无其他内容, 填 `NULL.`
4. 无论是否有相应资格,都需要在 **Assign the manager you email** 中 @ 所发邮件的管理员

![优秀的 feature request 案例](../../../img/global/CONTRIBUTION/feature_request_example.png)
<p align="center">Figure 3. 优秀的 feature request 案例</p>
<p style="text-align: center">Figure 3. 优秀的 feature request 案例</p>

**特别注意**

Expand All @@ -148,17 +151,19 @@
> 可以参考 [Git 新手指南](./NOOBGUIDTOGIT.md)
1. `fork` 主仓库到你的 GitHub 仓库中,并 `git clone` 个人仓库到本地

![fork 按钮位置](../../../img/global/CONTRIBUTION/fork_button.png)
<p align="center">Figure 4. fork 按钮位置</p>
<p style="text-align: center">Figure 4. fork 按钮位置</p>
2. 在本地新建一个分支
- 分支命名规则:
```
<type>/[faculty]/<your github id>/
// e.g. docs/security/jacob953
```
- git 命令示例:

![新建分支的命令样例](../../../img/global/CONTRIBUTION/create_new_branch.png)
<p align="center">Figure 5. 新建分支的命令样例</p>
<p style="text-align: center">Figure 5. 新建分支的命令样例</p>
- `<type>` 建议参考 [提交类型](#evalcsu-的-commit-注意事项)
3. 在本地新建的分支上完成你的修改,修改要求详细请参考 **项目搭建原则**
4. 在本地提交 commit 时,请严格遵循 [EvalCSU 的 commit 注意事项](#evalcsu-的-commit-注意事项)
Expand Down Expand Up @@ -195,18 +200,19 @@
#### Pull Request 合并分支

1. 打开 GitHub,从个人仓库中选择 `New pull request` 按钮
<!-- + PR按钮图片: -->

![PR button](../../../img/global/CONTRIBUTION/PR_button.png)
<p align="center">Figure 6. PR 按钮</p>
<p style="text-align: center">Figure 6. PR 按钮</p>
2. 选取本仓库的主分支与你修改过的分支作为比较对象,依照以下方式描述你的修改:
1. 标题可以按照 `<type>[optional scope]: <description>` 的方式命名
2.**Related Issue** 中链接到相关 Issue,不可缺失
3.**Propose changes** 中简述你的改动,不可缺失
4.**Additional information** 中添加额外信息,可选
5.**Checklist** 中检查你的任务,不可缺失,但不要求一定完成
6.**Screenshoot** 中贴上对应截图

![优秀的 PR 样例](../../../img/global/CONTRIBUTION/PR_example.png)
<p align="center">Figure 7. 优秀的 PR 样例</p>
<p style="text-align: center">Figure 7. 优秀的 PR 样例</p>
3. 点击 `Create pull request` 按钮创建你的合并请求

**特别注意**
Expand Down

0 comments on commit 86b1c14

Please sign in to comment.