conf edit

This commit is contained in:
Alan Saul 2013-01-31 12:19:12 +00:00
parent 32e61ce1e8
commit 98c06c1e7b
2 changed files with 4 additions and 8 deletions

View file

@ -18,7 +18,7 @@ import sys, os, exceptions
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('../'))
sys.path.insert(0, os.path.abspath('..'))
# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
@ -45,9 +45,9 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
sys.path.append("../GPy")
os.system("pwd")
os.system("cd ..")
os.system("sphinx-apidoc -f -o ./docs ./GPy")
os.system("cd ./docs")
#os.system("cd ..")
os.system("sphinx-apidoc -f -o . ../GPy")
#os.system("cd ./docs")
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']