diff --git a/docs/changes/template.rst b/docs/changes/template.rst index ed93e6a8145c..aa3092539937 100644 --- a/docs/changes/template.rst +++ b/docs/changes/template.rst @@ -21,7 +21,7 @@ {% if sections[section] and category in sections[section] %} {% if definitions[category]['showcontent'] %} {% for text, values in sections[section][category].items() %} -- {{ text }} ({{ values|join(', ') }}) +- {{ text }} [{{ values|join(', ') }}] {% endfor %} {% else %} @@ -29,7 +29,7 @@ {% endif %} {% if sections[section][category]|length == 0 %} -No significant changes plop. +No significant changes. {% else %} {% endif %} diff --git a/pyproject.toml b/pyproject.toml index bcbeb0de5cdd..70898e49e352 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,20 +23,109 @@ template = "docs/changes/template.rst" name = "New Features" showcontent = true + [[tool.towncrier.type]] + directory = "api" + name = "API Changes" + showcontent = true + [[tool.towncrier.type]] directory = "bugfix" name = "Bug Fixes" showcontent = true [[tool.towncrier.type]] - directory = "api" - name = "API Changes" + directory = "other" + name = "Other Changes and Additions" showcontent = true [[tool.towncrier.section]] name = "astropy.config" path = "config" + [[tool.towncrier.section]] + name = "astropy.constants" + path = "constants" + + [[tool.towncrier.section]] + name = "astropy.convolution" + path = "convolution" + + [[tool.towncrier.section]] + name = "astropy.coordinates" + path = "coordinates" + + [[tool.towncrier.section]] + name = "astropy.cosmology" + path = "cosmology" + + [[tool.towncrier.section]] + name = "astropy.extern" + path = "extern" + + [[tool.towncrier.section]] + name = "astropy.io.ascii" + path = "io.ascii" + [[tool.towncrier.section]] name = "astropy.io.fits" path = "io.fits" + + [[tool.towncrier.section]] + name = "astropy.io.misc" + path = "io.misc" + + [[tool.towncrier.section]] + name = "astropy.io.votable" + path = "io.votable" + + [[tool.towncrier.section]] + name = "astropy.modeling" + path = "modeling" + + [[tool.towncrier.section]] + name = "astropy.nddata" + path = "nddata" + + [[tool.towncrier.section]] + name = "astropy.samp" + path = "samp" + + [[tool.towncrier.section]] + name = "astropy.stats" + path = "stats" + + [[tool.towncrier.section]] + name = "astropy.table" + path = "table" + + [[tool.towncrier.section]] + name = "astropy.tests" + path = "tests" + + [[tool.towncrier.section]] + name = "astropy.time" + path = "time" + + [[tool.towncrier.section]] + name = "astropy.timeseries" + path = "timeseries" + + [[tool.towncrier.section]] + name = "astropy.uncertainty" + path = "uncertainty" + + [[tool.towncrier.section]] + name = "astropy.units" + path = "units" + + [[tool.towncrier.section]] + name = "astropy.utils" + path = "utils" + + [[tool.towncrier.section]] + name = "astropy.visualization" + path = "visualization" + + [[tool.towncrier.section]] + name = "astropy.wcs" + path = "wcs"