diff --git a/doc/source/conf.py b/doc/source/conf.py index c2681b9a..b968fe48 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -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 diff --git a/doc/source/requirements.txt b/doc/source/requirements.txt index 519048a3..5ae1e857 100644 --- a/doc/source/requirements.txt +++ b/doc/source/requirements.txt @@ -6,4 +6,5 @@ matplotlib paramz cython mock -sympy \ No newline at end of file +sympy +nose \ No newline at end of file