Skip to content

Commit

Permalink
Fix formatting in docs. (#400)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Bull <[email protected]>
  • Loading branch information
Dreamsorcerer and Dreamsorcerer authored Nov 22, 2020
1 parent 214a526 commit 1fbb346
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ Simple initialization::
to `aiohttp_jinja2_environment`.


.. function:: async render_string_async(template_name, request, context, *, \
app_key=APP_KEY)
.. function:: render_string_async(template_name, request, context, *, \
app_key=APP_KEY)
:async:

Async version of ``render_string()``.

Expand All @@ -130,9 +131,10 @@ Simple initialization::
:param int status: http status code that will be set on resulting response.


.. function:: async render_template_async(
.. function:: render_template_async( \
template_name, request, context, *, \
app_key=APP_KEY, encoding='utf-8', status=200)
:async:
Async version of ``render_template()``.

Expand Down

0 comments on commit 1fbb346

Please sign in to comment.