mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-30 15:26:23 +02:00
conf edit
This commit is contained in:
parent
32e61ce1e8
commit
98c06c1e7b
2 changed files with 4 additions and 8 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue