summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorBernát Gábor <gaborjbernat@gmail.com>2021-10-23 12:34:50 +0100
committerBernát Gábor <gaborjbernat@gmail.com>2021-10-23 12:35:05 +0100
commit653d4ebcaae635183e95fba40a8bf3592ec3647e (patch)
treee3c6dac939690bc0dccf84838a2428a96fdfca22 /docs/conf.py
parenta13e51e69080a5a5a5a15630f4a0f7b3d97d1c9a (diff)
downloadvirtualenv-653d4ebcaae635183e95fba40a8bf3592ec3647e.tar.gz
Fix docs
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 920d300..b981af1 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -64,7 +64,8 @@ def generate_draft_news():
cwd=root,
universal_newlines=True,
)
- (root / "docs" / "_draft.rst").write_text("" if "No significant changes" in new else new)
+ dest = root / "docs" / "_draft.rst"
+ dest.write_text("" if "No significant changes" in new else new)
generate_draft_news()