diff --git a/docs/conf.py b/docs/conf.py index 4714e0a..923068b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,13 +12,13 @@ # serve to show the default. import sys, os -from flask_security 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. +sys.path.insert(0, os.path.abspath('..')) sys.path.append(os.path.abspath('_themes')) -sys.path.append(os.path.abspath('..')) +from flask_security import __version__ # -- General configuration -----------------------------------------------------