[Docs] Do not overwrite rst_prolog (#3082)

* Do not overwrite rst_prolog

* Add towncrier entry
This commit is contained in:
El Laggron 2019-10-23 23:51:35 +02:00 committed by Michael H
parent 3b653f93fc
commit 53606a4bbc
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Do not overwrite the docs/prolog.txt file in conf.py.

View File

@ -99,7 +99,7 @@ with open("prolog.txt", "r") as file:
rst_prolog = file.read()
# Adds d.py version to available substitutions in all files
rst_prolog = f"\n.. |DPY_VERSION| replace:: {dpy_version}"
rst_prolog += f"\n.. |DPY_VERSION| replace:: {dpy_version}"
# -- Options for HTML output ----------------------------------------------