Skip to content

Commit

Permalink
Improve linkage to async strategies in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Jan 9, 2023
1 parent 46b5bff commit 5bbd18c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions doc/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ API Reference
Strategies
==========

Synchronous
-----------
Synchronous Strategies
----------------------

The available built in rate limiting strategies which expect
a single parameter: a subclass of :class:`~limits.storage.Storage`.
Expand All @@ -35,8 +35,8 @@ All strategies implement the same abstract base class:

.. autoclass:: RateLimiter

Async
-----
Async Strategies
----------------

These variants should be used in for asyncio support. These strategies
expose async variants and expect a subclass of :class:`limits.aio.storage.Storage`
Expand Down
3 changes: 1 addition & 2 deletions doc/source/async.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,5 @@ This example demonstrates the subtle differences in the ``limits.aio`` namespace
Refer to :ref:`api:async storage` for more implementation details of the async
storage backends, and :ref:`api:strategies` (Async) for the async rate limit
strategies API.
storage backends, and :ref:`api:async strategies` for the async rate limit strategies API.

0 comments on commit 5bbd18c

Please sign in to comment.