summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorkennyballou <kballou@onyx.boisestate.edu>2013-03-01 21:12:54 -0700
committerkennyballou <kballou@onyx.boisestate.edu>2013-03-01 21:12:54 -0700
commit69a4577f44cd3b5a2be63832ad7e9b247469862c (patch)
treea615f5d8b8d5db1362e533d716d45f2748765133 /docs
parent5a440ae9c9f759bf08528de81d0dc815ac05605a (diff)
downloadxnt-69a4577f44cd3b5a2be63832ad7e9b247469862c.tar.gz
xnt-69a4577f44cd3b5a2be63832ad7e9b247469862c.tar.xz
Refactor Versioning
Xnt now has a version module that all other modules shall use when requesting version information
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.