Skip to content

Commit

Permalink
Adopt towncrier for managing changelog. Fixes #83.
Browse files Browse the repository at this point in the history
Renamed CHANGES.rst to NEWS.rst to align with towncrier defaults.
  • Loading branch information
jaraco committed Jun 21, 2023
1 parent 241541c commit e5e26a7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Link dates and other references in the changelog
extensions += ['rst.linker']
link_files = {
'../CHANGES.rst': dict(
'../NEWS.rst': dict(
using=dict(GH='https://github.com'),
replace=[
dict(
Expand Down
2 changes: 1 addition & 1 deletion docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
History
*******

.. include:: ../CHANGES (links).rst
.. include:: ../NEWS (links).rst
2 changes: 2 additions & 0 deletions towncrier.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tool.towncrier]
title_format = "{version}"
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ commands =
python -m sphinx -W --keep-going . {toxinidir}/build/html
python -m sphinxlint

[testenv:finalize]
skip_install = True
deps =
towncrier
jaraco.develop
passenv = *
commands =
python -m jaraco.develop.towncrier build

[testenv:release]
skip_install = True
deps =
Expand Down

0 comments on commit e5e26a7

Please sign in to comment.