diff --git a/doc/conf.py b/doc/conf.py index 7cdaea39..ed7e5f65 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -42,9 +42,9 @@ except ImportError: # 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('../GPy')) +#sys.path.insert(0, os.path.abspath('../GPy')) -print "sys.path.after:", sys.path +#print "sys.path.after:", sys.path # If your extensions are in another directory, add it here. If the directory @@ -115,7 +115,7 @@ for mod_name in MOCK_MODULES: # ----------------------- READTHEDOCS ------------------ on_rtd = os.environ.get('READTHEDOCS', None) == 'True' -#import GPy +import GPy if on_rtd: sys.path.append("../GPy")