diff --git a/docs/conf.py b/docs/conf.py index e7abb89..98ce358 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,7 +17,7 @@ import os # 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.join(os.path.dirname(__file__), os.pardir)) # -- General configuration -----------------------------------------------------