From 107cd6e8f3b3535682e9b9428003c4991fcea30b Mon Sep 17 00:00:00 2001 From: Stewart Park Date: Mon, 30 Jan 2017 16:26:37 -0800 Subject: [PATCH] Get version from the code --- docs/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index a9c00f1..3ea71b6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -58,9 +58,10 @@ # built documents. # # The short X.Y version. -version = u'0.2.0' +from fdep import __VERSION__ +version = __VERSION__ # The full version, including alpha/beta/rc tags. -release = u'0.2.0' +release = __VERSION__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.