Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)
commitf43fa50ba38ad660113db88ea11a9607361b4820
tree9a5d5687030b8ea78ca48ff6c8dd99824bea78ce
parent0efddcd8bf6aebb7923d8f4d331d16c00543fd15
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