Skip to content

Commit 21133ec

Browse files
docs: Fix some broken links (#2913)
1 parent 2d8e1b6 commit 21133ec

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/howto/managed-databases.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ built-in query analysis engine. PostgreSQL support is available today, with
1313
MySQL on the way.
1414

1515
Once configured, `sqlc` will also use managed databases when linting queries
16-
with [`sqlc vet`](vet.html) in cases where your lint rules require a connection
16+
with [`sqlc vet`](vet.md) in cases where your lint rules require a connection
1717
to a running database.
1818

1919
Managed databases are under active development, and we're interested in
@@ -78,9 +78,9 @@ sql:
7878

7979
With managed databases configured, `sqlc vet` will automatically create a hosted ephemeral database with your
8080
schema and use that database when running lint rules that require a
81-
database connection, e.g. any [rule relying on `EXPLAIN ...` output](vet.html#rules-using-explain-output).
81+
database connection, e.g. any [rule relying on `EXPLAIN ...` output](vet.md#rules-using-explain-output).
8282

83-
If you don't yet have any vet rules, the [built-in sqlc/db-prepare rule](vet.html#sqlc-db-prepare)
83+
If you don't yet have any vet rules, the [built-in sqlc/db-prepare rule](vet.md#sqlc-db-prepare)
8484
is a good place to start. It prepares each of your queries against the database
8585
to ensure the query is valid. Here's a minimal working configuration:
8686

@@ -128,4 +128,4 @@ sql:
128128
engine: postgresql
129129
database:
130130
managed: true
131-
```
131+
```

docs/reference/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ rules:
382382
!(postgresql.explain.plan.plans.all(p, has(p.index_name) || p.plans.all(p, has(p.index_name))))
383383
```
384384

385-
The expression environment has two variables containing `EXPLAIN ...` output, `postgresql.explain` and `mysql.explain`. `sqlc` only populates the variable associated with your configured database engine, and only when you have a [database connection configured](../reference/config.html#database).
385+
The expression environment has two variables containing `EXPLAIN ...` output, `postgresql.explain` and `mysql.explain`. `sqlc` only populates the variable associated with your configured database engine, and only when you have a [database connection configured](../reference/config.md#database).
386386

387387
For the `postgresql` engine, `sqlc` runs
388388

docs/reference/datatypes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
database types to Go types. Choices for more complex types are described below.
55

66
If you're unsatisfied with the default, you can override any type using the
7-
[overrides list](./config.html#type-overriding) in your `sqlc` config file.
7+
[overrides list](config.md#type-overriding) in your `sqlc` config file.
88

99
## Arrays
1010

@@ -246,4 +246,4 @@ SELECT * FROM shapes;
246246
}
247247
]
248248
}
249-
```
249+
```

docs/reference/macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ Since the `/*SLICE:ages*/` placeholder is dynamically replaced on a per-query
116116
basis, this macro can't be used with prepared statements.
117117

118118
See a full example in [Passing a slice as a parameter to a
119-
query](../howto/select.html#mysql-and-sqlite).
119+
query](../howto/select.md#mysql-and-sqlite).

0 commit comments

Comments
 (0)