From 1abb3677ba44953fa09adf8202feb489a6d7d9ad Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Thu, 12 May 2016 22:07:12 +0000 Subject: update docs/conf.py: change how version is read. --- docs/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') 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. -- cgit v1.2.3