Open
Description
Expected Behavior
The numpy docstring guide allows for a Methods section where you could list class member functions.
I expect this section to be formatted similar like the Parameters section, i.e. as a list with each function an extra element in this list.
Actual Behavior
The 'Members' heading is formatted in the right way, but the functions are not formatted into a list. They are just merged into a single paragraph.
Steps to Reproduce
class Photo(object):
"""
Array with associated photographic information.
Attributes
----------
exposure : float
Exposure in seconds.
Methods
-------
colorspace(c='rgb')
Represent the photo in the given colorspace.
gamma(n=1.0)
Change the photo's gamma exposure.
"""
def colorspace(self, c='rgb'):
"""Set the colorspace.
"""
self.cs = c
def gamma(self, n=1.0):
"""Set gamma correction.
Parameters
----------
n: float
The gamma correction factor
"""
self.gamma = n
Additional info
- pdoc version: 0.9.1