Browse Source

Update configs to refer to 4.1

Yuri Sizov 2 years ago
parent
commit
d20bdf8af6
2 changed files with 5 additions and 10 deletions
  1. 2 7
      .github/workflows/sync_class_ref.yml
  2. 3 3
      conf.py

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

@@ -2,15 +2,10 @@ name: Sync Class Reference
 
 
 on:
 on:
   workflow_dispatch:
   workflow_dispatch:
-  # Scheduled updates only run on the default/master branch.
-  schedule:
-    # Run it at night (European time) every Saturday.
-    # The offset is there to try and avoid the high load times.
-    - cron: '15 3 * * 6'
 
 
 # Make sure jobs cannot overlap.
 # Make sure jobs cannot overlap.
 concurrency:
 concurrency:
-  group: classref-sync-ci-master
+  group: classref-sync-ci-4.1
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 jobs:
 jobs:
@@ -18,7 +13,7 @@ jobs:
     name: Update class reference files based on the engine revision
     name: Update class reference files based on the engine revision
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     env:
     env:
-      engine_rev: 'master'
+      engine_rev: '4.1'
 
 
     steps:
     steps:
       - name: Checkout the documentation repository
       - name: Checkout the documentation repository

+ 3 - 3
conf.py

@@ -84,7 +84,7 @@ author = "Juan Linietsky, Ariel Manzur and the Godot community"
 
 
 # Version info for the project, acts as replacement for |version| and |release|
 # Version info for the project, acts as replacement for |version| and |release|
 # The short X.Y version
 # The short X.Y version
-version = os.getenv("READTHEDOCS_VERSION", "latest")
+version = os.getenv("READTHEDOCS_VERSION", "4.1")
 # The full version, including alpha/beta/rc tags
 # The full version, including alpha/beta/rc tags
 release = version
 release = version
 
 
@@ -181,8 +181,8 @@ html_context = {
     "godot_title_prefix": "" if on_rtd else "(DEV) ",
     "godot_title_prefix": "" if on_rtd else "(DEV) ",
     # Set this to `True` when in the `latest` branch to clearly indicate to the reader
     # Set this to `True` when in the `latest` branch to clearly indicate to the reader
     # that they are not reading the `stable` documentation.
     # that they are not reading the `stable` documentation.
-    "godot_is_latest": True,
-    "godot_version": "4.0",
+    "godot_is_latest": False,
+    "godot_version": "4.1",
     # Enables a banner that displays the up-to-date status of each article.
     # Enables a banner that displays the up-to-date status of each article.
     "godot_show_article_status": True,
     "godot_show_article_status": True,
 }
 }