mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Create issue forms (#595)
* See: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
This commit is contained in:
parent
ae3e3a52f9
commit
0e0ebc0723
65
.github/ISSUE_TEMPLATE/bug-report.md
vendored
65
.github/ISSUE_TEMPLATE/bug-report.md
vendored
@ -1,65 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug Report
|
|
||||||
about: Something isn't working as expected
|
|
||||||
title: ''
|
|
||||||
labels: Bug
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.
|
|
||||||
请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。
|
|
||||||
|
|
||||||
## Issue Checklist <!-- 我确认我已经查看了 -->
|
|
||||||
<!-- Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) -->
|
|
||||||
|
|
||||||
- [ ] I am using NexT version 8.0 or later.
|
|
||||||
- [ ] I have already read the [Troubleshooting page of Hexo](https://hexo.io/docs/troubleshooting) and [Troubleshooting page of NexT](https://theme-next.js.org/docs/troubleshooting.html).
|
|
||||||
- [ ] I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me.
|
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
## Expected behavior <!-- 预期行为 -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Actual behavior <!-- 实际行为 -->
|
|
||||||
<!-- Please provide the following information (请同时提供网站链接和屏幕截图) -->
|
|
||||||
|
|
||||||
- Links to demo site with this issue:
|
|
||||||
- Links to repository or source code of the blog:
|
|
||||||
- Screenshots:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Steps to reproduce the behavior <!-- 重现步骤 -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Environment Information
|
|
||||||
|
|
||||||
### Node.js and NPM Information
|
|
||||||
<!-- Paste output from `node -v && npm -v` (粘贴 `node -v && npm -v` 输出的信息) -->
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### Package dependencies Information
|
|
||||||
<!-- Paste output from `npm ls --depth 0` in Hexo root directory (粘贴在 Hexo 根目录下 `npm ls --depth 0` 输出的信息) -->
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### Hexo Configuration
|
|
||||||
<!-- Paste configuration from Hexo `_config.yml` (粘贴 Hexo `_config.yml` 中的内容) -->
|
|
||||||
```yml
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### NexT Configuration
|
|
||||||
<!-- Paste ONLY CHANGED CONFIGURATION from NexT `_config.yml` (只粘贴 NexT 主题配置文件 `_config.yml` 中修改过的部分) -->
|
|
||||||
```yml
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## Other Information <!-- e.g. Browser, System -->
|
|
||||||
97
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
97
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
name: Bug report
|
||||||
|
description: Something isn't working as expected
|
||||||
|
#title: ""
|
||||||
|
labels:
|
||||||
|
- Bug
|
||||||
|
#assignees: ""
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
id: overall
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.
|
||||||
|
请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。
|
||||||
|
- type: checkboxes
|
||||||
|
id: checklist
|
||||||
|
attributes:
|
||||||
|
label: Issue Checklist
|
||||||
|
description: |
|
||||||
|
(我确认我已经查看了)
|
||||||
|
options:
|
||||||
|
- label: I am using NexT version 8.0 or later.
|
||||||
|
required: true
|
||||||
|
- label: I have already read the [Troubleshooting page of Hexo](https://hexo.io/docs/troubleshooting) and [Troubleshooting page of NexT](https://theme-next.js.org/docs/troubleshooting.html).
|
||||||
|
required: true
|
||||||
|
- label: I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me.
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: expected-behavior
|
||||||
|
attributes:
|
||||||
|
label: Expected behavior
|
||||||
|
description: "(预期行为)"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: actual-behavior
|
||||||
|
attributes:
|
||||||
|
label: Actual behavior
|
||||||
|
description: |
|
||||||
|
(实际行为)
|
||||||
|
Please provide the following information (请同时提供网站链接和屏幕截图)
|
||||||
|
value: |
|
||||||
|
- Links to demo site with this issue:
|
||||||
|
- Links to repository or source code of the blog:
|
||||||
|
- Screenshots:
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: reproduce
|
||||||
|
attributes:
|
||||||
|
label: Steps to reproduce the behavior
|
||||||
|
description: "(重现步骤)"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: markdown
|
||||||
|
id: env
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
## Environment Information
|
||||||
|
- type: textarea
|
||||||
|
id: nodejs-info
|
||||||
|
attributes:
|
||||||
|
label: Node.js and NPM Information
|
||||||
|
description: "Paste output from `node -v && npm -v` (粘贴 `node -v && npm -v` 输出的信息)"
|
||||||
|
render: Text
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: dependencies
|
||||||
|
attributes:
|
||||||
|
label: Package dependencies Information
|
||||||
|
description: "Paste output from `npm ls --depth 0` in Hexo root directory (粘贴在 Hexo 根目录下 `npm ls --depth 0` 输出的信息)"
|
||||||
|
render: Text
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: hexo-config
|
||||||
|
attributes:
|
||||||
|
label: Hexo Configuration
|
||||||
|
description: "Paste configuration from Hexo `_config.yml` (粘贴 Hexo `_config.yml` 中的内容)"
|
||||||
|
render: YAML
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: next-config
|
||||||
|
attributes:
|
||||||
|
label: NexT Configuration
|
||||||
|
description: "Paste ONLY CHANGED CONFIGURATION from NexT `_config.yml` (只粘贴 NexT 主题配置文件 `_config.yml` 中修改过的部分)"
|
||||||
|
render: YAML
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: other-info
|
||||||
|
attributes:
|
||||||
|
label: Other Information
|
||||||
|
description: "e.g. Browser, System"
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
39
.github/ISSUE_TEMPLATE/feature-request.md
vendored
39
.github/ISSUE_TEMPLATE/feature-request.md
vendored
@ -1,39 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature Request
|
|
||||||
about: Suggest an idea for this project
|
|
||||||
title: ''
|
|
||||||
labels: Feature Request
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.
|
|
||||||
请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。
|
|
||||||
|
|
||||||
## Issue Checklist <!-- 我确认我已经查看了 -->
|
|
||||||
<!-- Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) -->
|
|
||||||
|
|
||||||
- [ ] I am using NexT version 8.0 or later.
|
|
||||||
- [ ] I have already read the relevant documents of [Hexo](https://hexo.io/docs/) and [NexT](https://theme-next.js.org/docs/).
|
|
||||||
- [ ] I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me.
|
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
## Expected behavior <!-- 预期行为 -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Actual behavior <!-- 实际行为 -->
|
|
||||||
<!-- Please provide the following information (请同时提供网站链接和屏幕截图) -->
|
|
||||||
|
|
||||||
- Links to demo site with this issue:
|
|
||||||
- Links to repository or source code of the blog:
|
|
||||||
- Screenshots:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Steps to reproduce the behavior <!-- 重现步骤 -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Other Information <!-- e.g. Browser, System -->
|
|
||||||
60
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
Normal file
60
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
name: Feature Request
|
||||||
|
description: Suggest an idea for this project
|
||||||
|
#title: ""
|
||||||
|
labels:
|
||||||
|
- Feature Request
|
||||||
|
#assignees: ""
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
id: overall
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.
|
||||||
|
请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。
|
||||||
|
- type: checkboxes
|
||||||
|
id: checklist
|
||||||
|
attributes:
|
||||||
|
label: Issue Checklist
|
||||||
|
description: |
|
||||||
|
(我确认我已经查看了)
|
||||||
|
options:
|
||||||
|
- label: I am using NexT version 8.0 or later.
|
||||||
|
required: true
|
||||||
|
- label: I have already read the [Troubleshooting page of Hexo](https://hexo.io/docs/troubleshooting) and [Troubleshooting page of NexT](https://theme-next.js.org/docs/troubleshooting.html).
|
||||||
|
required: true
|
||||||
|
- label: I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me.
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: expected-behavior
|
||||||
|
attributes:
|
||||||
|
label: Expected behavior
|
||||||
|
description: "(预期行为)"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: actual-behavior
|
||||||
|
attributes:
|
||||||
|
label: Actual behavior
|
||||||
|
description: |
|
||||||
|
(实际行为)
|
||||||
|
Please provide the following information (请同时提供网站链接和屏幕截图)
|
||||||
|
value: |
|
||||||
|
- Links to demo site with this issue:
|
||||||
|
- Links to repository or source code of the blog:
|
||||||
|
- Screenshots:
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: reproduce
|
||||||
|
attributes:
|
||||||
|
label: Steps to reproduce the behavior
|
||||||
|
description: "(重现步骤)"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: other-info
|
||||||
|
attributes:
|
||||||
|
label: Other Information
|
||||||
|
description: "e.g. Browser, System"
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
22
.github/ISSUE_TEMPLATE/other.md
vendored
22
.github/ISSUE_TEMPLATE/other.md
vendored
@ -1,22 +0,0 @@
|
|||||||
---
|
|
||||||
name: Other
|
|
||||||
about: Not a feature request or bug report
|
|
||||||
title: ''
|
|
||||||
labels: Question
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.
|
|
||||||
请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。
|
|
||||||
|
|
||||||
## Issue Checklist <!-- 我确认我已经查看了 -->
|
|
||||||
<!-- Change [ ] to [x] to select (将 [ ] 换成 [x] 来选择) -->
|
|
||||||
|
|
||||||
- [ ] I am using NexT version 8.0 or later.
|
|
||||||
- [ ] I have already read the relevant documents of [Hexo](https://hexo.io/docs/) and [NexT](https://theme-next.js.org/docs/).
|
|
||||||
- [ ] I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me.
|
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
## Other Information <!-- e.g. Browser, System -->
|
|
||||||
33
.github/ISSUE_TEMPLATE/other.yml
vendored
Normal file
33
.github/ISSUE_TEMPLATE/other.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
name: Other
|
||||||
|
description: Not a feature request or bug report
|
||||||
|
#title: ""
|
||||||
|
labels:
|
||||||
|
- Question
|
||||||
|
#assignees: ""
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
id: overall
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.
|
||||||
|
请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。
|
||||||
|
- type: checkboxes
|
||||||
|
id: checklist
|
||||||
|
attributes:
|
||||||
|
label: Issue Checklist
|
||||||
|
description: |
|
||||||
|
(我确认我已经查看了)
|
||||||
|
options:
|
||||||
|
- label: I am using NexT version 8.0 or later.
|
||||||
|
required: true
|
||||||
|
- label: I have already read the [Troubleshooting page of Hexo](https://hexo.io/docs/troubleshooting) and [Troubleshooting page of NexT](https://theme-next.js.org/docs/troubleshooting.html).
|
||||||
|
required: true
|
||||||
|
- label: I have already searched for current [issues](https://github.com/next-theme/hexo-theme-next/issues), which does not help me.
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: other-info
|
||||||
|
attributes:
|
||||||
|
label: Other Information
|
||||||
|
description: "e.g. Browser, System"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
Loading…
x
Reference in New Issue
Block a user