From 28b6f76950b211c8b4614c1a7a2b0f4fbc88fc1b Mon Sep 17 00:00:00 2001 From: "pawnesh.kumar" Date: Sat, 8 Oct 2016 13:02:25 +0530 Subject: [PATCH] Fix incorrect version and release details Change-Id: I9e06a6005aad089d7bbc4ce7b420a98609b5f536 --- install-guide/source/conf.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/install-guide/source/conf.py b/install-guide/source/conf.py index 2589cd3a77..52ebe792a0 100644 --- a/install-guide/source/conf.py +++ b/install-guide/source/conf.py @@ -23,8 +23,8 @@ import os # import sys - import openstackdocstheme +from trove.version import version_info as trove_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 @@ -63,10 +63,8 @@ copyright = u'2016, OpenStack contributors' # |version| and |release|, also used in various other places throughout the # built documents. # -# The short X.Y version. -version = '0.1' -# The full version, including alpha/beta/rc tags. -release = '0.1' +version = trove_version.canonical_version_string() +release = trove_version.version_string_with_vcs() # 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.