aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 069843cb0..9173139a2 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -65,7 +65,7 @@ try:
if _IsUnderGitControl:
latestTagName = _LatestTagName()[1:] # remove prefix "v"
versionParts = latestTagName.split("-")[0].split(".")
-
+
version = ".".join(versionParts[:2])
#release = ".".join(versionParts[:3])
else:
@@ -75,11 +75,11 @@ try:
if line:
version=line[0]
except:
+ version = "latest"
pass
-#version = "X.Y"
release = version # The full version, including alpha/beta/rc tags.
-
+
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#