Merge "Include correct version in install-guide"

This commit is contained in:
Jenkins
2016-09-12 19:28:45 +00:00
committed by Gerrit Code Review

View File

@@ -22,6 +22,7 @@
import os import os
# import sys # import sys
from swift import __version__
import openstackdocstheme import openstackdocstheme
@@ -64,9 +65,9 @@ copyright = u'2016, OpenStack contributors'
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = '0.1' version = __version__.rsplit('.', 1)[0]
# The full version, including alpha/beta/rc tags. # 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. # 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. # giturl: The location of conf.py on Git. Must be set manually.