We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e15db4c commit b297b83Copy full SHA for b297b83
docs/conf.py
@@ -69,10 +69,12 @@
69
# |version| and |release|, also used in various other places throughout the
70
# built documents.
71
#
72
-# The short X.Y version.
73
-version = u'2.0'
+with open('../docker/version.py', 'r') as vfile:
+ exec(vfile.read())
74
# The full version, including alpha/beta/rc tags.
75
-release = u'2.0'
+release = version
76
+# The short X.Y version.
77
+version = '{}.{}'.format(version_info[0], version_info[1])
78
79
# The language for content autogenerated by Sphinx. Refer to documentation
80
# for a list of supported languages.
0 commit comments