mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-25 21:06:23 +02:00
Added debuggin, and interestingly likelihood rst.. shouldnt make a difference:
This commit is contained in:
parent
e657f532c7
commit
6580aecfe0
6 changed files with 84 additions and 27 deletions
19
doc/conf.py
19
doc/conf.py
|
|
@ -119,13 +119,26 @@ for mod_name in MOCK_MODULES:
|
|||
# ----------------------- READTHEDOCS ------------------
|
||||
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")
|
||||
#print(os.system("pwd"))
|
||||
#print(os.system("ls ../"))
|
||||
#os.system("sphinx-apidoc -f -o . ../GPy")
|
||||
|
||||
import subprocess
|
||||
|
||||
proc = subprocess.Popen("pwd", stdout=subprocess.PIPE, shell=True)
|
||||
(out, err) = proc.communicate()
|
||||
print "program output:", out
|
||||
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)
|
||||
(out, err) = proc.communicate()
|
||||
print "program output:", out
|
||||
#os.system("cd ..")
|
||||
#os.system("cd ./docs")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue