Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sat, 11 Nov 2023 20:34:28 +0000 (20:34 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 11 Nov 2023 20:34:28 +0000 (20:34 +0000)
commit104e82287db7faf062258022e97fb3aca281383c
treeb4e74c08dd1b848b6868f318966fca073e8d16da
parent989ed65e0c4a4f77d855f4d58ca7145747e1a42a
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