Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 24 Jul 2022 16:51:07 +0000 (17:51 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 24 Jul 2022 16:51:07 +0000 (17:51 +0100)
commitc57d7e55222e24e5526ace76e36f51f19908fb5b
tree412ece5e4ef9781dfaad05d8b21429c5cebe9c05
parent52001ca914f3d01d70956f20a8988aab49f2eacf
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