summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2019-08-05 15:13:16 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2019-08-12 20:27:51 -0500
commitda8d9f147bd703d1ebce41f9762cd83cbb0fa2a0 (patch)
tree3f64e8cb56321cc4a68e0936614d05bc6d3a4b91 /pyproject.toml
parent67ecbcf6136842d503ef0603d249bc7eb7987383 (diff)
downloadnumpy-da8d9f147bd703d1ebce41f9762cd83cbb0fa2a0.tar.gz
DOC,MAINT: Move towncrier files and fixup categories
Name all categories as singular (or adjectives). Also move the fragments into an ``upcoming_changes`` folder to be more discoverable. Notes that we format some things as bullet points traditionally (right now towncrier only truly supports bullet point format, but I have a PR to fix that).
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml54
1 files changed, 29 insertions, 25 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 5c90ed3f8..949e12c9e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,12 +8,17 @@ requires = ["setuptools", "wheel", "cython"] # PEP 508 specification
# Use "--version Numpy" instead
#project = "numpy"
filename = "doc/release/latest-note.rst"
- directory = "changelog/"
- issue_format = "`#{issue} <https://github.com/numpy/numpy/pull/{issue}>`__"
- template = "changelog/template.rst"
+ directory = "doc/release/upcoming_changes"
+ issue_format = "`gh-{issue} <https://github.com/numpy/numpy/pull/{issue}>`__"
+ template = "doc/release/upcoming_changes/template.rst"
underlines="~="
[[tool.towncrier.type]]
+ directory = "highlight"
+ name = "Highlights"
+ showcontent = true
+
+ [[tool.towncrier.type]]
directory = "new_function"
name = "New functions"
showcontent = true
@@ -24,37 +29,36 @@ requires = ["setuptools", "wheel", "cython"] # PEP 508 specification
showcontent = true
[[tool.towncrier.type]]
- directory = "future"
- name = "Future Changes"
- showcontent = true
+ directory = "future"
+ name = "Future Changes"
+ showcontent = true
[[tool.towncrier.type]]
- directory = "expired"
- name = "Expired deprecations"
- showcontent = true
+ directory = "expired"
+ name = "Expired deprecations"
+ showcontent = true
[[tool.towncrier.type]]
- directory = "coompatibility"
- name = "Compatibility notes"
- showcontent = true
+ directory = "compatibility"
+ name = "Compatibility notes"
+ showcontent = true
[[tool.towncrier.type]]
- directory = "c_api"
- name = "C API changes"
- showcontent = true
+ directory = "c_api"
+ name = "C API changes"
+ showcontent = true
[[tool.towncrier.type]]
- directory = "new_features"
- name = "New Features"
- showcontent = true
+ directory = "new_feature"
+ name = "New Features"
+ showcontent = true
[[tool.towncrier.type]]
- directory = "improvements"
- name = "Improvements"
- showcontent = true
+ directory = "improvement"
+ name = "Improvements"
+ showcontent = true
[[tool.towncrier.type]]
- directory = "changes"
- name = "Changes"
- showcontent = true
-
+ directory = "change"
+ name = "Changes"
+ showcontent = true