Skip to content

Commit 5e723f8

Browse files
committed
fix: missing title in functions documentation
1 parent a76acd7 commit 5e723f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/official-site/functions.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ select 'http_header' as component,
33
iif($function is not null, sqlpage.link('functions', json_object('function', $function)), 'functions.sql')
44
) as "Link";
55

6-
select 'dynamic' as component, properties
6+
select 'dynamic' as component, json_patch(json_extract(properties, '$[0]'), json_object(
7+
'title', coalesce($function || ' - ', '') || 'SQLPage Functions Documentation'
8+
)) as properties
79
FROM example WHERE component = 'shell' LIMIT 1;
810

911
select 'breadcrumb' as component;

0 commit comments

Comments
 (0)