From 79b10880c8ebdd2549f76453fc382cc1b2e278eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20de=20Dios=20Mart=C3=ADnez=20Vallejo?= Date: Tue, 10 Oct 2023 21:26:37 +0200 Subject: [PATCH 1/4] fix Env Verification Message --- lib/services/platform-environment-requirements.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/platform-environment-requirements.ts b/lib/services/platform-environment-requirements.ts index cf757d7704..30f4506aa6 100644 --- a/lib/services/platform-environment-requirements.ts +++ b/lib/services/platform-environment-requirements.ts @@ -88,11 +88,11 @@ export class PlatformEnvironmentRequirements darwin: "macos", } as any)[process.platform]; - const anchor = platform ? `#${os}-${platform.toLowerCase()}` : ""; + const anchor = platform ? `/${os}#${platform.toLowerCase()}` : ""; return ( `Verify that your environment is configured according to the system requirements described at\n` + - `https://docs.nativescript.org/environment-setup.html${anchor}.` + `https://docs.nativescript.org/setup${anchor}.` ); } } From 8be30a4f2d09f3dfed288c28534f95706b1a93f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20de=20Dios=20Mart=C3=ADnez=20Vallejo?= Date: Tue, 10 Oct 2023 21:32:48 +0200 Subject: [PATCH 2/4] update constant SYSTEM_REQUIREMENTS_LINKS --- packages/doctor/src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/doctor/src/constants.ts b/packages/doctor/src/constants.ts index 3984f7c668..ce2aa0d8fc 100644 --- a/packages/doctor/src/constants.ts +++ b/packages/doctor/src/constants.ts @@ -6,7 +6,7 @@ export class Constants { Constants.IOS_PLATFORM_NAME, ]; public static SYSTEM_REQUIREMENTS_LINKS = - "https://docs.nativescript.org/environment-setup.html"; + "https://docs.nativescript.org/setup"; public static INFO_TYPE_NAME = "info"; public static WARNING_TYPE_NAME = "warning"; From d3b0aa118bd2c0d650f68c5599c1fd739612fbe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20de=20Dios=20Mart=C3=ADnez=20Vallejo?= Date: Wed, 11 Oct 2023 15:46:57 +0200 Subject: [PATCH 3/4] Update lib/services/platform-environment-requirements.ts Co-authored-by: Igor Randjelovic --- lib/services/platform-environment-requirements.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/platform-environment-requirements.ts b/lib/services/platform-environment-requirements.ts index 30f4506aa6..39820cf061 100644 --- a/lib/services/platform-environment-requirements.ts +++ b/lib/services/platform-environment-requirements.ts @@ -88,7 +88,7 @@ export class PlatformEnvironmentRequirements darwin: "macos", } as any)[process.platform]; - const anchor = platform ? `/${os}#${platform.toLowerCase()}` : ""; + const anchor = platform ? `#setting-up-${os}-for-${platform.toLowerCase()}` : ""; return ( `Verify that your environment is configured according to the system requirements described at\n` + From ab3b746b3089750e3d1e3d939bc3c5b23680dbe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20de=20Dios=20Mart=C3=ADnez=20Vallejo?= Date: Wed, 11 Oct 2023 15:47:02 +0200 Subject: [PATCH 4/4] Update lib/services/platform-environment-requirements.ts Co-authored-by: Igor Randjelovic --- lib/services/platform-environment-requirements.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/platform-environment-requirements.ts b/lib/services/platform-environment-requirements.ts index 39820cf061..d747dc1972 100644 --- a/lib/services/platform-environment-requirements.ts +++ b/lib/services/platform-environment-requirements.ts @@ -92,7 +92,7 @@ export class PlatformEnvironmentRequirements return ( `Verify that your environment is configured according to the system requirements described at\n` + - `https://docs.nativescript.org/setup${anchor}.` + `https://docs.nativescript.org/setup/${os}${anchor}.` ); } }