From 29dcb35749c10a9341787b6c909a852139885bba Mon Sep 17 00:00:00 2001 From: Grey Li Date: Tue, 11 May 2021 09:23:56 +0800 Subject: [PATCH] Update issue templates --- .github/ISSUE_TEMPLATE/config.yml | 5 +++++ .github/ISSUE_TEMPLATE/errata.md | 13 ++++--------- .github/ISSUE_TEMPLATE/other.md | 10 ---------- .github/ISSUE_TEMPLATE/question.md | 17 ----------------- 4 files changed, 9 insertions(+), 36 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/other.md delete mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..ba394fbc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: 问题、讨论、分享和其他相关想法 + url: https://github.com/greyli/helloflask/discussions + about: 如果是提问,请给出尽可能详细的相关信息(包括相关代码、命令、命令行输出、完整错误堆栈、操作系统/Python 版本/相关库版本等)。 diff --git a/.github/ISSUE_TEMPLATE/errata.md b/.github/ISSUE_TEMPLATE/errata.md index 59a8e76f..055a83cb 100644 --- a/.github/ISSUE_TEMPLATE/errata.md +++ b/.github/ISSUE_TEMPLATE/errata.md @@ -4,15 +4,10 @@ about: 书中的错误和笔误反馈。 title: '' labels: errata assignees: '' - --- -## Meta - -- 版本: -- 页码: -- 章节号或位置描述: - -P.S. 版本号可以在前言前一页「版次」位置看到,第一版第三次印刷即 1-3 版本。电子书版本则注明大致的购买时间即可,页码可不填。 +- 页数: -## 错误详细信息 + diff --git a/.github/ISSUE_TEMPLATE/other.md b/.github/ISSUE_TEMPLATE/other.md deleted file mode 100644 index 97d05125..00000000 --- a/.github/ISSUE_TEMPLATE/other.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Other -about: 其他不属于勘误和提问的 Issue。 -title: '' -labels: '' -assignees: '' - ---- - - diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index b84062bf..00000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Question -about: 疑问、求助和讨论。 -title: '' -labels: question -assignees: '' - ---- - -请确保提供下面的信息: - -- [ ] 如果和代码相关,给出相关代码 -- [ ] 如果时执行命令出错,给出完整的命令和输出信息 -- [ ] 如果有报错,给出完整的报错信息(文本形式) -- [ ] 如果和书相关,给出相关页数/程序/代码片段编号等信息 -- [ ] 给出使用的操作系统、Python 版本、Flask 版本 -- [ ] 其他必要的相关信息