summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 6775269f..36d89c06 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -95,7 +95,7 @@ if int(release_raw) >= 90:
version = '.'.join(version_s)
del version_s
else:
- version = '.'.join(release.split("~")[0].split('.')[:3])
+ version = '.'.join(release.split("~")[0].split('.')[:2])
del release_raw
# The language for content autogenerated by Sphinx. Refer to documentation