I am using Sphinx and autodoc for my Python package which results in nice documentation but by default the full "path" to the function, e.g.:
SomeFolder.AnotherFolder.MyModule.FunctionName(arg1, arg2, arg3)
Since it is clear where the module is, by how my sections are called, and since I get line breaks if there are long argument names, I would like to have a shorter name, like
MyModule.FunctionName(arg1, arg2, arg3)
I assume there is some option to pass to autofunction like
.. autofunction:: SomeFolder.AnotherFolder.MyModule.FunctionName
:someoption:
but I couldn't find it on http://sphinx-doc.org/ext/autodoc.html
P.S: leaving out the folder names in the call of autofunction, i.e.,
.. autofunction:: MyModule.FunctionName
results in Sphinx not finding the function (and empty documentation)