put a new line between the short and long description

This commit is contained in:
Izalia Mae 2024-10-14 15:51:06 -04:00
parent 594af5658b
commit 8a5a13f516
2 changed files with 4 additions and 2 deletions

View file

@ -24,7 +24,9 @@ async def handle_authorize_get(
client_id: str,
redirect_uri: str) -> Response:
"""
Authorize an application. Redirects to the application's redirect URI if accepted.
Authorize an application.
Redirects to the application's redirect URI if accepted.
:param response_type: What to respond with. Should always be set to ``code``.
:param client_id: Application identifier

View file

@ -53,7 +53,7 @@ def parse_docstring(docstring: str) -> tuple[str, dict[str, str]]:
body = cast(str, ds.short_description)
else:
body = "\n".join([ds.short_description, ds.long_description]) # type: ignore[list-item]
body = "\n\n".join([ds.short_description, ds.long_description]) # type: ignore[list-item]
return body, params