diff options
Diffstat (limited to 'docs/content/doc/usage/issue-pull-request-templates.zh-cn.md')
-rw-r--r-- | docs/content/doc/usage/issue-pull-request-templates.zh-cn.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md b/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md new file mode 100644 index 000000000..ad02b351d --- /dev/null +++ b/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md @@ -0,0 +1,37 @@ +--- +date: "2018-05-10T16:00:00+02:00" +title: "使用:Issue 和 Pull Request 模板" +slug: "issue-pull-request-templates" +weight: 15 +toc: true +draft: false +menu: + sidebar: + parent: "usage" + name: "Issue 和 Pull Request 模板" + weight: 15 + identifier: "issue-pull-request-templates" +--- + +# 使用 Issue 和 Pull Request 模板 + +对于一些项目,在创建 issue 或 pull request 时有一个标准的询问列表需要提交者填写。Gitea 支持添加此类模板至 repository 的主分支,以便提交者在创建 issue 或 pull request 时可以自动生成一个需要完成的表单,这么做可以减少一些前期关于 issue 抑或 pull request 细节上的沟通成本。 + +以下罗列了一些可供参考的 issue 模板: + +* ISSUE_TEMPLATE.md +* issue_template.md +* .gitea/ISSUE_TEMPLATE.md +* .gitea/issue_template.md +* .github/ISSUE_TEMPLATE.md +* .github/issue_template.md + + +以下罗列了一些可供参考的 PR 模板: + +* PULL_REQUEST_TEMPLATE.md +* pull_request_template.md +* .gitea/PULL_REQUEST_TEMPLATE.md +* .gitea/pull_request_template.md +* .github/PULL_REQUEST_TEMPLATE.md +* .github/pull_request_template.md |