Skip to content

Commit

Permalink
More categories
Browse files Browse the repository at this point in the history
  • Loading branch information
saimn committed Apr 2, 2021
1 parent e04b10a commit 4accc6e
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/changes/template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
{% 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 %}
- {{ sections[section][category]['']|join(', ') }}

{% endif %}
{% if sections[section][category]|length == 0 %}
No significant changes plop.
No significant changes.

{% else %}
{% endif %}
Expand Down
93 changes: 91 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 4accc6e

Please sign in to comment.