summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2016-05-12 22:07:12 +0000
committerrsiddharth <rsd@gnu.org>2016-05-12 22:07:12 +0000
commit1abb3677ba44953fa09adf8202feb489a6d7d9ad (patch)
treed27b6578f942836b774667346198626e1f5ea1e1
parentc766f6b58159022cfde523c19f17b9f93029bdc8 (diff)
update docs/conf.py: change how version is read.
-rw-r--r--docs/conf.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 2e3b171..60ae74f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -15,6 +15,8 @@
import sys
import os
+from lpschedule_generator._version import __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
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -60,9 +62,9 @@ author = u'lpschedule-generator contributors'
# built documents.
#
# The short X.Y version.
-version = u'0.5'
+version = __version__
# The full version, including alpha/beta/rc tags.
-release = u'1'
+release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.