Example generation from scripts, taken from scikit learn

(ext/gen_rst.py)
This commit is contained in:
Emmanuelle Gouillart
2011-09-23 23:53:47 +02:00
parent 5281e7564f
commit cce3d7bcc5
6 changed files with 423 additions and 1 deletions
+7 -1
View File
@@ -23,11 +23,17 @@ sys.path.append(os.path.join(curpath, '..', 'ext'))
# -- General configuration -----------------------------------------------------
try:
import gen_rst
except:
pass
# 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', 'sphinx.ext.inheritance_diagram',
'plot_directive']
'plot_directive', 'gen_rst']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
+5
View File
@@ -39,6 +39,11 @@ Sections
Conditions on the use and redistribution of this package.
`Examples <auto_examples/index.html>`_
Introductory examples
Indices and Tables
==================