From 5c7a7934c4df6e21b1c6a395d92093865191c9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Tue, 25 Feb 2020 20:46:16 +0100 Subject: [PATCH] chore: update RN docs links to reactnative.dev (#1016) --- .../src/commands/doctor/healthchecks/androidSDK.ts | 2 +- .../cli/src/commands/server/middleware/index.html | 14 +++++++------- .../src/commands/runAndroid/runOnAllDevices.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/cli/src/commands/doctor/healthchecks/androidSDK.ts b/packages/cli/src/commands/doctor/healthchecks/androidSDK.ts index 5bee07e43..88f333c21 100644 --- a/packages/cli/src/commands/doctor/healthchecks/androidSDK.ts +++ b/packages/cli/src/commands/doctor/healthchecks/androidSDK.ts @@ -79,7 +79,7 @@ export default { return logManualInstallation({ healthcheck: 'Android SDK', - url: 'https://facebook.github.io/react-native/docs/getting-started', + url: 'https://reactnative.dev/docs/getting-started', }); }, } as HealthCheckInterface; diff --git a/packages/cli/src/commands/server/middleware/index.html b/packages/cli/src/commands/server/middleware/index.html index fdf6bf418..0173e96d4 100644 --- a/packages/cli/src/commands/server/middleware/index.html +++ b/packages/cli/src/commands/server/middleware/index.html @@ -1,10 +1,10 @@ - - React Native - - -

React Native packager is running.

-

Visit documentation

- + + React Native + + +

React Native packager is running.

+

Visit documentation

+ diff --git a/packages/platform-android/src/commands/runAndroid/runOnAllDevices.ts b/packages/platform-android/src/commands/runAndroid/runOnAllDevices.ts index 8558482f2..81c734fea 100644 --- a/packages/platform-android/src/commands/runAndroid/runOnAllDevices.ts +++ b/packages/platform-android/src/commands/runAndroid/runOnAllDevices.ts @@ -87,7 +87,7 @@ async function runOnAllDevices( function createInstallError(error: Error & {stderr: string}) { const stderr = (error.stderr || '').toString(); const docs = - 'https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment'; + 'https://reactnative.dev/docs/getting-started.html#android-development-environment'; let message = `Make sure you have the Android development environment set up: ${chalk.underline.dim( docs, )}`;