diff --git a/doc/conf.py b/doc/conf.py index a5e7a5f3..a6827fcf 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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'] diff --git a/doc/doc-requirements.txt b/doc/doc-requirements.txt deleted file mode 100644 index 9f8ad0d0..00000000 --- a/doc/doc-requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -matplotlib -numpy -pylab -scipy