diff --git a/docs/conf.py b/docs/conf.py --- a/docs/conf.py +++ b/docs/conf.py @@ -11,8 +11,11 @@ # All configuration values have a default; values that are commented out # serve to show the default. +import os import sys -import os + +from kallithea 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 @@ -53,7 +56,6 @@ copyright = u'2010-2019 by various autho # The short X.Y version. root = os.path.dirname(os.path.dirname(__file__)) sys.path.append(root) -from kallithea import __version__ version = __version__ # The full version, including alpha/beta/rc tags. release = __version__