This commit is contained in:
mzwiessele 2018-02-23 00:02:58 +01:00
parent ca2233b7e0
commit 0b666c2c70
2 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -6,4 +6,5 @@ matplotlib
paramz
cython
mock
sympy
sympy
nose