Hey all,
there are many tools/packages aimed towards building documentation from code, however I was wondering if someone could point me in the direction of a module designed to automatically generate function docstrings?
So something along the lines of
I developed a library, which does it the other way round: you create a (standardized) doc-string and said library automatically adds the belonging dynamic type and range checking (code).
which I use to produce mdoule README files in markdown format. It
enumerates the names in the module and makes documentation from the
function signatures and the function docstring. It’s customised to my
own foibles, but you could use it to see how to get the function
signature; that would let you construct a docstring template for your
function like what you suggest above.