I'd like to include just the docstring of a specific function in my Sphinx documentation. However there seem to be no options to just display these details without associated class and function definitions using http://sphinx.pocoo.org/ext/autodoc.html
I've tried creating a class as outlined in show *only* docstring in Sphinx documentation but I'm not sure how this fits in with the templating.
I've also tried the autodoc-process-docstring event handler with no luck.
So rather than my documentation displaying (as it is currently):
class module.MyClass(param)
This is the class doc string
my_method()
This is my method doc string
I just want to display:
This is my method doc string
My current template in a .txt file is:
.. autoclass:: module.MyClass
:members: my_method