Skip to content

Commit 47a42a6

Browse files
committed
Merge remote-tracking branch 'upstream/master' into path-traversal
2 parents 4920484 + ea4f63c commit 47a42a6

File tree

140 files changed

+869
-678
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+869
-678
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 93 deletions
This file was deleted.
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
name: Bug report
2+
description: Something isn't working as expected.
3+
# title: ""
4+
# labels: []
5+
# assignees: []
6+
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
## Tips
12+
13+
- 给简体中文用户的提示:
14+
15+
- 在提交 issue 时请按照下面的模板提供相关信息,这将有助于我们发现问题。
16+
- 请尽量使用英语描述你遇到的问题,这可以让更多的人帮助到你。
17+
18+
- A good bug report should have your configuration and build environment information, which are essential for us to investigate the problem. We've provided the following steps on how to attach the necessary information.
19+
20+
- If you find that markdown files are not rendered as expected, please go to https://marked.js.org/demo/ to see if it can be reproduced there. If it can be reproduced, please file a bug to https://github.com/markedjs/marked.
21+
22+
- If you want help on your bug, please also send us the git repository (GitHub, GitLab, Bitbucket, etc.) where your hexo code is stored. It would greatly help. If you prefer not to have your hexo code out in public, please upload to a private GitHub repository and grant read-only access to `hexojs/core`.
23+
24+
- Please take extra precaution not to attach any secret or personal information. (likes personal privacy, password, GitHub Personal Access Token, etc.)
25+
26+
------
27+
28+
- type: checkboxes
29+
validations:
30+
required: true
31+
attributes:
32+
label: Check List
33+
description: Please check followings before submitting a new issue.
34+
options:
35+
- label: I have already read [Docs page](https://hexo.io/docs/) & [Troubleshooting page](https://hexo.io/docs/troubleshooting).
36+
- label: I have already searched existing issues and they are not help to me.
37+
- label: I examined error or warning messages and it's difficult to solve.
38+
- label: I am using the [latest](https://github.com/hexojs/hexo/releases) version of Hexo. (run `hexo version` to check)
39+
- label: My Node.js is matched [the required version](https://hexo.io/docs/#Required-Node-js-version).
40+
41+
- type: textarea
42+
validations:
43+
required: true
44+
attributes:
45+
label: Expected behavior
46+
# description:
47+
placeholder: Descripe what you expected to happen.
48+
# value:
49+
# render:
50+
51+
- type: textarea
52+
validations:
53+
required: true
54+
attributes:
55+
label: Actual behavior
56+
# description:
57+
placeholder: Descripe what actually happen.
58+
# value:
59+
# render:
60+
61+
- type: textarea
62+
validations:
63+
required: true
64+
attributes:
65+
label: How to reproduce?
66+
description: How do you trigger this bug? Please walk us through it step by step.
67+
placeholder: |
68+
1. Step1
69+
2. Step2
70+
3. etc.
71+
...
72+
# value:
73+
# render:
74+
75+
- type: input
76+
validations:
77+
required: true
78+
attributes:
79+
label: Is the problem still there under `Safe mode`?
80+
description: |
81+
https://hexo.io/docs/commands#Safe-mode
82+
83+
"Safe mode" will disable all the plugins and scripts.
84+
If your problem disappear under "Safe mode" means the problem is probably at your newly installed plugins, not at hexo.
85+
# placeholder:
86+
# value: |
87+
# render:
88+
89+
- type: markdown
90+
attributes:
91+
value: |
92+
------
93+
94+
## Environment & Settings
95+
96+
- type: textarea
97+
validations:
98+
required: false
99+
attributes:
100+
label: Your Node.js & npm version
101+
description: |
102+
Please run `node -v && npm -v`
103+
and paste the output here.
104+
placeholder: node -v && npm -v
105+
# value: |
106+
render: text
107+
108+
- type: textarea
109+
validations:
110+
required: false
111+
attributes:
112+
label: Your Hexo and Plugin version
113+
description: |
114+
Please run `npm ls --depth 0`
115+
and paste the output here.
116+
placeholder: npm ls --depth 0
117+
# value:
118+
render: text
119+
120+
- type: textarea
121+
validations:
122+
required: false
123+
attributes:
124+
label: Your `package.json`
125+
description: Please paste the content of `package.json` here.
126+
placeholder: package.json
127+
# value:
128+
render: json
129+
130+
- type: textarea
131+
validations:
132+
required: false
133+
attributes:
134+
label: Your site's `_config.yml` (Optional)
135+
description: Please paste the content of your `_config.yml` here.
136+
placeholder: _config.yml
137+
# value: |
138+
render: yaml
139+
140+
- type: textarea
141+
validations:
142+
required: false
143+
attributes:
144+
label: Others
145+
description: If you have other information. Please write here.
146+
# placeholder:
147+
# value:
148+
# render:

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Ask a Question, Help, Discuss
44
url: https://github.com/hexojs/hexo/discussions
5-
about: I have a question, help for hexo (e.g. Customize)
5+
about: I have a question, help for hexo (e.g. Customize)

.github/ISSUE_TEMPLATE/feature-request-improvement.md

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Feature request / Improvement
2+
description: I have a feature request, suggestion, improvement etc...
3+
# title: ""
4+
# labels: []
5+
# assignees: []
6+
7+
body:
8+
- type: checkboxes
9+
validations:
10+
required: true
11+
attributes:
12+
label: Check List
13+
description: Please check followings before submitting a new feature request.
14+
options:
15+
- label: I have already read [Docs page](https://hexo.io/docs/).
16+
- label: I have already searched existing issues.
17+
18+
- type: textarea
19+
validations:
20+
required: true
21+
attributes:
22+
label: Feature Request
23+
description: Descripe the feature and why it is needed.
24+
# placeholder:
25+
# value:
26+
# render:
27+
28+
- type: textarea
29+
validations:
30+
required: false
31+
attributes:
32+
label: Others
33+
description: If you have other information. Please write here.
34+
# placeholder:
35+
# value:
36+
# render:

.github/ISSUE_TEMPLATE/other.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)