From 3c7d57498b13cc245affd7642197ed0a4bf534dc Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 29 Jul 2024 16:52:14 +0200 Subject: [PATCH] fix(api-reference): remove Astro.canonicalURL It was deprecated but it has been removed in v2.0.0 (see https://github.com/withastro/astro/pull/5707). I think it should not be displayed in the reference anymore since we are now at v4.12.1 --- src/content/docs/en/reference/api-reference.mdx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/content/docs/en/reference/api-reference.mdx b/src/content/docs/en/reference/api-reference.mdx index a9ed0aaf2ee4ab..83e4cff481b574 100644 --- a/src/content/docs/en/reference/api-reference.mdx +++ b/src/content/docs/en/reference/api-reference.mdx @@ -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`