Closed moigagoo closed 10 years ago
I can't reproduce the crash you write about. When I encounter empty docstrings, nothing happens. What version of Sphinx are you using?
I'm using Sphinx 1.2.2 with Python 3.4.
I finally found the time to reproduce the bug and I did so: One has to enable documentation of "undocumented members" with :undoc-members:
. With this. I could reproduce the crash.
Oh, thanks for the patch by the way :)
Thanks for the great extension! Happy to be useful :-)
If an empty docstring was encountered, build would crash with IndexError (
result
was empty, so accessing its -1st element raised an error).Additional checks added.