[docs] Fix links to docs (#7668)

This commit is contained in:
Steven
2022-04-12 07:52:12 -04:00
committed by GitHub
parent ca522fc9f1
commit bdefd0d05d
5 changed files with 7 additions and 7 deletions

View File

@@ -16,4 +16,4 @@ If you would not like to verify your domain, you can remove it from your account
#### Resources #### Resources
- [Vercel Custom Domains Documentation](https://vercel.com/docs/v2/custom-domains) - [Vercel Custom Domains Documentation](https://vercel.com/docs/concepts/projects/custom-domains)

View File

@@ -2,7 +2,7 @@
#### Why This Error Occurred #### Why This Error Occurred
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). 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).
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`. 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`.
@@ -24,4 +24,4 @@ TEST=value
In the above example, `TEST` represents the name of the environment variable and `value` its value. In the above example, `TEST` represents the name of the environment variable and `value` its value.
For more information on Environment Variables in development, [see the documentation](https://vercel.com/docs/v2/build-step#environment-variables). For more information on Environment Variables in development, [see the documentation](https://vercel.com/docs/concepts/projects/environment-variables).

View File

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

View File

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

View File

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