Browse Source

Update branch version to 4.0

Disable godot_is_latest flag
Rémi Verschelde 2 years ago
parent
commit
f803c31fae
2 changed files with 3 additions and 3 deletions
  1. 2 2
      conf.py
  2. 1 1
      index.rst

+ 2 - 2
conf.py

@@ -83,7 +83,7 @@ author = "Juan Linietsky, Ariel Manzur and the Godot community"
 
 # Version info for the project, acts as replacement for |version| and |release|
 # The short X.Y version
-version = os.getenv("READTHEDOCS_VERSION", "latest")
+version = os.getenv("READTHEDOCS_VERSION", "4.0")
 # The full version, including alpha/beta/rc tags
 release = version
 
@@ -177,7 +177,7 @@ html_context = {
     "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,
+    "godot_is_latest": False,
     "godot_version": "4.0",
     # Enables a banner that displays the up-to-date status of each article.
     "godot_show_article_status": True,

+ 1 - 1
index.rst

@@ -1,4 +1,4 @@
-Godot Docs – *master* branch
+Godot Docs – *4.0* branch
 ============================
 
 .. only:: not i18n