Skip to content

Commit e41dffd

Browse files
Debian Science Teamrebecca-palmer
Debian Science Team
authored andcommitted
deb_ndsphinx_optional
Gbp-Pq: Name deb_ndsphinx_optional
1 parent 836b754 commit e41dffd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/source/conf.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,16 @@
6363
"sphinx.ext.mathjax",
6464
"sphinx.ext.ifconfig",
6565
"sphinx.ext.linkcode",
66-
"nbsphinx",
66+
# "nbsphinx",
6767
"contributors", # custom pandas extension
6868
]
6969

7070
mathjax_path="MathJax.js"
71+
try:
72+
import nbsphinx
73+
extensions += ["nbsphinx"]
74+
except:
75+
pass # survive without
7176

7277
exclude_patterns = ["**.ipynb_checkpoints"]
7378
try:

0 commit comments

Comments
 (0)