From cfcdb236ef1868b43e936cea1814fd7ffab21b89 Mon Sep 17 00:00:00 2001 From: Alexey Karimov Date: Fri, 16 Oct 2026 18:48:48 +0500 Subject: [PATCH 1/2] docs: redirect /sdk/react-native to the React Native docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The React Native pages live under /sdk/react_native/, so the hyphenated spelling, which the other platform URLs suggest, returned 404. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Change-Id: Id75e8bc5903feeab5019d099b54502b3eda2b09b --- docusaurus.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 7d1c781..bc31e7a 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -88,6 +88,8 @@ const config: Config = { { from: `/sdk/${sdk}`, to: `/sdk/${sdk}/installation/` }, { from: `/sdk/${sdk}/privacy`, to: `/sdk/${sdk}/privacy/overview/` }, ]), + // Hyphenated spelling of the React Native section root (deep pages are covered by createRedirects). + { from: '/sdk/react-native', to: '/sdk/react_native/installation/' }, // Android pages that were split or renamed. { from: '/sdk/android/custom', to: '/sdk/android/events-and-traces/' }, { from: '/sdk/android/crashes', to: '/sdk/android/issue-detection/crashes/' }, @@ -102,10 +104,16 @@ const config: Config = { ], // Android 7.x lived under /sdk/android/v7/ until it became the default; // every current Android page keeps answering at its old v7 address. + // + // The React Native docs live under /sdk/react_native/; the hyphenated spelling is + // what people (and the other platform URLs) naturally try. createRedirects(existingPath: string) { if (existingPath.startsWith('/sdk/android/') && !existingPath.startsWith('/sdk/android/v6/')) { return existingPath.replace('/sdk/android/', '/sdk/android/v7/'); } + if (existingPath.startsWith('/sdk/react_native/')) { + return existingPath.replace('/sdk/react_native/', '/sdk/react-native/'); + } return undefined; }, }, From 60b1421e437680a096aeebe708902daa1dfca38c Mon Sep 17 00:00:00 2001 From: Alexey Karimov Date: Fri, 16 Oct 2026 18:59:53 +0500 Subject: [PATCH 2/2] docs: redirect bare /sdk/react-native/privacy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Change-Id: I11adda16859ed91d9e22c646585325eb7cc48692 --- docusaurus.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index bc31e7a..508ccd4 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -90,6 +90,7 @@ const config: Config = { ]), // Hyphenated spelling of the React Native section root (deep pages are covered by createRedirects). { from: '/sdk/react-native', to: '/sdk/react_native/installation/' }, + { from: '/sdk/react-native/privacy', to: '/sdk/react_native/privacy/overview/' }, // Android pages that were split or renamed. { from: '/sdk/android/custom', to: '/sdk/android/events-and-traces/' }, { from: '/sdk/android/crashes', to: '/sdk/android/issue-detection/crashes/' },