Polished issue template

This commit is contained in:
squidfunk 2021-06-29 10:50:49 +02:00
parent 0de370d37d
commit d1419dbbcf

View File

@ -1,95 +1,76 @@
name: Bug Report name: Bug Report
description: Report a bug description: Report a bug
body: body:
- type: markdown - type: checkboxes
attributes: attributes:
value: |- label: Accept the contribution guidelines
### ⚠️ WARNING description: Please read the contribution guidelines before proceeding.
Half of all issues created do not contain enough to help or are not appropriate for the issue tracker (i.e. one-line questions).
If you think you found a bug, follow the steps outlined below closely.
Any issue that does not meet these conditions may be closed unnoticed.
Why? Because the maintainers of this project are wasting a lot of time answering questions that are not directly related to this project.
If you have a question, please ask your question over in [Discussions](https://github.com/squidfunk/mkdocs-material/discussions), so other users can help you work towards a solution.
- type: checkboxes
attributes:
label: Read and understand the Contributing guidelines
description: You need to have read the contributing guidelines in order to proceed.
options: options:
- label: I've read the [contribution Guidelines](https://github.com/squidfunk/mkdocs-material/blob/master/CONTRIBUTING.md) and agree with them - label: I've read the [contribution guidelines](https://github.com/squidfunk/mkdocs-material/blob/master/CONTRIBUTING.md) and wholeheartedly agree
required: true required: true
- type: checkboxes - type: checkboxes
attributes: attributes:
label: I've found a bug and checked that ... label: I've found a bug and checked that ...
description: Make sure that your request fulfills ALL of the following requirements. If one requirement cannot be satisfied, please explain in detail why. description: Make sure that your request fulfills all of the following requirements. If one requirement cannot be satisfied, you must explain in detail why.
options: options:
- label: ... the problem doesn't occur with the default MkDocs template - label: ... the problem doesn't occur with the `mkdocs` or `readthedocs` themes
- label: ... the problem is not in any of my customizations (CSS, JS, template) - label: ... the problem persists, even when I remove all of my overrides (`custom_dir`, ...)
- label: ... the documentation does not mention anything about my problem - label: ... the documentation does not mention anything about my problem
- label: ... there are no open or closed issues that are related to my problem. - label: ... there are no open or closed issues that are related to my problem
- type: textarea - type: textarea
attributes: attributes:
label: Description label: Description
description: Please provide a breif description of the bug. description: Please provide a brief (1-2 sentence) description of the bug
placeholder: Material for MkDocs does ...
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: Expected behaviour label: Expected behaviour
description: Please describe what you expect to happen. description: Please describe what you'd expect to happen
placeholder: Material for MkDocs should...
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: Actual Behaviour label: Actual behaviour
description: Please describe what is actually happening. description: Please describe what is actually happening
placeholder: Material for MkDocs instead does ...
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: Steps to reproduce label: Steps to reproduce
description: Please provide the steps to reproduce the issue. description: Please provide the steps necessary to reproduce the bug
placeholder: |- placeholder: |-
1. ... 1. ...
2. ... 2. ...
3. ... 3. ...
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: Package versions label: Package versions
description: |- description: Please provide all package versions (run the commands in backticks)
Please provide all required package versions.
- For Python, run `python --version`
- For MkDocs, run `mkdocs --version`
- For Material for MkDocs, run `pip show mkdocs-material | grep -E ^Version`
value: |- value: |-
- Python: `<python version>` - Python: `python --version`
- MkDocs: `<mkdocs version>` - MkDocs: `mkdocs --version`
- Material: `<material version>` - Material: `pip show mkdocs-material | grep -E ^Version`
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: Configuration label: Configuration
description: Please provide your mkdocs.yml to a reasonable amount of detail. description: Please provide your `mkdocs.yml` to a reasonable amount of detail
placeholder: |- placeholder: |-
site_name: My Docs site_name: My Docs
site_url: https://example.com/docs site_url: https://example.com/docs
render: yaml render: yaml
validations: validations:
required: true required: true
- type: textarea - type: textarea
attributes: attributes:
label: System information label: System information
description: Please provide your operating system and browser type and version. description: Please provide your operating system and browser type and version
value: |- value: |-
- OS: `<operating system>` - Operating system: ...
- Browser: `<browser version>` - Browser: ...
validations: validations:
required: true required: true