2944 Commits

Author SHA1 Message Date
Zhicheng WANG
6f186e5e4e chore: 使用本机版本的 node 2018-12-25 23:17:44 +08:00
Echo Chan
f33e46ee20 docs: 修改一个翻译错误 2018-12-25 20:45:47 +08:00
Zhicheng WANG
65b26efa2e fix: 修正 angular console 地址 2018-12-25 14:02:34 +08:00
Zhicheng WANG
a23ff904d8 chore: 退回 event-stream@3.3.6 2018-12-25 13:59:39 +08:00
Zhicheng WANG
b8a85eba89 fix: 尝试解决没能正确隐藏原文的问题 2018-12-25 13:59:39 +08:00
loyayz
a43cbee553 错别字:又 → 有 2018-12-24 23:23:37 +08:00
GuoYuFei
4b91f13228 fix:修正路由与导航章节的一个翻译错误 2018-12-24 20:52:21 +08:00
GuoYuFei
a0060abc70 fix: 修复路由与导航章节中的一个锚点跳转地址错误 2018-12-23 12:29:21 +08:00
GuoYuFei
2398b43e88 fix: 修复一句语意混乱的翻译错误 2018-12-23 12:28:51 +08:00
GuoYuFei
7758da5c1d fix: 修复路由与导航章节中的一个参数名称错误 2018-12-23 12:28:51 +08:00
Preetham Viswanathan
c5ce4e62c6 docs: fix code example to ensure consistency in file (#26577)
PR Close #26577
2018-12-21 15:12:05 -05:00
Zhicheng WANG
c25087ae06 fix: 遗漏的翻译 2018-12-20 09:56:09 +08:00
Zhicheng WANG
577a18e2ac fix: 链接错误(#347) 2018-12-20 09:54:34 +08:00
Zhicheng WANG
b35507471e fix: 对照格式错误 (#348) 2018-12-20 09:33:11 +08:00
Zhicheng WANG
c37a1e55f6 fix: 链接错误 (#347) 2018-12-20 09:28:52 +08:00
Zhicheng WANG
cf2d0b1a25 fix: 翻译错误 (#346) 2018-12-20 09:25:53 +08:00
GuoYuFei
47d4a6b1d2 fix:修复路由和导航章节中的一个表述错误 2018-12-20 09:22:16 +08:00
Zhicheng WANG
2f2cb99134 fix: 翻译改进 2018-12-20 09:21:56 +08:00
Igor Minar
69198ba37b build(docs-infra): turn on disableTypeScriptVersionCheck in angularCompilerOptions (#27536)
We need to do this because we don't yet have a released version of angular
with typescript 3.2 support and on CI we test both against the snapshot and
whatever is in aio/yarn.lock.

Once we have the next rc or a stable relase we should be able to remove
this flag.

PS: I also removed the preserveWhitespace:false because that's the default now.

PR Close #27536
2018-12-18 13:20:02 -08:00
Igor Minar
8684fb5804 build(docs-infra): disable cli.warnings.typescriptMismatch warnings (#27536)
cli is not yet officially compatible with typescript 3.2, so we need to disable the version check via:

ng config cli.warnings.typescriptMismatch false

PR Close #27536
2018-12-18 13:20:02 -08:00
Pete Bacon Darwin
999bd5ba86 build(docs-infra): update dgeni and dgeni-packages to latest (#27536)
PR Close #27536
2018-12-18 13:20:01 -08:00
Igor Minar
cdfe8f4d69 fix(docs-infra): workaround for broken 'import as' (#27536)
It's unclear why `import as` results in the aliases to be undefined.

Plain tsc seems to do the right thing and emits the correct code, so it
might be some kind of interaction in @angular/cli or webpack that are
causing the failure.

This should be investigated separately from the tsc update in
angular/angular. See angular/angular-cli#13212

PR Close #27536
2018-12-18 13:20:01 -08:00
Sharath George M
8fdd702245 docs: Fixed typo (#27669)
PR Close #27669
2018-12-18 09:29:48 -08:00
Emilio Martinez
94f17e9038 docs: remove misplaced code in Universal guide (#26865)
PR Close #26865
2018-12-17 09:35:35 -08:00
bmarkov
a72633891b docs: Add Smart UI to UI Components section in resources (#27515)
docs: add Smart UI to UI Components section in resources

PR Close #27515
2018-12-17 09:34:14 -08:00
GuoYuFei
e40c0bae4b fix:修复路由与导航章节的目录序号及格式 2018-12-17 22:19:34 +08:00
Zhicheng WANG
8aecf68156 chore: 强制使用本地的 node 10 版本 2018-12-17 14:20:44 +08:00
Zhicheng WANG
c0fbe8ba84 fix: 让表达更清晰 2018-12-17 11:17:59 +08:00
zackarychapple
f9545d1b1a docs: adding ngAtlanta 2019 (#27522)
PR Close #27522
2018-12-14 15:18:55 -08:00
George Kalpakas
5902a4629c build(docs-infra): upgrade cli command docs sources to 02d2ec250 (#27670)
Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master).
Relevant changes in [commit range](5eef7122c...02d2ec250):

**Modified**
- help/build.json
- help/generate.json
- help/serve.json

Closes #27594
Closes #27621
Closes #27643

PR Close #27670
2018-12-14 10:18:59 -08:00
Esteban Marin
e3a2ca5ad9 fix(docs-infra): fix top menu item clickable area (#27633)
the clickable region of the top menu item is expanded beyond the focused area, so the clickable area is spans the entire height of the navigation

fixes #27618

PR Close #27633
2018-12-13 11:00:34 -08:00
Emmanuel DEMEY
9c7fb0dfe1 docs: add Zenika trainings in resources.json (#27216)
PR Close #27216
2018-12-12 11:03:09 -08:00
Esteban Marin
fc6dc78fe9 fix(docs-infra): fix top menu item clickable area (#27620)
the clickable region of the top menu item is reduced to the focused area, so no cursor pointer is shown outside the clickable area

fixes #27618

PR Close #27620
2018-12-12 10:55:28 -08:00
Zhicheng WANG
697df41b5e fix: local CI 2018-12-12 09:34:45 +08:00
Lucas
dc1ed3c47e docs: fix ngModel typo in form validation guide (#27574)
Fix typo

PR Close #27574
2018-12-11 16:22:58 -08:00
Michał Jawulski
3cb6dad6d5 docs: update npm scripts to support angular 7 (#27334)
PR Close #27334
2018-12-11 11:25:36 -08:00
vurtne0511
5a952256b2 纠正翻译文字错误
第606行,三个火 => 三个或
2018-12-12 00:33:11 +08:00
sKai.fun
34a4c354e4 fix typo
修复翻译错误,原文为`AppRoutingModule`
2018-12-12 00:32:48 +08:00
GuoYuFei
26376ab54f fix: 修正翻译的一个语义错误 2018-12-12 00:32:26 +08:00
Isaac Sunkes
16d26e5f38 docs: add webucator to resources (#26895)
Added Angular Training by Webucator to Workshops & Onsite Training section of resources.
PR Close #26895
2018-12-10 14:20:03 -08:00
Igor Minar
54e4bdb842 docs: remove AngularDart from the version picker (#27550)
At this point it's only confusing people.

PR Close #27550
2018-12-10 10:29:39 -08:00
GuoYuFei
7612ec69d1 fix:修正错别字 2018-12-09 19:24:29 +08:00
GuoYuFei
ca2656b283 fix:修正依赖注入实战章节中的翻译语意错误 2018-12-09 19:24:07 +08:00
George Kalpakas
6316051967 build(docs-infra): upgrade cli command docs sources to 5eef7122c (#27539)
Relevant changes in [commit range](1c01b91c6...5eef7122c):

**Modified**
- help/build.json

PR Close #27539
2018-12-07 09:24:49 -08:00
George Kalpakas
8973dd5a7e build(docs-infra): upgrade cli command docs sources to 1c01b91c6 (#27451)
Relevant changes in [commit range](a176d127a...1c01b91c6):

**Modified**
- help/build.json
- help/serve.json
- help/test.json
- help/update.json

Closes #27285
Closes #27318
Closes #27407

PR Close #27451
2018-12-05 13:27:32 -08:00
George Kalpakas
4b5cd721c1 refactor(docs-infra): remove unused custom element (#27250)
PR Close #27250
2018-12-05 13:26:27 -08:00
George Kalpakas
6abbaaed89 fix(docs-infra): do not use an Angular element in hard-coded FETCH_ERROR document (#27250)
The `FETCH_ERROR` document is used when we are unable to retrieve a
document (except for 404 errors), which includes when there is no
internet connection. Using the `<current-location>` element in the
document's template to show the path of the page we failed to retrieve
assumes that the element's bundle is available (e.g. cached by the SW)
or can be fetched from the server.

When none of these conditions is met, the `DocViewer` is unable to
prepare the document and fails, never showing the `FETCH_ERROR` page to
the user.

Furthermore, the path we are looking to retrieve via
`<current-location>` is essentially the document ID, which we already
have. Thus, loading and instantiating a whole component just for that is
overkill.

This commit addresses both issues by getting rid of the
`<current-location>` component and directly embedding the document ID
into the `FETCH_ERROR` content.

PR Close #27250
2018-12-05 13:26:27 -08:00
George Kalpakas
dfdc2adbc6 fix(docs-infra): fix sidenav positioning when notification is shown (#27250)
_Before:_
![sidenav-scrollbar-before](https://user-images.githubusercontent.com/8604205/49089078-62519d00-f263-11e8-8369-f39e73dcc239.png)

_After:_
![sidenav-scrollbar-after](https://user-images.githubusercontent.com/8604205/49089077-62519d00-f263-11e8-8a94-0c34044c4ba1.png)

PR Close #27250
2018-12-05 13:26:27 -08:00
George Kalpakas
fa0c65efe5 build(docs-infra): remove dependency on FontAwesome (#27250)
We were only using two FontAwesome icons (`link` and `twitter`). The
twitter icon is already available as an SVG (used in the topbar) and a
similar link icon is available via 'Material Icons', which we are
already brining in.

This commit removes the dependency on FontAwesome and uses the available
icons instead.

_Before:_
![contributor-info-before](https://user-images.githubusercontent.com/8604205/49089076-61b90680-f263-11e8-8c5f-c52d332e6e64.png)

_After:_
![contributor-info-after](https://user-images.githubusercontent.com/8604205/49089075-61b90680-f263-11e8-9785-b8df15aaacd3.png)

PR Close #27250
2018-12-05 13:26:27 -08:00
George Kalpakas
271fcb0f3e fix(docs-infra): correctly cache footer image by the SW (#27250)
When using relative paths for CSS resources (such as background images),
`@angular/cli` will move them to the root `dist/` directory (and update
the paths in CSS accordingly). This results in the SW being unable to
cache the resource, because it is not where it expects it to be.

This commit fixes this issue for the footer background image, by using
an absolute path for the URL. (It also removes an unused style that
would have been affected by the same issue.)

PR Close #27250
2018-12-05 13:26:27 -08:00