Bump docs version to 4.2

This commit is contained in:
Yuri Sizov
2023-11-29 14:29:47 +01:00
parent d9725deef6
commit 53e837c640
3 changed files with 7 additions and 12 deletions

View File

@@ -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,