Skip to content

Commit

Permalink
fix(api-reference): remove Astro.canonicalURL
Browse files Browse the repository at this point in the history
It was deprecated but it has been removed in v2.0.0 (see withastro/astro#5707). I
think it should not be displayed in the reference anymore since we are
now at v4.12.1
  • Loading branch information
ArmandPhilippot committed Jul 29, 2024
1 parent 061d4b8 commit 32554a2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/content/docs/en/reference/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -410,14 +410,6 @@ if (!isLoggedIn(cookie)) {
---
```

### `Astro.canonicalURL`

:::caution[Deprecated]
Use [`Astro.url`](#astrourl) to construct your own canonical URL.
:::

The [canonical URL][canonical] of the current page.

### `Astro.url`

<p><Since v="1.0.0-rc" /></p>
Expand Down

0 comments on commit 32554a2

Please sign in to comment.