diff options
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py index 014cbd13b..ef047cb96 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -13,11 +13,12 @@ # serve to show the default. import sys, os, shlex, re, subprocess +from os.path import abspath, join # 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, abspath('.')) # -- General configuration ------------------------------------------------ |