Show decorator usage instead of signature in docs

This commit is contained in:
Devon R
2021-06-28 12:40:39 +09:00
committed by GitHub
parent 20dd632722
commit b2c9c26841
3 changed files with 110 additions and 19 deletions

View File

@ -140,5 +140,15 @@ API Reference
.. autoclass:: discord.ext.tasks.Loop()
:members:
:special-members: __call__
:exclude-members: after_loop, before_loop, error
.. automethod:: Loop.after_loop()
:decorator:
.. automethod:: Loop.before_loop()
:decorator:
.. automethod:: Loop.error()
:decorator:
.. autofunction:: discord.ext.tasks.loop