Skip to content

Commit

Permalink
update contrib guidelines to match new sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael H committed Jul 16, 2019
1 parent 3b9327b commit 8bd3f55
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
11 changes: 7 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,20 @@ Whenever you pull from upstream (V3/develop on the main repository) and you noti

Red uses towncrier to create changelogs

To create a towncrier entry for your PR, create a file in `changelog.d` for it.
To create a towncrier entry for your PR, create a file in `changelog.d` for it. If the changes are for a specific cog, place the file in the related subdirectory.

The filename should be of the format `issuenumber.changetype.rst`

You can create multiple entries if your PR fixes multiple things at once, but unless the fixes
are strongly related, it is better to make multiple PRs
You can create multiple entries if your PR should show up in multiple categories.

Valid changetypes are:

* breaking : Breaking changes
* dep : Changes to dependencies
* enhance : Enhancements
* feature : New features
* bugfix : Bugfixes
* doc : documentation improvements and additions
* docs : documentation improvements and additions
* removal : removal of something
* misc : any changes which don't have a user facing change, and don't belong in the changelog for users.

Expand Down
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,12 @@
showcontent = true

[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
directory = "bugfix"
name = "Bug Fixes"
showcontent = true

[[tool.towncrier.type]]
directory = "fix"
name = "Fixes"
showcontent = true

[[tool.towncrier.type]]
directory = "enhancements"
directory = "enhance"
name = "Enhancements"
showcontent = true

Expand All @@ -120,6 +115,11 @@
showcontent = false

[[tool.towncrier.type]]
directory = "dependency"
directory = "dep"
name = "Changes to dependencies"
showcontent = true

[[tool.towncrier.type]]
directory = "docs"
name = "Documentation Changes"
showcontent = true

0 comments on commit 8bd3f55

Please sign in to comment.