If you have a trailing space behind the section (e.g. "Parameters " instead of "Parameters"), docrep will not recognize the section. This should be fixed.
Example:
import docrep
d = docrep.DocstringProcessor()
@d.get_sections(base='test')
def test(i):
'''Some test function
Parameters
----------
i: int
some param
'''
pass
print(d.params["test.parameters"]) # gives ''
If you have a trailing space behind the section (e.g.
"Parameters "
instead of"Parameters"
), docrep will not recognize the section. This should be fixed.Example: