5662 Commits

Author SHA1 Message Date
Wassim Chegham
7afd2603c9 docs: add dev.to link to the help section (#30873)
PR Close #30873
2019-06-07 08:47:01 -07:00
Pete Bacon Darwin
297222f892 build(docs-infra): fail hard if the CLI source is not what we expect (#30901)
Previously we just logged a warning but we should fail
to prevent silently allowing the docs to look wrong if
something changes on the CLI side of things.

PR Close #30901
2019-06-07 08:45:47 -07:00
George Kalpakas
64488b12ac build(docs-infra): upgrade cli command docs sources to c21c3c4f2 (#30908)
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](2bbd7f288...c21c3c4f2):

**Modified**
- help/serve.json

##

PR Close #30908
2019-06-07 08:45:10 -07:00
George Kalpakas
8b6fbf8655 build(docs-infra): remove unneeded allowEmptyCodegenFiles option in Ivy mode (#30911)
Previously, when switching to Ivy mode (e.g. to run tests on CI), we had
to add `allowEmptyCodegenFiles: true` to the `angularCompilerOptions` in
`tsconfig.app.json`.

This isn't necessary any more (potentially since we switched to dynamic
imports for loading lazy modules in #30704), so this commit removes it
from the `switch-to-ivy.js` script.

PR Close #30911
2019-06-07 08:43:49 -07:00
Zhicheng WANG
396aa21054 fix: 更新了 yarn.lock
fix: 微调翻译
2019-06-07 16:27:11 +08:00
Zhicheng WANG
acff9ec6ce fix: 翻译了新增的部分 2019-06-07 16:00:30 +08:00
Zhicheng WANG
d17cf5f506 fix: 修订合并冲突 2019-06-07 14:00:45 +08:00
Zhicheng WANG
0fddc95118 Merge branch 'en-master' into aio 2019-06-07 12:29:04 +08:00
chenc
6102512a4d my -> app
上文说的是 appHighlight 这个自定义指令, 但是在下边的描述中说的是 my 前缀, 所以这边是不是应该是 my 前缀才对呢?
2019-06-07 10:05:36 +08:00
Eriice
ec37b1e7fb fixed translate 2019-06-07 10:05:12 +08:00
Stefanie Fluin
383ab8515d feat(docs-infra): white background and corresponding figure updates (#28396)
PR Close #28396
2019-06-06 13:48:15 -07:00
Pete Bacon Darwin
f440bd1793 build(docs-infra): fix CLI command github links (#30889)
The "view" links were broken because the version used to
compute the git tag for the GitHub URL included a build SHA.
Now we clean that off before using it in the URL.

The links are to the JSON schema that defines the documentation for
the command. This is accurate but confusing because the content for the
long description is stored in a separate markdown file referenced from this
schema file.
This commit adds a second set of links for the long description, if it exists,
which links directly to the markdown file.

Closes #30700

PR Close #30889
2019-06-06 08:49:37 -07:00
Zhicheng WANG
845475005c fix: 解决 prerender 在 ci 上的 bug 2019-06-06 14:32:50 +08:00
Zhicheng WANG
c070126692 fix: 添加类型定义,避免编译错误 2019-06-06 09:05:27 +08:00
Zhicheng WANG
febaccf780 fix: 细修
fix: 避免不必要的冲突
2019-06-06 08:23:40 +08:00
Zhicheng WANG
28b0698600 fix: 细修 2019-06-06 08:03:18 +08:00
Zhicheng WANG
d5c6f7ca1b fix: 翻译完 deployment 2019-06-06 07:50:06 +08:00
Zhicheng WANG
55613601c2 fix: 翻译 forms 2019-06-06 00:03:43 +08:00
Zhicheng WANG
dc761e148d fix: 翻译 data 2019-06-05 23:52:25 +08:00
Zhicheng WANG
b6d8478658 fix: 翻译 routing 2019-06-05 23:13:20 +08:00
Zhicheng WANG
597d5a43a4 fix: 翻译 Angular 入门索引页 2019-06-05 22:50:16 +08:00
Zhicheng WANG
55aaaa5e57 fix: 您替换成你 2019-06-05 21:07:54 +08:00
Zhicheng WANG
6afb87bc7a fix: 翻译 schematics 2019-06-05 20:56:39 +08:00
Zhicheng WANG
cdd1148601 fix: 翻译原理图 2019-06-05 17:15:33 +08:00
Zhicheng WANG
c9265ef726 fix: 修正标题 2019-06-05 16:17:58 +08:00
Zhicheng WANG
267c822960 fix: 翻译 Web Worker 2019-06-05 16:17:03 +08:00
Zhicheng WANG
a670a275fd fix: 翻译 ivy 2019-06-05 16:04:14 +08:00
Zhicheng WANG
e64003ee93 fix: 翻译使用情况收集 2019-06-05 15:50:22 +08:00
Zhicheng WANG
3d763e71a0 fix: 翻译 deprecations 2019-06-05 15:39:00 +08:00
Zhicheng WANG
694c563fa2 fix: 翻译 bazel 2019-06-05 14:55:18 +08:00
Zhicheng WANG
0895bcef8b fix: 翻译 app-shell 2019-06-05 14:07:45 +08:00
Zhicheng WANG
0dee068b00 fix: 纠错 2019-06-05 13:58:31 +08:00
Zhicheng WANG
f839fd6031 fix: 无效链接 2019-06-05 08:47:35 +08:00
Zhicheng WANG
321728f132 fix: navigation.json 格式错误 2019-06-05 08:06:32 +08:00
Zhicheng WANG
56b0a3148c fix: 更新了 yarn.lock 2019-06-05 07:50:02 +08:00
Lars Gyrup Brink Nielsen
ef4a15bc0b docs: correct typos and formatting in the Getting Started guide (#30758)
PR Close #30758
2019-06-04 13:37:27 -07:00
George Kalpakas
b74df20c2a docs(service-worker): mention that HTTPS is required, unless on localhost (#30847)
Fixes #30823

PR Close #30847
2019-06-04 12:03:11 -07:00
Brandon
812c231b0c docs: update example dependencies to 8.x release (#30755)
PR Close #30755
2019-06-04 11:53:55 -07:00
Pandiyan Murugan
3ed7463ad7 docs: rename component for constructor example (#30845)
PR Close #30845
2019-06-04 11:52:57 -07:00
Zhicheng WANG
9d1a89a77f fix: 修订完了所有文档 2019-06-04 22:02:31 +08:00
Zhicheng WANG
df222c3a12 fix: 修订完了 guide 部分 2019-06-04 21:48:02 +08:00
Zhicheng WANG
4ac2511634 fix: 修订了一部分翻译 2019-06-04 19:00:20 +08:00
Zhicheng WANG
2f6b90a5fa fix: 翻译了差异化加载部分 2019-06-04 17:42:32 +08:00
Bruno João
cd6fc8bf06 docs: document UrlTree in guard return type in cheatsheet (#30822)
Add UrlTree to the types of returned values in guard methods

PR Close #30822
2019-06-03 11:43:25 -07:00
Brandon
8bedf50073 docs: update example references from "my-app" to "app-root" (#30789)
"app" is the default prefix for CLI projects when generating components.
This updates our examples to conform that that default

Closes #19778

PR Close #30789
2019-06-03 08:55:39 -07:00
Zhicheng WANG
8f4caa7cb1 fix: 修订了一部分翻译错误 2019-06-03 10:50:43 +08:00
Zhicheng WANG
d5057aec3b Merge remote-tracking branch 'en/master' into aio 2019-06-03 10:09:20 +08:00
Brandon
32886cf9ac docs(docs-infra): compile module first for Ivy when loading element modules (#30704)
In View Engine, NgModule factories are created for each NgModule and loaded when the module is requested. Ivy doesn't generate the
factories by design and only loads the module class, so it must be compiled after being loaded.

PR Close #30704
2019-05-31 15:24:22 -07:00
Brandon
fcef39048a refactor(docs-infra): update loading of custom elements to use dynamic import syntax (#30704)
Removes the usage of `NgModuleFactoryLoader` and string-based imports for lazy loading.

PR Close #30704
2019-05-31 15:24:22 -07:00
Michael Head
1315d23aa4 docs: increase color contrast on elements in tutorial
This increases the color contrast of elements in the tutorial (parts 1-6)
in order to meet WCAG 2.0 AA standards.
2019-05-31 15:23:32 -07:00