diff --git a/doc/conf.py b/doc/conf.py index a588990b..d8344fbb 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -111,6 +111,7 @@ import sys, os #else: #return Mock() +sys.path.append("../GPy") import mock MOCK_MODULES = ['pylab', 'matplotlib']#'matplotlib', 'matplotlib.color', 'matplotlib.pyplot', 'pylab' ] @@ -120,7 +121,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('..')) # If your extensions are in another directory, add it here. If the directory # is relative to the documentation root, use os.path.abspath to make it