Hi, the problem occurred in the file doc/sphinx/ipython_directive200.py. It seems this is an old version of the file [1], so the first thing to try would be to include the new version with a new name and edit doc/sphinx/conf.py so that it is used. Anton, do you mind if I push a patch to the packaging git so that we can both test it?
Best, Tobias [1] https://github.com/ipython/ipython/blob/master/IPython/sphinxext/ipython_directive.py

