Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)
commit9f25fc6e478278673cb8ba2ab70156ef3528dbca
tree5e6a494597b60f371ce7cf531f57044472682a26
parent124d0ef58e1710d5ed981e44a4b3a10cab949e9e
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