Merge "Fix Rally Version in Docs"

This commit is contained in:
Jenkins 2015-12-16 02:36:41 +00:00 committed by Gerrit Code Review
commit 396a9f38f1

View File

@ -15,6 +15,8 @@ import datetime
import os
import sys
import rally.common.version
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
@ -69,9 +71,11 @@ copyright = u"%d, OpenStack Foundation" % datetime.datetime.now().year
# built documents.
#
# The short X.Y version.
version = "0.0.4"
version = rally.common.version.version_string()
# The full version, including alpha/beta/rc tags.
release = "0.0.4"
release = rally.common.version.version_string()
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.