From 964de3d14af6d91670c1c9aae846d88b5bf2490a Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sun, 10 Jul 2011 15:36:14 -0400 Subject: [PATCH] Use matplotlib's plot_directive.py for Sphinx documentation. Included plot_directive.py is broken for Sphinx 1.0. See http://projects.scipy.org/numpy/ticket/1489 --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index bffc63e4..c79e8f82 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -27,7 +27,7 @@ sys.path.append(os.path.join(curpath, '..', 'ext')) # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.pngmath', 'numpydoc', 'sphinx.ext.autosummary', 'sphinx.ext.inheritance_diagram', - 'plot_directive'] + 'matplotlib.sphinxext.plot_directive'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']