Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 27 Mar 2022 11:20:47 +0000 (12:20 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 27 Mar 2022 11:20:47 +0000 (12:20 +0100)
commitd7cf32ca8f7aa59c2068723644a9dc9ae519b006
tree87f962777eb4ec9aacae0121034d0e00626ffb0d
parent4f5a23ee8b973ed48abf402adc4705af74944f40
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