Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 17 Jan 2021 14:02:15 +0000 (14:02 +0000)
committerDrew Parsons <dparsons@debian.org>
Sun, 17 Jan 2021 14:02:15 +0000 (14:02 +0000)
commitf32f560c909d30ddf2c467ce2e1feb09bc5a070a
tree8aa4616a4b7fda36f94f7e7223e59c16a725a9af
parentd0d75167a9210ee108cee03c9e70eeaeb55bc158
Don't fail documentation build on examples exceptions

If example code outputs an error when run,
ipython (ipython:: blocks) now fails the whole build by default,
and tools/nbgenerate.py (.ipynb files) now leaves out that file
(leaving a broken link in the examples index).

As some examples use downloaded data and are hence expected to be
unrunnable on a Debian buildd, this instead keeps them
(::ipython with error output, .ipynb without output).

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_ignore_errors.patch
docs/Makefile
docs/source/conf.py