From 027685542debe04c4ae0facda67d4decf43dd739 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Tue, 9 Jun 2020 11:08:50 -0700 Subject: [PATCH] Fix react native sub-links Summary: Relative links like these appear to have broken with Docusaurus 2. Supersedes, closes https://github.com/facebook/flipper/pull/1200. Reviewed By: jknoxville Differential Revision: D21935451 fbshipit-source-id: 72a50730fba02b395a1bcd924745bfbaf066cb93 --- docs/getting-started/react-native.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/react-native.mdx b/docs/getting-started/react-native.mdx index ae41e8cb2..f4d7d9743 100644 --- a/docs/getting-started/react-native.mdx +++ b/docs/getting-started/react-native.mdx @@ -3,6 +3,7 @@ id: react-native title: Set up your React Native App sidebar_label: React Native --- +import useBaseUrl from '@docusaurus/useBaseUrl'; Starting with React Native 0.62, after generating your project with `react-native init`, the Flipper integration is ready out of the box for debug builds: @@ -31,5 +32,5 @@ To update the Flipper SDK in your project, you bump the version in the `ios/Podf If you are not using a default React Native template or cannot use the upgrade tool, you can find instructions for how to integate Flipper into your projects in these guides: -- [React Native for Android](react-native-android) -- [React Native for iOS](react-native-ios) +- React Native for Android +- React Native for iOS