Origin: NeuroDebian
Last-Update: 2018-02-19
Gbp-Pq: Name deb_no_texext
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
- 'texext.mathcode',
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.mathjax',
'sphinx.ext.autosummary',
- 'texext.math_dollar',
'numpydoc',
'sphinx.ext.inheritance_diagram',
'matplotlib.sphinxext.plot_directive',
'IPython.sphinxext.ipython_console_highlighting',
]
+try:
+ import texext.mathcode
+ import texext.math_dollar
+ extensions += [
+ 'texext.mathcode',
+ 'texext.math_dollar',
+ ]
+except ImportError:
+ pass
+
# Autosummary on
autosummary_generate=True