Fix Rally Version in Docs

Use pbr version instead of hardcoded value in configuration of docs

Change-Id: I3fe5e296f11e921a342393f22ba97c6874283a60
This commit is contained in:
Boris Pavlovic 2015-12-15 10:58:44 -08:00
parent 0d8740ce00
commit 6155dc83e1

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.