Skip to content

Commit 3977cea

Browse files
pllimeteq
authored andcommitted
Merge pull request #11726 from Cadair/sphinx-changelog11
Updates for testing towncrier 21.3
1 parent e1ff03e commit 3977cea

4 files changed

Lines changed: 16 additions & 89 deletions

File tree

‎CHANGES.rst‎

Lines changed: 3 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
4.2.1 (2021-4-1)
2-
================
1+
4.2.1 (2021-04-01)
2+
==================
33

44
Bug Fixes
55
---------
@@ -767,97 +767,12 @@ Other Changes and Additions
767767

768768
- Removed dependency on scikit-image. [#10214]
769769

770-
771-
4.0.6 (unreleased)
770+
4.0.5 (2021-03-26)
772771
==================
773772

774773
Bug Fixes
775774
---------
776775

777-
astropy.config
778-
^^^^^^^^^^^^^^
779-
780-
astropy.constants
781-
^^^^^^^^^^^^^^^^^
782-
783-
astropy.convolution
784-
^^^^^^^^^^^^^^^^^^^
785-
786-
astropy.coordinates
787-
^^^^^^^^^^^^^^^^^^^
788-
789-
astropy.cosmology
790-
^^^^^^^^^^^^^^^^^
791-
792-
astropy.extern
793-
^^^^^^^^^^^^^^
794-
795-
astropy.io.ascii
796-
^^^^^^^^^^^^^^^^
797-
798-
astropy.io.fits
799-
^^^^^^^^^^^^^^^
800-
801-
astropy.io.misc
802-
^^^^^^^^^^^^^^^
803-
804-
astropy.io.registry
805-
^^^^^^^^^^^^^^^^^^^
806-
807-
astropy.io.votable
808-
^^^^^^^^^^^^^^^^^^
809-
810-
astropy.modeling
811-
^^^^^^^^^^^^^^^^
812-
813-
astropy.nddata
814-
^^^^^^^^^^^^^^
815-
816-
astropy.samp
817-
^^^^^^^^^^^^
818-
819-
astropy.stats
820-
^^^^^^^^^^^^^
821-
822-
astropy.table
823-
^^^^^^^^^^^^^
824-
825-
astropy.tests
826-
^^^^^^^^^^^^^
827-
828-
astropy.time
829-
^^^^^^^^^^^^
830-
831-
astropy.timeseries
832-
^^^^^^^^^^^^^^^^^^
833-
834-
astropy.uncertainty
835-
^^^^^^^^^^^^^^^^^^^
836-
837-
astropy.units
838-
^^^^^^^^^^^^^
839-
840-
astropy.utils
841-
^^^^^^^^^^^^^
842-
843-
astropy.visualization
844-
^^^^^^^^^^^^^^^^^^^^^
845-
846-
astropy.wcs
847-
^^^^^^^^^^^
848-
849-
850-
Other Changes and Additions
851-
---------------------------
852-
853-
854-
855-
4.0.5 (2021-3-26)
856-
=================
857-
858-
Bug Fixes
859-
---------
860-
861776
astropy.io.fits
862777
^^^^^^^^^^^^^^^
863778

‎docs/changes/template.rst‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
{% if top_line %}
2+
{{ top_line }}
3+
{{ top_underline * ((top_line)|length)}}
4+
{% elif versiondata.name %}
5+
{{ versiondata.name }} {{ versiondata.version }} ({{ versiondata.date }})
6+
{{ top_underline * ((versiondata.name + versiondata.version + versiondata.date)|length + 4)}}
7+
{% else %}
8+
{{ versiondata.version }} ({{ versiondata.date }})
9+
{{ top_underline * ((versiondata.version + versiondata.date)|length + 3)}}
10+
{% endif %}
11+
112
{% for category, val in definitions.items() %}
213
{% set underline = underlines[0] %}
314
{{ definitions[category]['name'] }}

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ build-backend = 'setuptools.build_meta'
2222
directory = "docs/changes"
2323
underlines = "=-^"
2424
template = "docs/changes/template.rst"
25+
title_format = "{version} ({project_date})"
2526

2627
[[tool.towncrier.type]]
2728
directory = "feature"

‎setup.cfg‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ docs =
8585
PyYAML>=3.13
8686
scipy>=1.1
8787
matplotlib>=3.1,!=3.4.0
88-
sphinx-changelog
88+
sphinx-changelog>=1.1.0
8989
packaging
9090

9191
[options.package_data]

0 commit comments

Comments
 (0)