Configure and add Towncrier files #273
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes #270 and contains the following changes:
changelog.d/.gitignoreto keep this directorychangelog.d/README.rstwith some descriptionschangelog.d/_template.rstas Towncrier template[tool.towncrier]section inpyproject.tomltox.ini. Use it liketox -e changelog -- CMDwhereas CMD is a towncrier command. The defaulttox -e changelogcalls towncrier to create a draft of the changelog file and output it to stdout.changelog.d/README.rst@python-semver/reviewers @tlaferriere this PR is an attempt to show how this could work.
The
changelog.ddirectory contains some example files whereas only file270.feature.rstis "real", the other newsfragments will be removed before merging to master.I've documented the procedure, see
changelog.d/README.rst. If you prefer to read it as HTML, build the documentation withtox -e docsand look into "Contributing to semver" / "Changelog".Would like to hear your ideas, feedback, or comments. Thank you!