Updated doc/gui.txt and add and use Sphinx' todo extension.
[hooke.git] / doc / conf.py
index 5cbc0f0c7eac8c2f7da75c3ec7edb99b748c87cc..a93352d4f294fc3fc2f807ca69491430a8abab26 100644 (file)
@@ -28,7 +28,7 @@ import hooke
 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary',
               'sphinx.ext.coverage', 'sphinx.ext.doctest', 
               'sphinx.ext.intersphinx', 'sphinx.ext.pngmath',
-              'numpydoc']
+              'sphinx.ext.todo', 'numpydoc']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -199,6 +199,24 @@ latex_documents = [
 # If false, no module index is generated.
 #latex_use_modindex = True
 
-# -- Options for LaTeX intersphinx----------------------------------------------
+# -- Options for intersphinx ---------------------------------------------------
 
-intersphinx_mapping = {'http://docs.python.org/dev': None}
+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