From 8dc9bfa2ab878a8ea4827f5dec547aa6747430d3 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 5 Aug 2024 12:58:10 -0700 Subject: [PATCH] Markup tweak for track_event docs --- docs/plugin_hooks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugin_hooks.rst b/docs/plugin_hooks.rst index d3764dcc98..5f735a31c9 100644 --- a/docs/plugin_hooks.rst +++ b/docs/plugin_hooks.rst @@ -1951,7 +1951,7 @@ This example plugin logs details of all events to standard error: The function can also return an async function which will be awaited. This is useful for writing to a database. -This example logs events to a `datasette_events` table in a database called `events`. It uses the `startup()` hook to create that table if it does not exist. +This example logs events to a ``datasette_events`` table in a database called ``events``. It uses the :ref:`plugin_hook_startup` hook to create that table if it does not exist. .. code-block:: python