Skip to content

Commit b229fdf

Browse files
vallemarrigor789
andauthored
fix: setup docs links (#5762)
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
1 parent dd1640c commit b229fdf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/services/platform-environment-requirements.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ export class PlatformEnvironmentRequirements
8888
darwin: "macos",
8989
} as any)[process.platform];
9090

91-
const anchor = platform ? `#${os}-${platform.toLowerCase()}` : "";
91+
const anchor = platform ? `#setting-up-${os}-for-${platform.toLowerCase()}` : "";
9292

9393
return (
9494
`Verify that your environment is configured according to the system requirements described at\n` +
95-
`https://docs.nativescript.org/environment-setup.html${anchor}.`
95+
`https://docs.nativescript.org/setup/${os}${anchor}.`
9696
);
9797
}
9898
}

packages/doctor/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class Constants {
66
Constants.IOS_PLATFORM_NAME,
77
];
88
public static SYSTEM_REQUIREMENTS_LINKS =
9-
"https://docs.nativescript.org/environment-setup.html";
9+
"https://docs.nativescript.org/setup";
1010
public static INFO_TYPE_NAME = "info";
1111
public static WARNING_TYPE_NAME = "warning";
1212

0 commit comments

Comments
 (0)