Skip to content

Commit 6ec38a2

Browse files
authored
docs: update angular documentation website links (#8563)
* docs: update angular official website links * docs: update angular official website links in faq * docs: update angular official website links for feature modules * docs: update angular official website links for i18n introduce * docs: update angular official website links * docs: update angular official website links * docs: update angular official website links
1 parent 3ad5674 commit 6ec38a2

40 files changed

+363
-364
lines changed

README-zh_CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ NG-ZORRO
4949

5050
- Angular `^17.0.0` [![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
5151
- 支持服务端渲染
52-
- 现代浏览器,[浏览器支持](https://angular.io/guide/browser-support)
52+
- 现代浏览器,[浏览器支持](https://angular.dev/reference/versions#browser-support)
5353
- [Electron](http://electron.atom.io/)
5454

5555
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Electron |
@@ -76,7 +76,7 @@ $ ng add ng-zorro-antd
7676

7777
## 🔨 使用
7878

79-
将想要使用的组件模块引入到你的 `app.module.ts` 文件和其它的[特性模块](https://angular.cn/guide/feature-modules)中。
79+
将想要使用的组件模块引入到你的 `app.module.ts` 文件中和其它的[特性模块](https://angular.dev/guide/ngmodules/feature-modules)中。
8080

8181
```ts
8282
import { NzButtonModule } from 'ng-zorro-antd/button';

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ English | [简体中文](README-zh_CN.md)
5252

5353
* Angular `^17.0.0` [![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
5454
* Server-side Rendering
55-
* Modern browsers including the following [specific versions](https://angular.io/guide/browser-support)
55+
* Modern browsers including the following [specific versions](https://angular.dev/reference/versions#browser-support)
5656
* [Electron](http://electron.atom.io/)
5757

5858
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Electron |
@@ -85,7 +85,7 @@ $ npm install ng-zorro-antd
8585

8686
## 🔨 Usage
8787

88-
Import the component modules you want to use into your `app.module.ts` file and [feature modules](https://angular.io/guide/feature-modules).
88+
Import the component modules you want to use into your `app.module.ts` file and [feature modules](https://angular.dev/guide/ngmodules/feature-modules).
8989

9090
```ts
9191
import { NzButtonModule } from 'ng-zorro-antd/button';

components/auto-complete/demo/object-value.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ title:
77

88
## zh-CN
99

10-
`nzValue``ngModel` 类型为 `object` 时使用 `compareWith`([SelectControlValueAccessor](https://angular.io/api/forms/SelectControlValueAccessor#caveat-option-selection)).
10+
`nzValue``ngModel` 类型为 `object` 时使用 `compareWith`([SelectControlValueAccessor](https://angular.dev/api/forms/SelectControlValueAccessor))。
1111

1212
## en-US
1313

14-
Use `compareWith`([SelectControlValueAccessor](https://angular.io/api/forms/SelectControlValueAccessor#caveat-option-selection)) when the `nzValue` and `ngModel` type is `object`.
14+
Use `compareWith`([SelectControlValueAccessor](https://angular.dev/api/forms/SelectControlValueAccessor)) when the `nzValue` and `ngModel` type is `object`.

components/auto-complete/doc/index.en-US.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,26 @@ import { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';
3333

3434
### [nzAutocomplete]:standalone
3535

36-
| Property | Description | Type | Default |
37-
| --- | --- | --- | --- |
38-
| `[nzAutocomplete]` | used to bind `nzAutocomplete` components | `NzAutocompleteComponent` | - |
36+
| Property | Description | Type | Default |
37+
|--------------------|------------------------------------------|---------------------------|---------|
38+
| `[nzAutocomplete]` | used to bind `nzAutocomplete` components | `NzAutocompleteComponent` | - |
3939

4040
### nz-autocomplete:standalone
4141

42-
| Property | Description | Type | Default |
43-
| --- | --- | --- | --- |
44-
| `[nzBackfill]` | backfill selected item the input when using keyboard | `boolean` | `false` |
45-
| `[nzDataSource]` | Data source for autocomplete | `AutocompleteDataSource` | - |
46-
| `[nzDefaultActiveFirstOption]` | Whether active first option by default | `boolean` | `true` |
47-
| `[nzWidth]` | Custom width, unit px | `number` | trigger element width |
48-
| `[nzOverlayClassName]` | Class name of the dropdown root element | `string` | - |
49-
| `[nzOverlayStyle]` | Style of the dropdown root element | `object` | - |
50-
| `[compareWith]` | Same as [SelectControlValueAccessor](https://angular.io/api/forms/SelectControlValueAccessor#caveat-option-selection) | `(o1: any, o2: any) => boolean` | `(o1: any, o2: any) => o1===o2` |
42+
| Property | Description | Type | Default |
43+
|--------------------------------|------------------------------------------------------------------------------------------------|---------------------------------|---------------------------------|
44+
| `[nzBackfill]` | backfill selected item the input when using keyboard | `boolean` | `false` |
45+
| `[nzDataSource]` | Data source for autocomplete | `AutocompleteDataSource` | - |
46+
| `[nzDefaultActiveFirstOption]` | Whether active first option by default | `boolean` | `true` |
47+
| `[nzWidth]` | Custom width, unit px | `number` | trigger element width |
48+
| `[nzOverlayClassName]` | Class name of the dropdown root element | `string` | - |
49+
| `[nzOverlayStyle]` | Style of the dropdown root element | `object` | - |
50+
| `[compareWith]` | Same as [SelectControlValueAccessor](https://angular.dev/api/forms/SelectControlValueAccessor) | `(o1: any, o2: any) => boolean` | `(o1: any, o2: any) => o1===o2` |
5151

5252
### nz-auto-option:standalone
5353

54-
| Property | Description | Type | Default |
55-
| --- | --- | --- | --- |
56-
| `[nzValue]` | bind ngModel of the trigger element | `any` | - |
57-
| `[nzLabel]` | display value of the trigger element | `string` | - |
58-
| `[nzDisabled]` | disabled option | `boolean` | `false` |
54+
| Property | Description | Type | Default |
55+
|----------------|--------------------------------------|-----------|---------|
56+
| `[nzValue]` | bind ngModel of the trigger element | `any` | - |
57+
| `[nzLabel]` | display value of the trigger element | `string` | - |
58+
| `[nzDisabled]` | disabled option | `boolean` | `false` |

components/auto-complete/doc/index.zh-CN.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,26 @@ import { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';
3434

3535
### [nzAutocomplete]:standalone
3636

37-
| 属性 | 说明 | 类型 | 默认值 |
38-
| --- | --- | --- | --- |
39-
| `[nzAutocomplete]` | 用于绑定 nzAutocomplete 组件 | `NzAutocompleteComponent` | - |
37+
| 属性 | 说明 | 类型 | 默认值 |
38+
|--------------------|------------------------|---------------------------|-----|
39+
| `[nzAutocomplete]` | 用于绑定 nzAutocomplete 组件 | `NzAutocompleteComponent` | - |
4040

4141
### nz-autocomplete:standalone
4242

43-
| 属性 | 说明 | 类型 | 默认值 |
44-
| --- | --- | --- | --- |
45-
| `[nzBackfill]` | 使用键盘选择选项的时候,会把当前高亮项的值即时回填到输入框中 | `boolean` | `false` |
46-
| `[nzDataSource]` | 自动完成的数据源 | `AutocompleteDataSource` | - |
47-
| `[nzDefaultActiveFirstOption]` | 是否默认高亮第一个选项。 | `boolean` | `true` |
48-
| `[nzWidth]` | 自定义宽度单位 px | `number` | 触发元素宽度 |
49-
| `[nzOverlayClassName]` | 下拉根元素的类名称 | `string` | - |
50-
| `[nzOverlayStyle]` | 下拉根元素的样式 | `object` | - |
51-
| `[compareWith]` |[SelectControlValueAccessor](https://angular.io/api/forms/SelectControlValueAccessor#caveat-option-selection) 相同 | `(o1: any, o2: any) => boolean` | `(o1: any, o2: any) => o1===o2` |
43+
| 属性 | 说明 | 类型 | 默认值 |
44+
|--------------------------------|---------------------------------------------------------------------------------------------|---------------------------------|---------------------------------|
45+
| `[nzBackfill]` | 使用键盘选择选项的时候,会把当前高亮项的值即时回填到输入框中 | `boolean` | `false` |
46+
| `[nzDataSource]` | 自动完成的数据源 | `AutocompleteDataSource` | - |
47+
| `[nzDefaultActiveFirstOption]` | 是否默认高亮第一个选项。 | `boolean` | `true` |
48+
| `[nzWidth]` | 自定义宽度单位 px | `number` | 触发元素宽度 |
49+
| `[nzOverlayClassName]` | 下拉根元素的类名称 | `string` | - |
50+
| `[nzOverlayStyle]` | 下拉根元素的样式 | `object` | - |
51+
| `[compareWith]` |[SelectControlValueAccessor](https://angular.dev/api/forms/SelectControlValueAccessor) 相同 | `(o1: any, o2: any) => boolean` | `(o1: any, o2: any) => o1===o2` |
5252

5353
### nz-auto-option:standalone
5454

55-
| 属性 | 说明 | 类型 | 默认值 |
56-
| --- | --- | --- | --- |
57-
| `[nzValue]` | 绑定到触发元素 ngModel 的值 | `any` | - |
58-
| `[nzLabel]` | 填入触发元素显示的值 | `string` | - |
59-
| `[nzDisabled]` | 禁用选项 | `boolean` | `false` |
55+
| 属性 | 说明 | 类型 | 默认值 |
56+
|----------------|--------------------|-----------|---------|
57+
| `[nzValue]` | 绑定到触发元素 ngModel 的值 | `any` | - |
58+
| `[nzLabel]` | 填入触发元素显示的值 | `string` | - |
59+
| `[nzDisabled]` | 禁用选项 | `boolean` | `false` |

components/breadcrumb/demo/router.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ title:
77

88
## zh-CN
99

10-
[RouterLink](https://angular.io/api/router/RouterLink) 进行结合使用。
10+
[RouterLink](https://angular.dev/api/router/RouterLink) 进行结合使用。
1111

1212
## en-US
1313

14-
Used together with [RouterLink](https://angular.io/api/router/RouterLink).
14+
Used together with [RouterLink](https://angular.dev/api/router/RouterLink).

components/calendar/doc/index.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { NzCalendarModule } from 'ng-zorro-antd/calendar';
1818

1919
## API
2020

21-
**Note:** Some of Calendar's locale are coming from [Angular i18n](https://angular.io/guide/i18n), that should be provided in the file of `app.module.ts`.
21+
**Note:** Some of Calendar's locale are coming from [Angular i18n](https://angular.dev/guide/i18n), that should be provided in the file of `app.module.ts`.
2222

2323
For example:
2424

0 commit comments

Comments
 (0)