summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/source/conf.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index f299930..244af97 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -19,6 +19,8 @@ import sys, os
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../../xnt'))
+import xnt.version
+
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -52,9 +54,9 @@ copyright = u'2012, Kenny Ballou'
# built documents.
#
# The short X.Y version.
-version = '0.5'
+version = '.'.join(map(str, xnt.version.__version_info__[:2]))
# The full version, including alpha/beta/rc tags.
-release = '0.5.0'
+release = xnt.version.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.