File: deb_notexext

package info (click to toggle)
nibabel 5.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,108 kB
  • sloc: python: 38,671; makefile: 270; sh: 224; ansic: 202
file content (24 lines) | stat: -rw-r--r-- 771 bytes parent folder | download
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',
 ]