Closed mpharrigan closed 7 years ago
Also see https://github.com/sphinx-doc/sphinx/issues/2940
And minimum example here: https://github.com/amueller/sphinx_autodoc_debug
This is really really bad :(
@mpharrigan do you actually have that with static rest files? I only had this problem with autodoc, I think.
I think the problem is here: https://github.com/numpy/numpydoc/blob/master/numpydoc/numpydoc.py#L202
It seems when there's an error in sphinx, you get a printout of the following form
When an error occurs in a numpydoc-ed class, the filename part is replaced with a representation of a python list of all the lines (in rst-form, post numpydoc mangling) which can be quite long. It fills up my bash history and makes it incredibly hard to see the actual error message.
Can anyone point me to where I might investigate where this filename is getting (re-)set?