Make paths more relative

This commit is contained in:
Alan Saul 2013-02-08 14:24:26 +00:00
parent e59266af6e
commit e421ce6647

View file

@ -115,10 +115,10 @@ for mod_name in MOCK_MODULES:
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
sys.path.insert(0, os.getcwd() + "/../GPy")
#sys.path.append("../GPy")
#sys.path.insert(0, os.getcwd() + "/../GPy")
sys.path.append(os.getcwd() + "/../GPy")
os.system("pwd")
os.system("sphinx-apidoc -f -o . ../GPy")
os.system("sphinx-apidoc -f -o . " + os.getcwd() + "/../GPy")
#os.system("cd ..")
#os.system("cd ./docs")