From 1fb7ebe67a6d640a728e8f1ac5cfcea6bfba4ff1 Mon Sep 17 00:00:00 2001 From: Alan Saul Date: Thu, 31 Jan 2013 11:09:23 +0000 Subject: [PATCH] Attempting to fix docs but may break them --- doc/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index f1c120b5..e76bf8c9 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -33,7 +33,9 @@ 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 ./docs ./GPy") + os.system("cd ./docs") # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']