diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-11 11:40:44 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-11 11:40:44 +0000 |
commit | dcee3aa6be75670f0dd71f8ac70baee0da0ae0a3 (patch) | |
tree | bb32ff022359c152bd1242f88795c595839cde11 /docs/source/conf.py | |
parent | d65539e4eeb278867a8fde6418b07e6caada0988 (diff) |
fix sphinx build sys.path
after moving the source directory of the docs one level up
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r-- | docs/source/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index 5df72a60..6624ee42 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -47,7 +47,7 @@ for mod_name in MOCK_MODULES: # 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(os.path.join('..','..'))) from alot import __version__,__author__ # -- General configuration ----------------------------------------------------- |