mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-05 01:32:40 +02:00
More docs
This commit is contained in:
parent
50850baa21
commit
69acbf42af
2 changed files with 5 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ sys.path.append(os.path.abspath('sphinxext'))
|
|||
print "Importing extensions"
|
||||
|
||||
extensions = ['sphinx.ext.autodoc',
|
||||
'sphinx.ext.doctest',
|
||||
#'sphinx.ext.doctest'
|
||||
'sphinx.ext.viewcode',
|
||||
'sphinx.ext.pngmath'
|
||||
#'ipython_directive',
|
||||
|
|
@ -107,6 +107,9 @@ for mod_name in MOCK_MODULES:
|
|||
# ----------------------- READTHEDOCS ------------------
|
||||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||
|
||||
import GPy
|
||||
version = GPy.__version__
|
||||
|
||||
if on_rtd:
|
||||
sys.path.append("../GPy")
|
||||
os.system("pwd")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue