Docs - change sphinx theme (switch to "furo")

This commit is contained in:
Sam
2023-06-18 15:02:21 +02:00
parent 3a6315d62f
commit 1375986837
128 changed files with 8621 additions and 31909 deletions

View File

@ -523,7 +523,7 @@ def authorize(auth_user: User) -> Union[HttpResponse, Dict]:
:form string response_type: client response type (only 'code' is supported
by FitTrackee)
:form string scopes: OAuth2 client scopes
:form boolean confirm: confirmation (must be 'true')
:form boolean confirm: confirmation (must be ``true``)
:form string state: unique value to prevent cross-site request forgery
(not mandatory but recommended)
:form string code_challenge: string generated from a code verifier

View File

@ -119,7 +119,7 @@ def register_user() -> Union[Tuple[Dict, int], HttpResponse]:
:<json string password: password (8 characters required)
:<json string lang: user language preferences (if not provided or invalid,
fallback to 'en' (english))
:<json boolean accepted_policy: true if user accepted privacy policy
:<json boolean accepted_policy: ``true`` if user accepted privacy policy
:statuscode 200: success
:statuscode 400:
@ -1678,7 +1678,7 @@ def accept_privacy_policy(auth_user: User) -> Union[Dict, HttpResponse]:
"status": "success"
}
:<json boolean accepted_policy: true if user accepted privacy policy
:<json boolean accepted_policy: ``true`` if user accepted privacy policy
:reqheader Authorization: OAuth 2.0 Bearer Token