Include correct version in install-guide

Change-Id: I8f9de7a824aa327d566c821ec05f97d0bc8931e9
This commit is contained in:
Tim Burke 2016-08-31 14:10:27 -07:00
parent ac81ccd948
commit 0c22bc2257

View File

@ -22,6 +22,7 @@
import os
# import sys
from swift import __version__
import openstackdocstheme
@ -64,9 +65,9 @@ copyright = u'2016, OpenStack contributors'
# built documents.
#
# The short X.Y version.
version = '0.1'
version = __version__.rsplit('.', 1)[0]
# The full version, including alpha/beta/rc tags.
release = '0.1'
release = __version__
# A few variables have to be set for the log-a-bug feature.
# giturl: The location of conf.py on Git. Must be set manually.