Skip to content

Commit 9943261

Browse files
authored
[Docs Site] Rename /changelog-next/ to /changelog/, /changelog/ to /release-notes/ (#19675)
1 parent d6c09cd commit 9943261

File tree

12 files changed

+333
-329
lines changed

12 files changed

+333
-329
lines changed

public/_redirects

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
/dashboard-landing/ / 301
55
/tutorials/ /search/?content_type%5B0%5D=Tutorial 301
66
/sitemap.xml /sitemap-index.xml
7+
/changelog/index.xml /release-notes/index.xml 301
8+
/deprecations/ /fundamentals/api/reference/deprecations/ 301
79

810
# 1dot1_redirect
911
/1.1.1.1/1.1.1.1-for-families/ /1.1.1.1/setup/ 301
@@ -1810,6 +1812,7 @@
18101812
/cloudflare-one/tutorials/zsh-env-var/ /cloudflare-one/tutorials/cli/ 301
18111813

18121814
### DYNAMIC REDIRECTS ###
1815+
/changelog-next/* /changelog/:splat 301
18131816
/*/sitemap.xml /sitemap-index.xml 301
18141817
/access/configuring-identity-providers/* /cloudflare-one/identity/idp-integration/:splat 301
18151818
/api-security/* /api-shield/:splat 301

src/components/changelog-next/Header.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const products = await uniqueProducts(notes);
3939
<p>
4040
New updates and improvements at Cloudflare.
4141
<a
42-
href="/changelog-next/rss.xml"
42+
href="/changelog/rss.xml"
4343
class="dark:!hover:text-[#79B1FF] -mx-2 whitespace-nowrap px-2 text-[#056DFF] no-underline hover:rounded-[4px] hover:bg-[#DCEBFF] hover:!text-[#056DFF] dark:text-[#79B1FF] dark:hover:bg-[#002B66] max-sm:block"
4444
>
4545
Subscribe to RSS

src/content/docs/fundamentals/api/reference/deprecations.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ProductChangelog } from "~/components";
1414
Cloudflare occasionally makes updates to our APIs that result in behavior changes or deprecations. When this happens, we will communicate when the API will no longer be available and whether there will be a replacement.
1515

1616
:::note
17-
Subscribe to all API deprecation posts via [RSS](/changelog/index.xml).
17+
Subscribe to all API deprecation posts via [RSS](/release-notes/index.xml).
1818
:::
1919

2020
<ProductChangelog />

src/pages/changelog-next/index.astro

Lines changed: 0 additions & 139 deletions
This file was deleted.

src/pages/changelog-next/[...slug].astro renamed to src/pages/changelog/[...slug].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const props = {
4141
<StarlightPage {...props}>
4242
<Header />
4343
<div class="mt-0! mb-10">
44-
<a href="/changelog-next/" class="no-underline">
44+
<a href="/changelog/" class="no-underline">
4545
<span class="text-accent">← </span>
4646
<span class="text-black">Back to all posts</span>
4747
</a>

0 commit comments

Comments
 (0)