From f2e2700477dcf309846260cf24f52ef6dc7c5a37 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 22 Jul 2023 15:51:08 -0700 Subject: [PATCH] Fixed prepare_connection heading --- docs/plugins.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/plugins.rst b/docs/plugins.rst index 91540aa..34017a7 100644 --- a/docs/plugins.rst +++ b/docs/plugins.rst @@ -107,8 +107,10 @@ Example implementation: "Say hello world" click.echo("Hello world!") -prepare_connection(conncl) -~~~~~~~~~~~~~~~~~~~~~~ +.. _plugins_hooks_prepare_connection: + +prepare_connection(conn) +~~~~~~~~~~~~~~~~~~~~~~~~ This hook is called when a new SQLite database connection is created. You can use it to `register custom SQL functions `_,