heat docs : Fix version string issue

Fix issue with release/version strings in doc build config
which was causing doc builds to fail with an error.

Fixes bug 1115269

Change-Id: Ia02d52f502d808d758a541e84056d5ac94aff8b8
Signed-off-by: Steven Hardy <shardy@redhat.com>
This commit is contained in:
Steven Hardy
2013-02-04 14:23:07 +00:00
parent c751abc05d
commit a43fcaab7b

View File

@@ -53,9 +53,9 @@ copyright = u'2012, Heat Developers'
from heat import version as heat_version
# The full version, including alpha/beta/rc tags.
release = heat_version.version_string()
release = heat_version.version_info.release_string()
# The short X.Y version
version = heat_version.canonical_version_string()
version = heat_version.version_info.version_string()
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.