summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2019-08-06 14:47:58 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2019-09-15 08:30:07 -0700
commit958a6b5efd46758fb1874e2f80aba166d192fbf9 (patch)
tree3015a21c0d68d91229177dc099001c9d28eac2cc /pyproject.toml
parent31ffdecf07d18ed4dbb66b171cb0f998d4b190fa (diff)
downloadnumpy-958a6b5efd46758fb1874e2f80aba166d192fbf9.tar.gz
DOC,MAINT: Build release notes during CircleCI step
For the moment, this requires te use for the development version of towncrier.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml13
1 files changed, 8 insertions, 5 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 4439ed229..918cbb278 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,13 +9,15 @@ requires = [
[tool.towncrier]
# Do no set this since it is hard to import numpy inside the source directory
- # Use "--version Numpy" instead
- #project = "numpy"
- filename = "doc/release/latest-note.rst"
- directory = "doc/release/upcoming_changes"
+ # the name is hardcoded. Use "--version 1.18.0" to set the version
+ single_file = true
+ filename = "doc/source/release/{version}-notes.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="~="
+ underlines = "~="
+ all_bullets = false
+
[[tool.towncrier.type]]
directory = "highlight"
@@ -66,3 +68,4 @@ requires = [
directory = "change"
name = "Changes"
showcontent = true
+