keras-team/keras-autodoc

Docstring of super class doesn't show

Closed this issue · 1 comments

@gabrieldemarmiesse

I'm seeing an issue where if a docstring exists in the super class but not in the subclass method then it is not showing up at all

This can be fixed using inspect.getdoc instead of __doc__. It's non-trivial because of the docstring parsing being different afterwards, but I'll do it at some point. It's much cleaner anyway.