File: deb_notexext

package info (click to toggle)
nibabel 5.3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 69,240 kB
  • sloc: python: 39,826; makefile: 276; ansic: 202; sh: 99
file content (24 lines) | stat: -rw-r--r-- 721 bytes parent folder | download | duplicates (2)
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
Description:  Do not fail if there is no texext extension for sphinx

--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -39,7 +39,7 @@
 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:
@@ -78,7 +78,7 @@
     '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',
 ]