# 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.autosummary',
- 'sphinx.ext.doctest', 'sphinx.ext.coverage',
- 'numpydoc']
+ 'sphinx.ext.coverage', 'sphinx.ext.doctest',
+ 'sphinx.ext.intersphinx', 'sphinx.ext.pngmath',
+ 'sphinx.ext.todo', 'numpydoc']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# If false, no module index is generated.
#latex_use_modindex = True
+
+# -- Options for intersphinx ---------------------------------------------------
+
+intersphinx_mapping = {
+ 'http://docs.python.org/dev/': None,
+ 'http://docs.scipy.org/doc/numpy/': None,
+ 'http://docs.scipy.org/doc/scipy/reference/': None,
+ 'http://matplotlib.sourceforge.net/' : None,
+ }
+
+# -- Options for pngmath -------------------------------------------------------
+
+pngmath_latex_preamble = r"""
+\newcommand{\gaussian}{\textrm{gaussian}}
+\newcommand{\rect}{\textrm{rect}}
+\newcommand{\rfft}{\textrm{rfft}}
+\newcommand{\sinc}{\textrm{sinc}}
+"""
+
+# -- Options for todo ----------------------------------------------------------
+
+todo_include_todos = True