diff --git a/changelog.d/3082.docs.rst b/changelog.d/3082.docs.rst new file mode 100644 index 000000000..366ad4ce5 --- /dev/null +++ b/changelog.d/3082.docs.rst @@ -0,0 +1 @@ +Do not overwrite the docs/prolog.txt file in conf.py. \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index eb54c3f68..f1f8b34bc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 ----------------------------------------------