Skip to content

Commit

Permalink
Ran blacken-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jan 31, 2024
1 parent 04e8835 commit 959e020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ To set cookies on the response, use the ``response.set_cookie(...)`` method. The
secure=False,
httponly=False,
samesite="lax",
):
...
): ...
You can use this with :ref:`datasette.sign() <datasette_sign>` to set signed cookies. Here's how you would set the :ref:`ds_actor cookie <authentication_ds_actor>` for use with Datasette :ref:`authentication <authentication>`:

Expand Down
3 changes: 1 addition & 2 deletions docs/plugin_hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,7 @@ Let's say you want to build a plugin that adds a ``datasette publish my_hosting_
about,
about_url,
api_key,
):
...
): ...
Examples: `datasette-publish-fly <https://datasette.io/plugins/datasette-publish-fly>`_, `datasette-publish-vercel <https://datasette.io/plugins/datasette-publish-vercel>`_

Expand Down

0 comments on commit 959e020

Please sign in to comment.