summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-05-19 11:44:40 -0400
committerJason R. Coombs <jaraco@jaraco.com>2021-05-19 11:44:40 -0400
commitd3cc031edaa843ad796c5e1e079c1e4b58bcec06 (patch)
tree78999606378ffbb7e04405fd8339d647dc5fd68c /docs
parentfef727ff3ee6e99e31df74de76f997a8ffa59d5c (diff)
downloadpython-setuptools-git-d3cc031edaa843ad796c5e1e079c1e4b58bcec06.tar.gz
Avoid publishing unreleased changes when there are none.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index fc040cf3..4548cf27 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -148,3 +148,5 @@ intersphinx_mapping.update(
extensions += ['sphinxcontrib.towncrier']
# Extension needs a path from here to the towncrier config.
towncrier_draft_working_directory = '..'
+# Avoid an empty section for unpublished changes.
+towncrier_draft_include_empty = False