Update sphinx and fix documentation issues

This commit is contained in:
Josh
2022-02-19 22:35:32 -05:00
committed by GitHub
parent dede5539ee
commit 4dbe1af32f
10 changed files with 51 additions and 52 deletions
+1 -1
View File
@@ -548,7 +548,7 @@ class BotBase(GroupMixin):
The cog does not inherit from :class:`.Cog`.
CommandError
An error happened during loading.
.ClientException
ClientException
A cog with the same name is already loaded.
"""
+2 -2
View File
@@ -130,9 +130,9 @@ class Converter(Protocol[T_co]):
Raises
-------
:exc:`.CommandError`
CommandError
A generic exception occurred when converting the argument.
:exc:`.BadArgument`
BadArgument
The converter failed to convert the argument.
"""
raise NotImplementedError('Derived classes need to implement this.')
+1 -1
View File
@@ -1184,7 +1184,7 @@ class GroupMixin(Generic[CogT]):
Raises
-------
:exc:`.CommandRegistrationError`
CommandRegistrationError
If the command or its alias is already registered by different command.
TypeError
If the command passed is not a subclass of :class:`.Command`.