Skip to content

Commit bdefd0d

Browse files
authored
[docs] Fix links to docs (vercel#7668)
1 parent ca522fc commit bdefd0d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

errors/domain-verification.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ If you would not like to verify your domain, you can remove it from your account
1616

1717
#### Resources
1818

19-
- [Vercel Custom Domains Documentation](https://vercel.com/docs/v2/custom-domains)
19+
- [Vercel Custom Domains Documentation](https://vercel.com/docs/concepts/projects/custom-domains)

errors/missing-env-file.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#### Why This Error Occurred
44

5-
You ran `vercel dev` inside a project that contains a `vercel.json` file with `env` or `build.env` properties that use [Vercel Secrets](https://vercel.com/docs/v2/build-step#environment-variables).
5+
You ran `vercel dev` inside a project that contains a `vercel.json` file with `env` or `build.env` properties that use [Vercel Secrets](https://vercel.com/docs/concepts/projects/environment-variables).
66

77
In order to use environment variables in your project locally that have values defined using the Vercel Secrets format (e.g. `@my-secret-value`), you will need to provide the value as an environment variable using a `.env`.
88

@@ -24,4 +24,4 @@ TEST=value
2424

2525
In the above example, `TEST` represents the name of the environment variable and `value` its value.
2626

27-
For more information on Environment Variables in development, [see the documentation](https://vercel.com/docs/v2/build-step#environment-variables).
27+
For more information on Environment Variables in development, [see the documentation](https://vercel.com/docs/concepts/projects/environment-variables).

packages/build-utils/src/detect-builders.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ function getMissingBuildScriptError() {
538538
code: 'missing_build_script',
539539
message:
540540
'Your `package.json` file is missing a `build` property inside the `scripts` property.' +
541-
'\nLearn More: https://vercel.com/docs/v2/platform/frequently-asked-questions#missing-build-script',
541+
'\nLearn More: https://vercel.link/missing-build-script',
542542
};
543543
}
544544

packages/cli/src/commands/alias/set.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default async function set(
7373
if (args.length === 0) {
7474
output.error(
7575
`To ship to production, optionally configure your domains (${link(
76-
'https://vercel.com/docs/v2/custom-domains'
76+
'https://vercel.link/domain-configuration'
7777
)}) and run ${getCommandName(`--prod`)}.`
7878
);
7979
return 1;

packages/static-build/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ async function fetchBinary(url: string, framework: string, version: string) {
255255
throw new NowBuildError({
256256
code: 'STATIC_BUILD_BINARY_NOT_FOUND',
257257
message: `Version ${version} of ${framework} does not exist. Please specify a different one.`,
258-
link: 'https://vercel.com/docs/v2/build-step#framework-versioning',
258+
link: 'https://vercel.link/framework-versioning',
259259
});
260260
}
261261
await spawnAsync(`curl -sSL ${url} | tar -zx -C /usr/local/bin`, [], {
@@ -387,7 +387,7 @@ export const build: BuildV2 = async ({
387387
Node.js will load 'false' as a string, not a boolean, so it's truthy still.
388388
This is to ensure we don't accidentally break other packages that check
389389
if process.env.CI is true somewhere.
390-
390+
391391
https://github.com/facebook/create-react-app/issues/2453
392392
https://github.com/facebook/create-react-app/pull/2501
393393
https://github.com/vercel/community/discussions/30

0 commit comments

Comments
 (0)