From 53e837c640e548c0fbc8242825d3ab66469307ce Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Wed, 29 Nov 2023 14:29:47 +0100 Subject: [PATCH] Bump docs version to 4.2 --- .github/workflows/sync_class_ref.yml | 9 ++------- conf.py | 6 +++--- index.rst | 4 ++-- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/sync_class_ref.yml b/.github/workflows/sync_class_ref.yml index 62afa39e5..60586e1cf 100644 --- a/.github/workflows/sync_class_ref.yml +++ b/.github/workflows/sync_class_ref.yml @@ -2,15 +2,10 @@ name: Sync Class Reference on: 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. concurrency: - group: classref-sync-ci-master + group: classref-sync-ci-4.2 cancel-in-progress: true jobs: @@ -18,7 +13,7 @@ jobs: name: Update class reference files based on the engine revision runs-on: ubuntu-latest env: - engine_rev: 'master' + engine_rev: '4.2' steps: - name: Checkout the documentation repository diff --git a/conf.py b/conf.py index 57f7cc702..b4b914bad 100644 --- a/conf.py +++ b/conf.py @@ -87,7 +87,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.2") # The full version, including alpha/beta/rc tags release = version @@ -178,7 +178,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.2", # Version "conf_py_path": "/", # Path in the checkout to the docs root "godot_inject_language_links": True, "godot_docs_supported_languages": list(supported_languages.keys()), @@ -192,7 +192,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.2", # 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 62c1fa734..2ab45c7f3 100644 --- a/index.rst +++ b/index.rst @@ -1,4 +1,4 @@ -Godot Docs – *master* branch +Godot Docs – *4.2* branch ============================ .. only:: not i18n @@ -83,7 +83,7 @@ the ``GodotEngine.epub`` file in an e-book reader application. about/faq about/complying_with_licenses about/release_policy - about/docs_changelog + about/docs_changelog .. toctree:: :hidden: