Skip to content

Commit 422edd7

Browse files
JeanMecheclydin
authored andcommitted
docs: replace links links to aio with links to adev
Currently those are handled by a custom link remapper (in dev-infra) which should be removed.
1 parent 6d9a06a commit 422edd7

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

packages/angular/cli/src/command-builder/architect-command-module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export abstract class ArchitectCommandModule
4444
`One or more named builder configurations as a comma-separated ` +
4545
`list as specified in the "configurations" section in angular.json.\n` +
4646
`The builder uses the named configurations to run the given target.\n` +
47-
`For more information, see https://angular.io/guide/workspace-config#alternate-build-configurations.`,
47+
`For more information, see https://angular.dev/reference/configs/workspace-config#alternate-build-configurations.`,
4848
alias: 'c',
4949
type: 'string',
5050
// Show only in when using --help and auto completion because otherwise comma seperated configuration values will be invalid.

packages/angular/cli/src/command-builder/command-runner.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export async function runCommand(args: string[], logger: logging.Logger): Promis
118118
'deprecated: %s': colors.yellow('deprecated:') + ' %s',
119119
'Did you mean %s?': 'Unknown command. Did you mean %s?',
120120
})
121-
.epilogue('For more information, see https://angular.io/cli/.\n')
121+
.epilogue('For more information, see https://angular.dev/cli/.\n')
122122
.demandCommand(1, demandCommandFailureMessage)
123123
.recommendCommands()
124124
.middleware(normalizeOptionsMiddleware)

packages/angular/cli/src/commands/build/long-description.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ either by direct editing or with the `ng config` command.
1515
These include `assets`, `styles`, and `scripts` objects that provide runtime-global resources to include in the project.
1616
Resources in CSS, such as images and fonts, are automatically written and fingerprinted at the root of the output folder.
1717

18-
For further details, see [Workspace Configuration](guide/workspace-config).
18+
For further details, see [Workspace Configuration](reference/configs/workspace-config).

packages/angular/cli/src/commands/cache/long-description.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Angular CLI saves a number of cachable operations on disk by default.
22

33
When you re-run the same build, the build system restores the state of the previous build and re-uses previously performed operations, which decreases the time taken to build and test your applications and libraries.
44

5-
To amend the default cache settings, add the `cli.cache` object to your [Workspace Configuration](guide/workspace-config).
5+
To amend the default cache settings, add the `cli.cache` object to your [Workspace Configuration](reference/configs/workspace-config).
66
The object goes under `cli.cache` at the top level of the file, outside the `projects` sections.
77

88
```jsonc
@@ -12,13 +12,13 @@ The object goes under `cli.cache` at the top level of the file, outside the `pro
1212
"cli": {
1313
"cache": {
1414
// ...
15-
}
15+
},
1616
},
17-
"projects": {}
17+
"projects": {},
1818
}
1919
```
2020

21-
For more information, see [cache options](guide/workspace-config#cache-options).
21+
For more information, see [cache options](reference/configs/workspace-config#cache-options).
2222

2323
### Cache environments
2424

@@ -34,7 +34,7 @@ To change the environment setting to `all`, run the following command:
3434
ng config cli.cache.environment all
3535
```
3636

37-
For more information, see `environment` in [cache options](guide/workspace-config#cache-options).
37+
For more information, see `environment` in [cache options](reference/configs/workspace-config#cache-options).
3838

3939
<div class="alert is-helpful">
4040

packages/angular/cli/src/commands/completion/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Appended \`source <(ng completion script)\` to \`${rcFile}\`. Restart your termi
5151
' Angular CLI. For autocompletion to work, the CLI will need to be on your `$PATH`, which' +
5252
' is typically done with the `-g` flag in `npm install -g @angular/cli`.' +
5353
'\n\n' +
54-
'For more information, see https://angular.io/cli/completion#global-install',
54+
'For more information, see https://angular.dev/cli/completion#global-install',
5555
);
5656
}
5757

packages/angular/cli/src/commands/config/long-description.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ The configurable property names match command option names,
88
except that in the configuration file, all names must use camelCase,
99
while on the command line options can be given dash-case.
1010

11-
For further details, see [Workspace Configuration](guide/workspace-config).
11+
For further details, see [Workspace Configuration](reference/configs/workspace-config).
1212

1313
For configuration of CLI usage analytics, see [ng analytics](cli/analytics).

packages/angular/cli/src/commands/deploy/long-description.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ When a project name is not supplied, executes the `deploy` builder for the defau
33

44
To use the `ng deploy` command, use `ng add` to add a package that implements deployment capabilities to your favorite platform.
55
Adding the package automatically updates your workspace configuration, adding a deployment
6-
[CLI builder](guide/cli-builder).
6+
[CLI builder](tools/cli/cli-builder).
77
For example:
88

99
```json

packages/angular/cli/src/commands/lint/long-description.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file.
22
When a project name is not supplied, executes the `lint` builder for all projects.
33

4-
To use the `ng lint` command, use `ng add` to add a package that implements linting capabilities. Adding the package automatically updates your workspace configuration, adding a lint [CLI builder](guide/cli-builder).
4+
To use the `ng lint` command, use `ng add` to add a package that implements linting capabilities. Adding the package automatically updates your workspace configuration, adding a lint [CLI builder](tools/cli/cli-builder).
55
For example:
66

77
```json

packages/angular/cli/src/utilities/completion.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Appended \`source <(ng completion script)\` to \`${rcFile}\`. Restart your termi
8888
' Angular CLI. For autocompletion to work, the CLI will need to be on your `$PATH`, which' +
8989
' is typically done with the `-g` flag in `npm install -g @angular/cli`.' +
9090
'\n\n' +
91-
'For more information, see https://angular.io/cli/completion#global-install',
91+
'For more information, see https://angular.dev/cli/completion#global-install',
9292
);
9393
}
9494

tests/legacy-cli/e2e/tests/commands/help/help-json.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default async function () {
99
'Retrieves or sets Angular configuration values in the angular.json file for the workspace.',
1010
'longDescriptionRelativePath': '@angular/cli/src/commands/config/long-description.md',
1111
'longDescription':
12-
'A workspace has a single CLI configuration file, `angular.json`, at the top level.\nThe `projects` object contains a configuration object for each project in the workspace.\n\nYou can edit the configuration directly in a code editor,\nor indirectly on the command line using this command.\n\nThe configurable property names match command option names,\nexcept that in the configuration file, all names must use camelCase,\nwhile on the command line options can be given dash-case.\n\nFor further details, see [Workspace Configuration](guide/workspace-config).\n\nFor configuration of CLI usage analytics, see [ng analytics](cli/analytics).\n',
12+
'A workspace has a single CLI configuration file, `angular.json`, at the top level.\nThe `projects` object contains a configuration object for each project in the workspace.\n\nYou can edit the configuration directly in a code editor,\nor indirectly on the command line using this command.\n\nThe configurable property names match command option names,\nexcept that in the configuration file, all names must use camelCase,\nwhile on the command line options can be given dash-case.\n\nFor further details, see [Workspace Configuration](reference/configs/workspace-config).\n\nFor configuration of CLI usage analytics, see [ng analytics](cli/analytics).\n',
1313
'options': [
1414
{
1515
'name': 'global',

0 commit comments

Comments
 (0)