Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feature/2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Oct 12, 2023
2 parents 5ef7c33 + 41868a5 commit 52d8774
Show file tree
Hide file tree
Showing 11 changed files with 466 additions and 491 deletions.
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

94 changes: 94 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Bug Report
description: File a bug report / 报告错误
title: 'bug: '
labels: ['unconfirmed']
body:
- type: markdown
attributes:
value: |
The issue list is reserved exclusively for bug reports and feature requests. That means we do not accept usage questions, for usage questions, please use the following resources:
- Read the [guide documentation](https://d.umijs.org/guide) or search documentation via issue keywords
- Make sure you have search your question in [FAQ](https://d.umijs.org/guide/faq) and [release notes](https://github.com/umijs/dumi/releases)
- Look for ask questions in [Discussions](https://github.com/umijs/dumi/discussions)
Also try to search for your issue - it may have already been answered or even fixed in the development branch. However, if you find that an old, closed issue still persists in the latest version, you should open a new issue using the form below instead of commenting on the old issue.
---
dumi 的 issue 列表只接受 Bug 报告或是新功能请求 (Feature Request)。这意味着我们不接受用法问题(How to 类问题),对于使用中遇到的问题,请使用以下资源:
- 仔细阅读 [指南文档](https://d.umijs.org/guide) 或使用官网搜索问题关键字
- 提问前确保你在 [FAQ](https://d.umijs.org/guide/faq) 和 [发布日志](https://github.com/umijs/dumi/releases) 中搜索过
- 在 [Discussions](https://github.com/umijs/dumi/discussions) 搜索和提问
最后,在开 issue 前,可以先搜索一下以往的旧 issue - 你遇到的问题可能已经有人提了,也可能已经在最新版本中被修正。注意:如果你发现一个已经关闭的旧 issue 在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该用下面的表单开一个新的 issue。
- type: input
id: version
attributes:
label: Version
description: dumi version you now use
placeholder: ex. 2.2.12
validations:
required: true

- type: input
id: os
attributes:
label: OS Version
description: Operation system version you now use
placeholder: ex. macOS 14.0.0
validations:
required: true

- type: input
id: node
attributes:
label: Node.js Version
description: Node.js version you now use
placeholder: ex. 18.0.0
validations:
required: true

- type: input
id: browser
attributes:
label: Browser Version
description: Browser version you now use
placeholder: ex. Firefox 118.0.0
validations:
required: true

- type: input
id: reproduction
attributes:
label: Link to minimal reproduction
description: The minimal repository link to reproduce this issue
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to reproduce
validations:
required: true

- type: textarea
id: expected
attributes:
label: What is expected?
validations:
required: true

- type: textarea
id: happened
attributes:
label: What is actually happening?
validations:
required: true

- type: textarea
id: additional
attributes:
label: Any additional comments? (optional)
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Github Discussions
url: https://github.com/umijs/dumi/discussions
about: Ask or answer usage questions / 交流使用问题
18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature Request
description: Request a new feature / 提出新功能请求
title: 'feat: '
labels: ['enhancement']
body:
- type: markdown
attributes:
value: |
The issue list is reserved exclusively for bug reports and feature requests. That means we do not accept usage questions, for usage questions, please use the following resources:
- Read the [guide documentation](https://d.umijs.org/guide) or search documentation via issue keywords
- Make sure you have search your question in [FAQ](https://d.umijs.org/guide/faq) and [release notes](https://github.com/umijs/dumi/releases)
- Look for ask questions in [Discussions](https://github.com/umijs/dumi/discussions)
Also try to search for your issue - it may have already been answered or even fixed in the development branch. However, if you find that an old, closed issue still persists in the latest version, you should open a new issue using the form below instead of commenting on the old issue.
---
dumi 的 issue 列表只接受 Bug 报告或是新功能请求 (Feature Request)。这意味着我们不接受用法问题(How to 类问题),对于使用中遇到的问题,请使用以下资源:
- 仔细阅读 [指南文档](https://d.umijs.org/guide) 或使用官网搜索问题关键字
- 提问前确保你在 [FAQ](https://d.umijs.org/guide/faq) 和 [发布日志](https://github.com/umijs/dumi/releases) 中搜索过
- 在 [Discussions](https://github.com/umijs/dumi/discussions) 搜索和提问
最后,在开 issue 前,可以先搜索一下以往的旧 issue - 你遇到的问题可能已经有人提了,也可能已经在最新版本中被修正。注意:如果你发现一个已经关闭的旧 issue 在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该用下面的表单开一个新的 issue。
- type: textarea
id: description
attributes:
label: What problem does this feature solve?
validations:
required: true

- type: textarea
id: solution
attributes:
label: Possible Solution (optional)
9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dumi",
"version": "2.2.12",
"version": "2.2.13",
"description": "📖 Documentation Generator of React Component",
"keywords": [
"generator",
Expand Down Expand Up @@ -82,9 +82,9 @@
"@swc/core": "1.3.72",
"@types/hast": "^2.3.5",
"@types/mdast": "^3.0.12",
"@umijs/bundler-utils": "^4.0.83",
"@umijs/core": "^4.0.83",
"@umijs/utils": "^4.0.83",
"@umijs/bundler-utils": "^4.0.84",
"@umijs/core": "^4.0.84",
"@umijs/utils": "^4.0.84",
"animated-scroll-to": "^2.3.0",
"classnames": "2.3.2",
"codesandbox": "^2.2.3",
Expand Down Expand Up @@ -132,7 +132,7 @@
"remark-rehype": "^10.1.0",
"sass": "^1.64.1",
"sitemap": "^7.1.1",
"umi": "^4.0.83",
"umi": "^4.0.84",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2",
"unist-util-visit-parents": "^5.1.3",
Expand All @@ -152,7 +152,7 @@
"@types/pluralize": "^0.0.30",
"@types/react": "^18.2.17",
"@types/react-copy-to-clipboard": "^5.0.4",
"@umijs/lint": "^4.0.83",
"@umijs/lint": "^4.0.84",
"@umijs/plugins": "4.0.32",
"dumi-theme-mobile": "workspace:*",
"eslint": "^8.46.0",
Expand Down
Loading

0 comments on commit 52d8774

Please sign in to comment.