1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Author: Yaroslav O. Halchenko
Last-Update: 2016-07-28 22:47:34 -0400
Description: Do not fail if there is no texext extension for sphinx
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -36,7 +36,7 @@ except ImportError:
try:
import texext
except ImportError:
- raise RuntimeError('Need to install "texext" package for doc build')
+ print(RuntimeError('Need to install "texext" package for doc build'))
# Need nibabel installed as well
try:
@@ -70,7 +70,7 @@ extensions = [
'sphinx.ext.mathjax',
'sphinx.ext.inheritance_diagram',
'sphinx.ext.autosummary',
- 'texext.math_dollar', # has to go before numpydoc
+ #'texext.math_dollar', # has to go before numpydoc
'numpydoc',
'matplotlib.sphinxext.plot_directive',
]
|