Skip to content

Commit

Permalink
fix(headless/spec): Documentation typ-o's
Browse files Browse the repository at this point in the history
  • Loading branch information
pennersr authored and pennersr committed Dec 27, 2024
1 parent daf07aa commit 4867048
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ChangeLog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Note worthy changes
(``"headless/spec/swagger_cdn.html"``).

- Headless: added a new setting, ``HEADLESS_CLIENTS`` which you can use to limit
the types of API clientsx (app/browser).
the types of API clients (app/browser).


65.3.1 (2025-12-25)
Expand Down
8 changes: 4 additions & 4 deletions docs/headless/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Available settings:

``HEADLESS_ADAPTER`` (default: ``"allauth.headless.adapter.DefaultHeadlessAdapter"``)
Specifies the adapter class to use, allowing you to alter certain
default behaviour.
default behavior.

``HEADLESS_CLIENTS`` (default: ``("app", "browser")``)
Specificies the supported types of clients for the API. Setting this to
e.g. `("app",)` will remove all `"browser"` related endpoints.
Specifies the supported types of clients for the API. Setting this to
e.g. ``("app",)`` will remove all ``"browser"`` related endpoints.

``HEADLESS_FRONTEND_URLS`` (default: ``{}``)
Email confirmation and password reset mails contain links that by default point to the
Expand Down Expand Up @@ -44,7 +44,7 @@ Available settings:
``HEADLESS_SPECIFICATION_TEMPLATE_NAME`` (default: ``"headless/spec/redoc_cdn.html"``)
The template used to serve the OpenAPI specification in HTML format. Out of the box,
Redoc (``"headless/spec/redoc_cdn.html"``) and Swagger (
(``"headless/spec/swagger_cdn.html"``) are available..
(``"headless/spec/swagger_cdn.html"``) are available.

``HEADLESS_TOKEN_STRATEGY`` (default: ``"allauth.headless.tokens.sessions.SessionTokenStrategy"``)
If you need to change the way tokens are created and handled, you can plug in your own
Expand Down

0 comments on commit 4867048

Please sign in to comment.