From: Debian Science Team Date: Wed, 6 Mar 2019 22:19:34 +0000 (+0000) Subject: deb_ndsphinx_optional X-Git-Tag: archive/raspbian/0.25.3+dfsg2-2+rpi1~1^2^2^2^2^2^2^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8944f57865f5bb7016ae32e2c5b7d1c47b4234ec;p=pandas.git deb_ndsphinx_optional Gbp-Pq: Name deb_ndsphinx_optional --- diff --git a/doc/source/conf.py b/doc/source/conf.py index 1342d749..32b260dd 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -72,10 +72,14 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.linkcode', - 'nbsphinx', ] mathjax_path='MathJax.js' +try: + import nbsphinx + extensions += ['nbsphinx'] +except: + pass # survive without exclude_patterns = ['**.ipynb_checkpoints']