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