Don't fail documentation build on examples exceptions
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Thu, 5 Nov 2020 07:28:38 +0000 (07:28 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Thu, 5 Nov 2020 07:28:38 +0000 (07:28 +0000)
commiteab37b7fd25d1473d7b895739b7518a6d1107c8e
tree3182742c1ab41e66ad9461765ee1b0e383ea4db1
parent1e9d5cb156e20904c80dda80fb7317b43351bca6
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