Skip to content

Commit 29e4c7d

Browse files
committed
DOCTEST: Use texext 0.3
1 parent e9074fa commit 29e4c7d

File tree

3 files changed

+6
-75
lines changed

3 files changed

+6
-75
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ script:
107107
COVER_ARGS="--with-coverage --cover-package nibabel";
108108
fi
109109
- if [ "$DOC_DOC_TEST" == "1" ]; then
110-
pip install sphinx numpydoc;
110+
pip install sphinx numpydoc texext;
111111
cd ../doc;
112112
make html;
113113
make doctest;

doc/source/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
import numpydoc
3030
except ImportError:
3131
raise RuntimeError('Need to install "numpydoc" package for doc build')
32+
try:
33+
import texext
34+
except ImportError:
35+
raise RuntimeError('Need to install "texext" package for doc build')
3236

3337
# If extensions (or modules to document with autodoc) are in another directory,
3438
# add these directories to sys.path here. If the directory is relative to the
@@ -55,7 +59,7 @@
5559
'sphinx.ext.mathjax',
5660
'sphinx.ext.inheritance_diagram',
5761
'sphinx.ext.autosummary',
58-
'math_dollar', # has to go before numpydoc
62+
'texext.math_dollar', # has to go before numpydoc
5963
'numpydoc',
6064
'only_directives',
6165
'plot_directive',

doc/sphinxext/math_dollar.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)