Unverified Commit 4760b6e7 authored by Richard Si's avatar Richard Si Committed by GitHub
Browse files

Fix issue templates + add docs template (#2399)

The template weren't applying the default labels ever since I renamed
the labels.

There has been enough issues about documentation opened recently so it's
probably worth a template for it.
parent 982e7fd9
Loading
Loading
Loading
Loading
+2 −2
Changes for .github/ISSUE_TEMPLATE/bug_report.md: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
---
name: Bug report
about: Create a report to help us improve
about: Create a report to help us improve Black's quality
title: ""
labels: bug
labels: "T: bug"
assignees: ""
---

+12 −0
Changes for .github/ISSUE_TEMPLATE/config.yml: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
# See also: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

# This is the default and blank issues are useful so let's keep 'em.
blank_issues_enabled: true

contact_links:
  - name: Chat on Python Discord
    url: https://discord.gg/RtVdv86PrH
    about: |
      User support, questions, and other lightweight requests can be
      handled via the \#black-formatter text channel we have on Python
      Discord.
+27 −0
Changes for .github/ISSUE_TEMPLATE/docs-issue.md: 27 added lines, 0 removed lines.
Original line number Diff line number Diff line
---
name: Documentation
about: Report a problem with or suggest something for the documentation
title: ""
labels: "T: documentation"
assignees: ""
---

**Is this related to a problem? Please describe.**

<!-- A clear and concise description of what the problem is.
e.g. I'm always frustrated when [...] / I wished that [...] -->

**Describe the solution you'd like**

<!-- A clear and concise description of what you want to
happen or see changed. -->

**Describe alternatives you've considered**

<!-- A clear and concise description of any
alternative solutions or features you've considered. -->

**Additional context**

<!-- Add any other context or screenshots about the issue
here. -->
+1 −1
Changes for .github/ISSUE_TEMPLATE/feature_request.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
name: Feature request
about: Suggest an idea for this project
title: ""
labels: enhancement
labels: "T: enhancement"
assignees: ""
---

+1 −1
Changes for .github/ISSUE_TEMPLATE/style_issue.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
name: Style issue
about: Help us improve the Black style
title: ""
labels: design
labels: "T: design"
assignees: ""
---