From a6e6f979350981d0d14ff040e5d6e0f79ad0aec6 Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Sun, 27 May 2018 02:12:00 +0100 Subject: [PATCH] use 'probequest.version' in 'docs/conf.py' --- docs/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b24a665..fe97a76 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,10 +23,12 @@ copyright = '2018, Paul-Emmanuel Raoul' author = 'Paul-Emmanuel Raoul' +from probequest.version import VERSION + # The short X.Y version -version = '0.5' +version = ".".join(VERSION.split(".")[:2]) # The full version, including alpha/beta/rc tags -release = '0.5.1' +release = VERSION # -- General configuration ---------------------------------------------------