diff --git a/conf.py b/conf.py index 764c4bbdf..1de956bba 100644 --- a/conf.py +++ b/conf.py @@ -28,9 +28,9 @@ 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 = 'latest' +version = os.getenv("READTHEDOCS_VERSION", "3.0") # The full version, including alpha/beta/rc tags -release = 'latest' +release = version language = 'en'