X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=doc%2Fconf.py;h=a93352d4f294fc3fc2f807ca69491430a8abab26;hb=fb6fe1fde4ce9d4b5d193aea850ac6306ad282aa;hp=1f1de4dbf97be341401094e8f95756f8d9d75afe;hpb=353cf074189653b0ea0f8e45f98fb597e44ad385;p=hooke.git diff --git a/doc/conf.py b/doc/conf.py index 1f1de4d..a93352d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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'] @@ -198,3 +198,25 @@ 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}} +\newcommand{\rect}{\textrm{rect}} +\newcommand{\rfft}{\textrm{rfft}} +\newcommand{\sinc}{\textrm{sinc}} +""" + +# -- Options for todo ---------------------------------------------------------- + +todo_include_todos = True