Skip to content

Commit 1fbb346

Browse files
Fix formatting in docs. (#400)
Co-authored-by: Sam Bull <[email protected]>
1 parent 214a526 commit 1fbb346

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/api.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,9 @@ Simple initialization::
104104
to `aiohttp_jinja2_environment`.
105105

106106

107-
.. function:: async render_string_async(template_name, request, context, *, \
108-
app_key=APP_KEY)
107+
.. function:: render_string_async(template_name, request, context, *, \
108+
app_key=APP_KEY)
109+
:async:
109110

110111
Async version of ``render_string()``.
111112

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

132133

133-
.. function:: async render_template_async(
134+
.. function:: render_template_async( \
134135
template_name, request, context, *, \
135136
app_key=APP_KEY, encoding='utf-8', status=200)
137+
:async:
136138
137139
Async version of ``render_template()``.
138140

0 commit comments

Comments
 (0)