sphinx-contrib / matlabdomain

A Sphinx extension for documenting Matlab code
http://sphinxcontrib-matlabdomain.readthedocs.io/
Other
70 stars 45 forks source link

Undocumented members are always included regardless of :undoc-members: #84

Closed PekaryGergelyR closed 5 years ago

PekaryGergelyR commented 5 years ago

The parsing correctly sets the None type for the empty docstring however the documenter accesses the __doc__ which converts it to string using str(self.doctring) which will be interpreted as an existing docstring!

PekaryGergelyR commented 5 years ago

@joeced I suggest that the Matx.__doc__ should return the self.docstring without str conversion. What do you think?