mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Docs] Do not overwrite rst_prolog (#3082)
* Do not overwrite rst_prolog * Add towncrier entry
This commit is contained in:
parent
3b653f93fc
commit
53606a4bbc
1
changelog.d/3082.docs.rst
Normal file
1
changelog.d/3082.docs.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Do not overwrite the docs/prolog.txt file in conf.py.
|
||||||
@ -99,7 +99,7 @@ with open("prolog.txt", "r") as file:
|
|||||||
rst_prolog = file.read()
|
rst_prolog = file.read()
|
||||||
|
|
||||||
# Adds d.py version to available substitutions in all files
|
# 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 ----------------------------------------------
|
# -- Options for HTML output ----------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user