Skip to content

Commit 889fa09

Browse files
authored
Overhaul releases docs, add branches page (#5189)
1 parent c56f038 commit 889fa09

33 files changed

Lines changed: 393 additions & 384 deletions

docs/_canary-channel-api-warning.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
**This API is currently only available in React Native’s Canary and Experimental channels.**
44

5-
If you want to try it out, please [enable the Canary Channel](releases/release-levels) in your app.
5+
If you want to try it out, please [enable the Canary Channel](release-levels) in your app.
66

77
:::

docs/_experimental-channel-api-warning.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
Experimental APIs may contain bugs and are likely to change in a future version of React Native. Don't use them in production.
66

7-
If you want to try it out, please [enable the Experimental Channel](releases/release-levels) in your app.
7+
If you want to try it out, please [enable the Experimental Channel](release-levels) in your app.
88

99
:::
File renamed without changes.

docs/releases/releases.md

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

docs/upgrading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: upgrading
3-
title: Upgrading to new versions
3+
title: Upgrading to New Versions
44
---
55

66
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';

vercel.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,42 @@
9191
},
9292
{
9393
"source": "/contributing/versioning-policy",
94-
"destination": "/docs/next/releases/versioning-policy",
94+
"destination": "/releases/versioning-policy",
9595
"permanent": true
9696
},
9797
{
9898
"source": "/releases/release-candidate-minor",
99-
"destination": "/docs/next/releases/versioning-policy",
99+
"destination": "/releases/versioning-policy",
100+
"permanent": true
101+
},
102+
{
103+
"source": "/docs/releases",
104+
"destination": "/releases/overview",
105+
"permanent": true
106+
},
107+
{
108+
"source": "/docs/next/releases",
109+
"destination": "/releases/overview",
110+
"permanent": true
111+
},
112+
{
113+
"source": "/docs/releases/versioning-policy",
114+
"destination": "/releases/versioning-policy",
115+
"permanent": true
116+
},
117+
{
118+
"source": "/docs/next/releases/versioning-policy",
119+
"destination": "/releases/versioning-policy",
120+
"permanent": true
121+
},
122+
{
123+
"source": "/docs/releases/release-levels",
124+
"destination": "/docs/release-levels",
125+
"permanent": true
126+
},
127+
{
128+
"source": "/docs/next/releases/release-levels",
129+
"destination": "/docs/next/release-levels",
100130
"permanent": true
101131
},
102132
{

website/blog/2025-12-10-react-native-0.83.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ We're working hard to make React Native releases more predictable and easier to
268268

269269
If you are on React Native 0.82, you should be able to upgrade your app to React Native 0.83 without any changes to your app code.
270270

271-
To learn more about what we consider a breaking change, have a look at [this article](/docs/releases/versioning-policy#what-is-a-breaking-change).
271+
To learn more about what we consider a breaking change, have a look at [this article](/releases/versioning-policy#what-is-a-breaking-change).
272272

273273
## Deprecations
274274

website/blog/2026-04-07-react-native-0.85.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ In Animated, you can now animate layout props with native driver (the [limitatio
5252

5353
You can find more examples under [`react-native/packages/rn-tester/js/examples/AnimationBackend/`](https://github.com/facebook/react-native/tree/main/packages/rn-tester/js/examples/AnimationBackend).
5454

55-
To opt in, you can enable the experimental channel of React Native [as described in this page](/docs/releases/release-levels).
55+
To opt in, you can enable the experimental channel of React Native [as described in this page](/docs/release-levels).
5656

5757
:::info
5858

website/blog/2026-06-11-react-native-0.86.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ React Native 0.86 has **no user-facing breaking changes**.
5353

5454
If you are on React Native 0.85, you should be able to upgrade your app to React Native 0.86 without any changes to your app code.
5555

56-
To learn more about what we consider a breaking change, have a look at [this article](/docs/releases/versioning-policy#what-is-a-breaking-change).
56+
To learn more about what we consider a breaking change, have a look at [this article](/releases/versioning-policy#what-is-a-breaking-change).
5757

5858
## Deprecations
5959

website/docusaurus.config.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ const config: Config = {
213213
require.resolve('./src/css/showcase.scss'),
214214
require.resolve('./src/css/versions.scss'),
215215
require.resolve('./src/css/docs-secondary-nav.scss'),
216+
require.resolve('./src/css/releases.scss'),
216217
],
217218
},
218219
gtag: {
@@ -268,6 +269,16 @@ const config: Config = {
268269
...commonDocsOptions,
269270
} satisfies PluginContentDocs.Options,
270271
],
272+
[
273+
'content-docs',
274+
{
275+
id: 'releases',
276+
path: 'releases',
277+
routeBasePath: '/releases',
278+
sidebarPath: require.resolve('./sidebarsReleases'),
279+
...commonDocsOptions,
280+
} satisfies PluginContentDocs.Options,
281+
],
271282
[
272283
'@docusaurus/plugin-pwa',
273284
{
@@ -437,6 +448,12 @@ const config: Config = {
437448
{label: 'Architecture', to: '/architecture/overview'},
438449
],
439450
},
451+
{
452+
to: '/releases/overview',
453+
label: 'Releases',
454+
position: 'right',
455+
activeBaseRegex: '^/(releases|versions)',
456+
},
440457
{
441458
type: 'doc',
442459
docId: 'overview',

0 commit comments

Comments
 (0)