From d586a745e1a2397cc0d2e73b25e03bdd8745b8d2 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Thu, 12 Apr 2018 11:58:23 +0800 Subject: [PATCH] Fix doc build --- docs/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 5a9b910..7e8ef0a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,7 +15,7 @@ import os import sys sys.path.insert(0, os.path.abspath('..')) -from server.controller import Controller +from server.version import VERSION # -- Project information ----------------------------------------------------- @@ -23,10 +23,10 @@ project = 'ElectrumX' copyright = '2016-2018, Neil Booth' author = 'Neil Booth' -# The short X.Y version -version = Controller.short_version() # The full version including branding -release = Controller.VERSION +release = VERSION +# The short X.Y version +version = VERSION.split()[-1] # -- General configuration ---------------------------------------------------