Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 21 Apr 2024 19:55:32 +0000 (20:55 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 21 Apr 2024 19:55:32 +0000 (20:55 +0100)
commita9496babf7e0a2cadbe540383476bea09ff871fe
tree9ead1012b0aa7069a3e13cd3daa65a364da0fcb6
parent436c7d160e960e51f73cdde2426f0b3c000d7e64
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