From 18e4a53a86833c36f3739b6bb3bcbcd141f02faf Mon Sep 17 00:00:00 2001 From: Quinlan Jung Date: Thu, 8 Feb 2024 11:01:46 -0700 Subject: [PATCH] [docs] no more migrators from expo build (#26961) # Why Are people still migrating from classic builds? It's been so long since we've shut it off, it may be better off archived. # How - move expo build migration to archive - add redirects to archive # Test Plan - [ ] manually inspected # Checklist - [ ] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). --- docs/common/error-utilities.ts | 1 + docs/constants/navigation.js | 2 +- docs/deploy.sh | 1 + .../{build-reference => archive/classic-builds}/migrating.mdx | 0 docs/pages/build/setup.mdx | 1 - 5 files changed, 3 insertions(+), 2 deletions(-) rename docs/pages/{build-reference => archive/classic-builds}/migrating.mdx (100%) diff --git a/docs/common/error-utilities.ts b/docs/common/error-utilities.ts index 82bf37ed83ae9..abab94effe115 100644 --- a/docs/common/error-utilities.ts +++ b/docs/common/error-utilities.ts @@ -187,6 +187,7 @@ const RENAMED_PAGES: Record = { '/workflow/upgrading-expo/': '/workflow/upgrading-expo-sdk-walkthrough/', '/workflow/create-react-native-app/': '/more/glossary-of-terms/#create-react-native-app', '/expokit/': '/archive/glossary/#expokit/', + '/build-reference/migrating/': '/archive/classic-builds/migrating/', // Development builds redirects '/development/build/': '/develop/development-builds/create-a-build/', diff --git a/docs/constants/navigation.js b/docs/constants/navigation.js index 28837bd188988..af764d6065f7f 100644 --- a/docs/constants/navigation.js +++ b/docs/constants/navigation.js @@ -270,7 +270,6 @@ const general = [ makeGroup( 'Reference', [ - makePage('build-reference/migrating.mdx'), makePage('build-reference/npm-hooks.mdx'), makePage('build-reference/private-npm-packages.mdx'), makePage('build-reference/git-submodules.mdx'), @@ -476,6 +475,7 @@ const archive = [ makeSection('Classic Builds', [ makePage('archive/classic-updates/building-standalone-apps.mdx'), makePage('archive/classic-updates/turtle-cli.mdx'), + makePage('archive/classic-builds/migrating.mdx'), ]), makeSection('Classic Updates', [ makePage('archive/classic-updates/introduction.mdx'), diff --git a/docs/deploy.sh b/docs/deploy.sh index c62299bfdb6d1..30f6f2fcecec3 100755 --- a/docs/deploy.sh +++ b/docs/deploy.sh @@ -253,6 +253,7 @@ redirects[eas-update/bare-react-native]=eas-update/updating-your-app redirects[worfkflow/publishing]=archive/classic-updates/publishing redirects[classic/building-standalone-apps]=archive/classic-updates/building-standalone-apps redirects[classic/turtle-cli]=archive/classic-updates/turtle-cli +redirects[build-reference/migrating]=archive/classic-builds/migrating redirects[archive/classic-updates/getting-started]=eas-update/getting-started redirects[archived]=archive diff --git a/docs/pages/build-reference/migrating.mdx b/docs/pages/archive/classic-builds/migrating.mdx similarity index 100% rename from docs/pages/build-reference/migrating.mdx rename to docs/pages/archive/classic-builds/migrating.mdx diff --git a/docs/pages/build/setup.mdx b/docs/pages/build/setup.mdx index 23f4753ff6e2b..1172dc7dd7847 100644 --- a/docs/pages/build/setup.mdx +++ b/docs/pages/build/setup.mdx @@ -78,7 +78,6 @@ To learn more about what happens behind the scenes, see [build configuration pro Additional configuration may be required for some scenarios: -- Are you migrating an Expo managed app from `"expo build"`? [Learn about the differences](/build-reference/migrating). - Does your app code depend on environment variables? [Add them to your build configuration](/build-reference/variables). - Is your project inside of a monorepo? [Follow these instructions](/build-reference/build-with-monorepos). - Do you use private npm packages? [Add your npm token](/build-reference/private-npm-packages).