Skip to content

Commit c27404f

Browse files
committed
fix display issue for version numbers in the documentation
1 parent d6dfb03 commit c27404f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/official-site/documentation.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ select 'text' as component,
5353
select description as contents from component where name = $component;
5454

5555
select 'text' as component;
56-
select format('Introduced in SQLPage v%s.', introduced_in_version) as contents,
57-
1 as size
58-
from component where name = $component;
56+
select format('Introduced in SQLPage v%s.', introduced_in_version) as contents, 1 as size
57+
from component
58+
where name = $component and introduced_in_version IS NOT NULL;
5959

6060
select 'title' as component, 3 as level, 'Top-level parameters' as contents where $component IS NOT NULL;
6161
select 'card' as component, 3 AS columns where $component IS NOT NULL;

0 commit comments

Comments
 (0)