From 17fcaca054ce0e9e81ee7603e54840de7ebee90e Mon Sep 17 00:00:00 2001 From: Alan Saul Date: Tue, 4 Nov 2014 16:26:19 +0000 Subject: [PATCH] Updated conf.py to work again rather than cause an infinite loop --- doc/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 1b2410f3..91a6c75b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -151,8 +151,8 @@ if on_rtd: proc = subprocess.Popen("ls ../", stdout=subprocess.PIPE, shell=True) (out, err) = proc.communicate() print "program output:", out - #proc = subprocess.Popen("sphinx-apidoc -f -o . ../GPy", stdout=subprocess.PIPE, shell=True) - proc = subprocess.Popen("make html", stdout=subprocess.PIPE, shell=True) + #Lets regenerate our rst files from the source, -P adds private modules (i.e kern._src) + proc = subprocess.Popen("sphinx-apidoc -P -f -o . ../GPy", stdout=subprocess.PIPE, shell=True) (out, err) = proc.communicate() print "program output:", out #proc = subprocess.Popen("whereis numpy", stdout=subprocess.PIPE, shell=True)