From 6a29000db741f239b798c587ecef58a06f58f74a Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 15 Feb 2014 23:54:17 -0800 Subject: [PATCH] Add global release version to docs. --- docs/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 168f068e..09bbd359 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,6 +15,9 @@ import sys import os +execfile(os.path.join(os.pardir, 'tailbone', '_version.py')) + + # 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. @@ -56,7 +59,7 @@ copyright = u'2014, Lance Edgar' # The short X.Y version. version = '0.3' # The full version, including alpha/beta/rc tags. -release = '0.3.12' +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.