mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
Now hacking makefile..:
This commit is contained in:
parent
e9e0187a98
commit
3d7bf6698a
2 changed files with 10 additions and 4 deletions
|
|
@ -41,6 +41,10 @@ help:
|
|||
clean:
|
||||
-rm -rf $(BUILDDIR)/*
|
||||
|
||||
CWD=$(shell sphinx-apidoc -f -o . ../GPy)
|
||||
all:
|
||||
@echo api build: $(CWD).
|
||||
|
||||
html:
|
||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||
@echo
|
||||
|
|
|
|||
10
doc/conf.py
10
doc/conf.py
|
|
@ -37,11 +37,13 @@ try:
|
|||
except ImportError:
|
||||
print "no sphinx"
|
||||
|
||||
parent = os.path.dirname(os.path.dirname(__file__))
|
||||
sys.path.insert(0, os.path.abspath(parent))
|
||||
parent = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||
sys.path.insert(0, parent)
|
||||
sys.path.append(parent)
|
||||
|
||||
parent = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'GPy')
|
||||
sys.path.insert(0, os.path.abspath(parent))
|
||||
parent = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'GPy'))
|
||||
sys.path.insert(0, parent)
|
||||
sys.path.append(parent)
|
||||
|
||||
#APP_DIR = os.path.normpath(os.path.join(os.getcwd(), '../'))
|
||||
#PACKAGE_DIR1 = os.path.normpath(os.path.join(os.getcwd(), '../'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue