Skip to content

Commit

Permalink
Fix broken links in docs (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariatta committed Aug 4, 2023
1 parent dbcdf4b commit 735154e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

When a single web service is used to perform multiple actions based on
a single
`webhook event <https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/about-webhooks#events>`_, it
`webhook event <https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads>`_, it
is easier to do those multiple steps in some sort of routing mechanism
to make sure the right objects are called is provided. This module is
meant to provide such a router for :class:`gidgethub.sansio.Event`
Expand Down
6 changes: 3 additions & 3 deletions docs/sansio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Webhook events
--------------
`Webhook events <https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/about-webhooks>`_ are represented by
`Webhook events <https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads>`_ are represented by
:class:`Event` objects. The expectation is that a server will receive an HTTP
request from GitHub and then use :meth:`Event.from_http` to create an
:class:`Event` instance. For example::
Expand Down Expand Up @@ -44,14 +44,14 @@ without requiring the use of the :class:`Event` class.

.. attribute:: data

The `payload <https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/webhook-events-and-payloads>`_ of the
The `payload <https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads>`_ of the
event.


.. attribute:: event

The string representation of the
`triggering event <https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/about-webhooks#events>`_.
`triggering event <https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads>`_.


.. attribute:: delivery_id
Expand Down

0 comments on commit 735154e

Please sign in to comment.