Skip to content

Commit

Permalink
docs: replace links links to aio with links to adev
Browse files Browse the repository at this point in the history
Currently those are handled by a custom link remapper (in dev-infra) which should be removed.

(cherry picked from commit 422edd7)
  • Loading branch information
JeanMeche authored and clydin committed Apr 9, 2024
1 parent 1128bdd commit 84ee482
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export abstract class ArchitectCommandModule
`One or more named builder configurations as a comma-separated ` +
`list as specified in the "configurations" section in angular.json.\n` +
`The builder uses the named configurations to run the given target.\n` +
`For more information, see https://angular.io/guide/workspace-config#alternate-build-configurations.`,
`For more information, see https://angular.dev/reference/configs/workspace-config#alternate-build-configurations.`,
alias: 'c',
type: 'string',
// Show only in when using --help and auto completion because otherwise comma seperated configuration values will be invalid.
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/cli/src/command-builder/command-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export async function runCommand(args: string[], logger: logging.Logger): Promis
'deprecated: %s': colors.yellow('deprecated:') + ' %s',
'Did you mean %s?': 'Unknown command. Did you mean %s?',
})
.epilogue('For more information, see https://angular.io/cli/.\n')
.epilogue('For more information, see https://angular.dev/cli/.\n')
.demandCommand(1, demandCommandFailureMessage)
.recommendCommands()
.middleware(normalizeOptionsMiddleware)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ either by direct editing or with the `ng config` command.
These include `assets`, `styles`, and `scripts` objects that provide runtime-global resources to include in the project.
Resources in CSS, such as images and fonts, are automatically written and fingerprinted at the root of the output folder.

For further details, see [Workspace Configuration](guide/workspace-config).
For further details, see [Workspace Configuration](reference/configs/workspace-config).
10 changes: 5 additions & 5 deletions packages/angular/cli/src/commands/cache/long-description.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Angular CLI saves a number of cachable operations on disk by default.

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.

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

```jsonc
Expand All @@ -12,13 +12,13 @@ The object goes under `cli.cache` at the top level of the file, outside the `pro
"cli": {
"cache": {
// ...
}
},
},
"projects": {}
"projects": {},
}
```

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

### Cache environments

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

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

<div class="alert is-helpful">

Expand Down
2 changes: 1 addition & 1 deletion packages/angular/cli/src/commands/completion/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Appended \`source <(ng completion script)\` to \`${rcFile}\`. Restart your termi
' Angular CLI. For autocompletion to work, the CLI will need to be on your `$PATH`, which' +
' is typically done with the `-g` flag in `npm install -g @angular/cli`.' +
'\n\n' +
'For more information, see https://angular.io/cli/completion#global-install',
'For more information, see https://angular.dev/cli/completion#global-install',
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ The configurable property names match command option names,
except that in the configuration file, all names must use camelCase,
while on the command line options can be given dash-case.

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

For configuration of CLI usage analytics, see [ng analytics](cli/analytics).
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ When a project name is not supplied, executes the `deploy` builder for the defau

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

```json
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/cli/src/commands/lint/long-description.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file.
When a project name is not supplied, executes the `lint` builder for all projects.

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).
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).
For example:

```json
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/cli/src/utilities/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Appended \`source <(ng completion script)\` to \`${rcFile}\`. Restart your termi
' Angular CLI. For autocompletion to work, the CLI will need to be on your `$PATH`, which' +
' is typically done with the `-g` flag in `npm install -g @angular/cli`.' +
'\n\n' +
'For more information, see https://angular.io/cli/completion#global-install',
'For more information, see https://angular.dev/cli/completion#global-install',
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/legacy-cli/e2e/tests/commands/help/help-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default async function () {
'Retrieves or sets Angular configuration values in the angular.json file for the workspace.',
'longDescriptionRelativePath': '@angular/cli/src/commands/config/long-description.md',
'longDescription':
'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',
'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',
'options': [
{
'name': 'global',
Expand Down

0 comments on commit 84ee482

Please sign in to comment.