mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-24 20:36:23 +02:00
fix: rtd
This commit is contained in:
parent
ca2233b7e0
commit
0b666c2c70
2 changed files with 8 additions and 6 deletions
|
|
@ -35,9 +35,9 @@ class Mock(MagicMock):
|
|||
return MagicMock()
|
||||
|
||||
MOCK_MODULES = [
|
||||
"GPy.util.linalg.linalg_cython",
|
||||
"GPy.util.linalg_cython",
|
||||
"sympy",
|
||||
"GPy.util.linalg.linalg_cython",
|
||||
"GPy.util.linalg_cython",
|
||||
"sympy",
|
||||
'GPy.kern.stationary_cython',
|
||||
"sympy.utilities",
|
||||
"sympy.utilities.lambdify",
|
||||
|
|
@ -62,13 +62,13 @@ if on_rtd:
|
|||
(out, err) = proc.communicate()
|
||||
print("$ pwd: ")
|
||||
print(out)
|
||||
|
||||
|
||||
#Lets regenerate our rst files from the source, -P adds private modules (i.e kern._src)
|
||||
proc = subprocess.Popen("sphinx-apidoc -P -f -o . ../../GPy", stdout=subprocess.PIPE, shell=True)
|
||||
(out, err) = proc.communicate()
|
||||
print("$ Apidoc:")
|
||||
print(out)
|
||||
|
||||
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
|
|
@ -108,6 +108,7 @@ autodoc_default_flags = ['members',
|
|||
#'special-members',
|
||||
#'inherited-members',
|
||||
'show-inheritance']
|
||||
|
||||
autodoc_member_order = 'groupwise'
|
||||
add_function_parentheses = False
|
||||
add_module_names = False
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ matplotlib
|
|||
paramz
|
||||
cython
|
||||
mock
|
||||
sympy
|
||||
sympy
|
||||
nose
|
||||
Loading…
Add table
Add a link
Reference in a new issue