Skip to content

Commit 74b0d39

Browse files
committedJun 21, 2023
Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83.
Renamed CHANGES.rst to NEWS.rst to align with towncrier defaults.
1 parent 241541c commit 74b0d39

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed
 

‎CHANGES.rst ‎NEWS.rst

File renamed without changes.

‎docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Link dates and other references in the changelog
1010
extensions += ['rst.linker']
1111
link_files = {
12-
'../CHANGES.rst': dict(
12+
'../NEWS.rst': dict(
1313
using=dict(GH='https://github.com'),
1414
replace=[
1515
dict(

‎docs/history.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
History
66
*******
77

8-
.. include:: ../CHANGES (links).rst
8+
.. include:: ../NEWS (links).rst

‎towncrier.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tool.towncrier]
2+
title_format = "{version}"

‎tox.ini

+9
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ commands =
2525
python -m sphinx -W --keep-going . {toxinidir}/build/html
2626
python -m sphinxlint
2727

28+
[testenv:finalize]
29+
skip_install = True
30+
deps =
31+
towncrier
32+
jaraco.develop
33+
passenv = *
34+
commands =
35+
python -m jaraco.develop.towncrier build --yes
36+
2837
[testenv:release]
2938
skip_install = True
3039
deps =

0 commit comments

Comments
 (0)
Please sign in to comment.