Skip to content

Commit

Permalink
Merge pull request #9510 from groodt/groodt-fix-9505
Browse files Browse the repository at this point in the history
Fix for 9505. Exclude empty drafts.
  • Loading branch information
pradyunsg authored Jan 26, 2021
2 parents bfd8bb6 + c6b32ae commit f84e576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/html/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,6 @@ def to_document_name(path, base_dir):
# -- Options for towncrier_draft extension -----------------------------------

towncrier_draft_autoversion_mode = 'draft' # or: 'sphinx-release', 'sphinx-version'
towncrier_draft_include_empty = True
towncrier_draft_include_empty = False
towncrier_draft_working_directory = pathlib.Path(docs_dir).parent
# Not yet supported: towncrier_draft_config_path = 'pyproject.toml' # relative to cwd

0 comments on commit f84e576

Please sign in to comment.