Browse Source

Branch docs version for Godot 4.4

Rémi Verschelde 7 months ago
parent
commit
9109f763c3
3 changed files with 6 additions and 12 deletions
  1. 1 7
      .github/workflows/sync_class_ref.yml
  2. 3 3
      conf.py
  3. 2 2
      index.rst

+ 1 - 7
.github/workflows/sync_class_ref.yml

@@ -2,12 +2,6 @@ name: Sync Class Reference
 
 on:
   workflow_dispatch:
-  # Scheduled updates only run on the default/master branch.
-  # Other branches need to be run manually (usually after a new release for that branch).
-  schedule:
-    # Run it at (European) night time every Saturday.
-    # The offset is there to try and avoid high load times.
-    - cron: '15 3 * * 6'
 
 # Make sure jobs cannot overlap.
 concurrency:
@@ -23,7 +17,7 @@ jobs:
     runs-on: ubuntu-24.04
     timeout-minutes: 10
     env:
-      engine_rev: 'master'
+      engine_rev: '4.4'
     permissions:
       contents: write
       pull-requests: write

+ 3 - 3
conf.py

@@ -91,7 +91,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.4")
 # The full version, including alpha/beta/rc tags
 release = version
 
@@ -184,7 +184,7 @@ html_context = {
     "display_github": not is_i18n,  # Integrate GitHub
     "github_user": "godotengine",  # Username
     "github_repo": "godot-docs",  # Repo name
-    "github_version": "master",  # Version
+    "github_version": "4.4",  # Version
     "conf_py_path": "/",  # Path in the checkout to the docs root
     "godot_docs_title": supported_languages[language],
     "godot_docs_basepath": "https://docs.godotengine.org/",
@@ -194,7 +194,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.4",
     # Enables a banner that displays the up-to-date status of each article.
     "godot_show_article_status": True,

+ 2 - 2
index.rst

@@ -1,7 +1,7 @@
 :allow_comments: False
 
-Godot Docs – *master* branch
-============================
+Godot Docs – *4.4* branch
+=========================
 
 .. only:: not i18n