mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Bump docs version to 4.2
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user