diff --git a/doc/conf.py b/doc/conf.py index 713db0f..e32841a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -15,16 +15,14 @@ import sys import os -sys.path.append(os.path.relpath(os.path.abspath('.'))) -import extract_rst - -sys.path.append(os.path.relpath(os.path.abspath('..'))) -from autocmake import __version__ as _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.insert(0, os.path.abspath('.')) +import extract_rst + +sys.path.insert(0, os.path.abspath('..')) +from autocmake import __version__ as _version # -- General configuration ------------------------------------------------