File tree Expand file tree Collapse file tree 3 files changed +6
-75
lines changed Expand file tree Collapse file tree 3 files changed +6
-75
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ script:
107
107
COVER_ARGS="--with-coverage --cover-package nibabel";
108
108
fi
109
109
- if [ "$DOC_DOC_TEST" == "1" ]; then
110
- pip install sphinx numpydoc;
110
+ pip install sphinx numpydoc texext ;
111
111
cd ../doc;
112
112
make html;
113
113
make doctest;
Original file line number Diff line number Diff line change 29
29
import numpydoc
30
30
except ImportError :
31
31
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' )
32
36
33
37
# If extensions (or modules to document with autodoc) are in another directory,
34
38
# add these directories to sys.path here. If the directory is relative to the
55
59
'sphinx.ext.mathjax' ,
56
60
'sphinx.ext.inheritance_diagram' ,
57
61
'sphinx.ext.autosummary' ,
58
- 'math_dollar' , # has to go before numpydoc
62
+ 'texext. math_dollar' , # has to go before numpydoc
59
63
'numpydoc' ,
60
64
'only_directives' ,
61
65
'plot_directive' ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments