I have extensive docstrings in my Python package classes and methods that are brought into Sphinx using the autodoc directive to generate the project docs.
Some of the external (not starting with underscore) methods are API methods that should appear in the user documentation. Others are external because they need to be called from another module, but make up an internal API. These should not appear in the user documentation.
So far, I have manually distinguished user API methods from internal API methods using the :members: parameter. This turns out to be error prone as I add new methods and I would like to indicate right in the docstring whether the method should appear in user API docs.
Is there a way I can "tag" the docstring or something like that to appear directly in the source code to indicate it should appear in user API docs?