Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 20 Feb 2022 20:03:58 +0000 (20:03 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 20 Feb 2022 20:03:58 +0000 (20:03 +0000)
commitb6bc40f70d5f3010ce32b16e28e7a5855f947077
tree7d0b72294567c1ef17607f02e54c4122c5f3c000
parentf8adf34966bb09f9c771720336d34889364aba72
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