This commit is contained in:
tqchen 2015-07-26 12:40:21 -07:00
parent fef0ef26f1
commit cdf401a77c

View File

@ -29,7 +29,8 @@ sys.modules.update((mod_name, Mock()) 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('../wrapper/'))
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__)))
sys.path.insert(0, os.path.join(curr_path, '../wrapper/'))
# -- General configuration ------------------------------------------------