DOC: Replace use of gen_rst with plot2rst extension.

This commit is contained in:
Tony S Yu
2012-05-15 00:52:30 -04:00
parent 01d86e3317
commit 5a89ef61a6
3 changed files with 506 additions and 1 deletions
+3 -1
View File
@@ -32,7 +32,7 @@ except:
# 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.pngmath', 'numpydoc',
'sphinx.ext.autosummary', 'plot_directive', 'gen_rst']
'sphinx.ext.autosummary', 'plot_directive', 'plot2rst']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -257,3 +257,5 @@ matplotlib.rcParams.update({
"""
plot_include_source = True
plot_formats = [('png', 100)]
plot2rst_index_name = 'README'
@@ -79,6 +79,7 @@ h1, h2, h3, h4 {
font-weight: normal;
color: {{ theme_headercolor2 }};
margin-bottom: .8em;
clear: left;
}
h1 {