diff --git a/doc/conf.py b/doc/conf.py index 474836a2..9fb5f02a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -33,7 +33,10 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True' if on_rtd: sys.path.append("../GPy") os.system("pwd") - os.system("sphinx-apidoc -f -o . ../GPy") + os.system("cd ..") + #os.system("sphinx-apidoc -f -o . ../GPy") + os.system("sphinx-apidoc -f -o ./docs ./GPy") + os.system("cd ./docs") # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']