mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-26 21:36:23 +02:00
[readthedocs] almost there
This commit is contained in:
parent
ede7062d57
commit
f5d5fe44ad
1 changed files with 7 additions and 5 deletions
|
|
@ -30,8 +30,8 @@ import shlex
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||||
# ones.
|
# ones.
|
||||||
extensions = [
|
extensions = [
|
||||||
#'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
'sphinx.ext.coverage',
|
#'sphinx.ext.coverage',
|
||||||
'sphinx.ext.mathjax',
|
'sphinx.ext.mathjax',
|
||||||
'sphinx.ext.viewcode',
|
'sphinx.ext.viewcode',
|
||||||
]
|
]
|
||||||
|
|
@ -48,9 +48,11 @@ extensions = [
|
||||||
# def __getattr__(cls, name):
|
# def __getattr__(cls, name):
|
||||||
# return Mock()
|
# return Mock()
|
||||||
#
|
#
|
||||||
#MOCK_MODULES = ['scipy.linalg.blas', 'blas', 'scipy.optimize', 'scipy.optimize.linesearch', 'scipy.linalg', 'scipy', 'scipy.special', 'scipy.integrate', 'scipy.io', 'scipy.stats', 'GPy.util.choleskies_cython',
|
MOCK_MODULES = ['scipy.linalg.blas', 'blas', 'scipy.optimize', 'scipy.optimize.linesearch', 'scipy.linalg', 'scipy', 'scipy.special', 'scipy.integrate', 'scipy.io', 'scipy.stats', 'GPy.util.choleskies_cython',
|
||||||
# 'sympy', 'sympy.utilities.iterables', 'sympy.utilities.lambdify', 'sympy.utilities', 'sympy.utilities.codegen', 'sympy.core.cache', 'sympy.core', 'sympy.parsing', 'sympy.parsing.sympy_parser',
|
'sympy', 'sympy.utilities.iterables', 'sympy.utilities.lambdify', 'sympy.utilities', 'sympy.utilities.codegen', 'sympy.core.cache', 'sympy.core', 'sympy.parsing', 'sympy.parsing.sympy_parser',
|
||||||
# 'nose', 'nose.tools']
|
'nose', 'nose.tools']
|
||||||
|
|
||||||
|
autodoc_mock_imports = MOCK_MODULES
|
||||||
#
|
#
|
||||||
#sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
|
#sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue