Skip to content

Commit e73f675

Browse files
docs: use the correct admonition format (#4062)
1 parent 4d53d63 commit e73f675

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/howto/overrides.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ sql:
3939
go_type: "time.Time"
4040
```
4141
42-
.. tip::
42+
:::{tip}
4343
A single `db_type` override configuration applies to either nullable or non-nullable
4444
columns, but not both. If you want the same Go type to override regardless of
4545
nullability, you'll need to configure two overrides: one with `nullable: true` and one without.
46+
:::
4647

4748
## The `overrides` list
4849

@@ -67,12 +68,15 @@ Each element in the `overrides` list has the following keys:
6768
Note that this only applies to `db_type` overrides and has no effect on `column` overrides.
6869
Defaults to `false`.
6970

70-
.. tip::
71+
:::{tip}
7172
A single `db_type` override configuration applies to either nullable or non-nullable
7273
columns, but not both. If you want the same Go type to override regardless of nullability, you'll
7374
need to configure two overrides: one with `nullable: true` and one without.
75+
:::
7476

75-
.. note:: When generating code, `column` override configurations take precedence over `db_type` configurations.
77+
:::{note}
78+
When generating code, `column` override configurations take precedence over `db_type` configurations.
79+
:::
7680

7781
### The `go_type` map
7882

0 commit comments

Comments
 (0)