diff --git a/doc/conf.py b/doc/conf.py index e1ce8796..1d67f6c1 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -37,7 +37,7 @@ try: except ImportError: print "no sphinx" -APP_DIR = os.path.normpath(os.path.join(os.getcwd(), '../..')) +APP_DIR = os.path.normpath(os.path.join(os.getcwd(), '../')) sys.path.insert(0, APP_DIR) sys.path.insert(0, os.path.abspath('../GPy')) print "sys.path:", sys.path @@ -121,12 +121,7 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True' on_rtd = True if on_rtd: - #sys.path.insert(0, os.getcwd() + "/../GPy") - #sys.path.append(os.getcwd() + "/../GPy") print "I am here" - #print(os.system("pwd")) - #print(os.system("ls ../")) - #os.system("sphinx-apidoc -f -o . ../GPy") import subprocess