Move the latest branch warning into templates

This commit is contained in:
Yuri Sizov
2023-02-24 19:14:55 +01:00
parent e7c7cf1510
commit 1da407b921
3 changed files with 42 additions and 25 deletions

View File

@@ -175,6 +175,9 @@ html_context = {
# Distinguish local development website from production website.
# This prevents people from looking for changes on the production website after making local changes :)
"godot_title_prefix": "" if on_rtd else "(DEV) ",
# Set this to `True` when in the `latest` branch to clearly indicate to the reader
# that they are not reading the `stable` documentation.
"godot_is_latest": True,
}
html_logo = "img/docs_logo.svg"