From 9109f763c3457a2c655703de094884990f9dd013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 3 Mar 2025 16:30:01 +0100 Subject: [PATCH] Branch docs version for Godot 4.4 --- .github/workflows/sync_class_ref.yml | 8 +------- conf.py | 6 +++--- index.rst | 4 ++-- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/sync_class_ref.yml b/.github/workflows/sync_class_ref.yml index a210f6f2b..fb786c547 100644 --- a/.github/workflows/sync_class_ref.yml +++ b/.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 diff --git a/conf.py b/conf.py index 939ac5d75..688f342b7 100644 --- a/conf.py +++ b/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, diff --git a/index.rst b/index.rst index 1615a93af..b0ae2c098 100644 --- a/index.rst +++ b/index.rst @@ -1,7 +1,7 @@ :allow_comments: False -Godot Docs – *master* branch -============================ +Godot Docs – *4.4* branch +========================= .. only:: not i18n