Show decorator usage instead of signature in docs

This commit is contained in:
Devon R authored and GitHub committed 2021-06-27 23:40:39 -04:00
1 parent 20dd632722
commit b2c9c26841
3 files changed
+110 -19

No files matched your search

+10
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