From c6b32ae24f764128263d212a32f48f38cf2888a2 Mon Sep 17 00:00:00 2001 From: Greg Roodt Date: Mon, 25 Jan 2021 12:56:02 +1100 Subject: [PATCH] Exclude empty drafts. --- docs/html/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/html/conf.py b/docs/html/conf.py index f81cb6b7dac..2efb7135892 100644 --- a/docs/html/conf.py +++ b/docs/html/conf.py @@ -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