From 3c9bcc285147154a2980f6e661efdfa676672b6a Mon Sep 17 00:00:00 2001 From: NCPlayz Date: Sat, 18 May 2019 06:04:54 -0400 Subject: Improve documentation --- docs/ext/commands/api.rst | 8 ++++---- docs/ext/commands/commands.rst | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/ext') diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst index e9705125..a33c31bc 100644 --- a/docs/ext/commands/api.rst +++ b/docs/ext/commands/api.rst @@ -38,9 +38,9 @@ are custom to the command extension module. A default one is provided (:meth:`.Bot.on_command_error`). :param ctx: The invocation context. - :type ctx: :class:`Context` + :type ctx: :class:`.Context` :param error: The error that was raised. - :type error: :class:`CommandError` derived + :type error: :class:`.CommandError` derived .. function:: on_command(ctx) @@ -50,7 +50,7 @@ are custom to the command extension module. error or completes. :param ctx: The invocation context. - :type ctx: :class:`Context` + :type ctx: :class:`.Context` .. function:: on_command_completion(ctx) @@ -60,7 +60,7 @@ are custom to the command extension module. passed and the user input it correctly. :param ctx: The invocation context. - :type ctx: :class:`Context` + :type ctx: :class:`.Context` .. _ext_commands_api_command: diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst index 4ea0bf55..782188bc 100644 --- a/docs/ext/commands/commands.rst +++ b/docs/ext/commands/commands.rst @@ -129,7 +129,7 @@ at all: .. image:: /images/commands/variable3.png -Since the ``args`` variable is a `tuple `_, +Since the ``args`` variable is a :class:`py:tuple`, you can do anything you would usually do with one. Keyword-Only Arguments -- cgit v1.2.3