X-Git-Url: http://git.tremily.us/?p=hooke.git;a=blobdiff_plain;f=doc%2Fconf.py;h=f78d7259faaac2e75fa75e4f9f9f6bed81740beb;hp=43786fd28fac7d3226d213f0e03de90d4dda0579;hb=HEAD;hpb=7ba5f553f8344edb31a72576d5fbade55516e9b4 diff --git a/doc/conf.py b/doc/conf.py index 43786fd..f78d725 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -26,8 +26,9 @@ import hooke # 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'] @@ -197,3 +198,22 @@ latex_documents = [ # 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}} +""" + +# -- Options for todo ---------------------------------------------------------- + +todo_include_todos = True