diff --git a/doc/conf.py b/doc/conf.py index e48e286a..4925815d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -114,7 +114,7 @@ class Mock(object): #sys.path.append("../GPy") #import mock -MOCK_MODULES = ['pylab', 'matplotlib', 'sympy', 'sympy.utilities', 'sympy.utilities.codegen', 'sympy.core.cache', 'sympy.core', 'sympy.parsing', 'sympy.parsing.sympy_parser']#'matplotlib', 'matplotlib.color', 'matplotlib.pyplot', 'pylab' ] +MOCK_MODULES = ['pylab']#, 'matplotlib', 'sympy', 'sympy.utilities', 'sympy.utilities.codegen', 'sympy.core.cache', 'sympy.core', 'sympy.parsing', 'sympy.parsing.sympy_parser']#'matplotlib', 'matplotlib.color', 'matplotlib.pyplot', 'pylab' ] for mod_name in MOCK_MODULES: sys.modules[mod_name] = Mock() @@ -141,10 +141,10 @@ sys.path.append(os.path.abspath('sphinxext')) # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', - #'matplotlib.sphinxext.mathmpl', - #'matplotlib.sphinxext.only_directives', + 'matplotlib.sphinxext.mathmpl', + 'matplotlib.sphinxext.only_directives', 'matplotlib.sphinxext.plot_directive', - #'matplotlib.sphinxext.ipython_directive', + 'matplotlib.sphinxext.ipython_directive', 'sphinx.ext.doctest', 'ipython_console_highlighting', 'inheritance_diagram',