Similarly to how :meta private:, :meta public:, or :meta hide-value: in Sphinx work (see the docs here), I would want to be able to mark function as a decorator/abstractmethod/etc using something like this:
def function():
"""
Description of the method
:trio decorator:
:trio classmethod:
"""
It should probably be possible to base its implementation on Sphinx's own implementation used for the :meta: fields.