Say I have documented a variable in a Python module, like so:
some_random_name = 'whatever'
"""The random whatever variable"""
Can I include autodocs for that single variable in my .rst file, without also dragging in the module __doc__
string and generating documentation output for that too?
I have tried
.. automodule: themodule
:members: some_random_name
but that both drags in the __doc__
string and does not show autodocs for some_random_name
.