George Kalpakas
4f29287399
build(aio): upgrade `@angular/cli` to `6.0.0-rc.4` ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
62e6c1f43a
build(aio): upgrade `@angular/*` to `6.0.0-rc.4` ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
c3c513ed9e
build(aio): remove redundant flags from cli commands ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
ed495bc9f1
build(aio): switch to `webpack-cli` for IE polyfills ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
a3de5f8f20
build(aio): upgrade `rxjs` to `6.0.0-turbo-rc.4` ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
47d3acdc49
build(aio): reorder entries in package.json ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
acbfb9eb4d
build: fix angular.json that was missing keys due to cli bugs ( #23234 )
...
https://github.com/angular/angular-cli/issues/10225
https://github.com/angular/angular-cli/issues/10226
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
d35f84a167
build(aio): update to @angular/material@6.0.0-rc.1 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
87e9f333d4
build(aio): update to @angular/material@5.2.4 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
fc5af69fb2
build(aio): update to @angular/cli@6.0.0-rc.2 + project layout update ( #23234 )
...
project layout was updated using:
yarn ng update @angular/cli --migrate-only --from=1.7.3
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
81ccb718b1
build(aio): upgrade to @angular/*@6.0.0-rc.3 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
0c56dfadef
build(aio): upgrade to @angular/*@6.0.0-rc.2 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
99f8e10809
ci(aio): fix `aio-monitoring` tests ( #23390 )
...
Previously, we were running the e2e tests from master against
`https://angular.io ` (deployed from the stable branch). Often the e2e
tests from master do not apply to the stable branch, since the app has
deviated slightly.
This commit fixes this by stop running the full e2e tests against the
deployed versions, but a smaller set of "smoke tests", which check basic
functionality that is less likely to change between versions.
PR Close #23390
2018-04-17 13:45:38 -07:00
George Kalpakas
d665d9a18c
refactor(aio): rename directory (tests/deployment-config --> tests/deployment) ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
George Kalpakas
8b2101be9f
refactor(aio): rename spec file ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
George Kalpakas
0d56cee9e1
refactor(aio): rename yarn script (deployment-config-test --> redirects-test) ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
Anuj
010a4efa8c
docs(aio): Fixed typo in 'comparing observables -> Observabled compared ( #23407 )
...
to arrays' section.
PR Close #23407
2018-04-17 13:43:45 -07:00
Eyal Cherevatzki
c3280b2c2f
docs(aio): change `HeroService` to `MessagesComponent` ( #23397 )
...
Someone probably forgot to change this when coping the sentence from a previous section.
PR Close #23397
2018-04-16 09:01:58 -07:00
Eyal Cherevatzki
d11b249d36
docs(aio): change `HeroDetailsComponent` to `HeroDetailComponent` ( #23397 )
...
For the sake of consistency, change `HeroDetailsComponent` to `HeroDetailComponent`.
PR Close #23397
2018-04-16 09:01:58 -07:00
Vani
9c29127723
docs: document how to enable service worker using ng add command ( #23348 )
...
PR Close #23348
2018-04-16 08:57:13 -07:00
Tiep Phan
fd1c39ce42
docs: update lifecycle hooks section in cheatsheet ( #23320 )
...
PR Close #23320
2018-04-15 23:44:44 -07:00
systemallica
896811df64
docs(aio): add missing word in the Component metadata section ( #23384 )
...
PR Close #23384
2018-04-15 23:36:55 -07:00
Brandon Roberts
490772e680
docs(aio): Update file tree to match Angular CLI V6 structure ( #23367 )
...
PR Close #23367
2018-04-13 14:19:16 -07:00
George Kalpakas
08325aaffc
feat(service-worker): add support for configuring navigations URLs ( #23339 )
...
The ServiceWorker will redirect navigation requests that don't match any
`asset` or `data` group to the specified index file. The rules for a
request to be classified as a navigation request are as follows:
1. Its `mode` must be `navigation`.
2. It must accept a `text/html` response.
3. Its URL must match certain criteria (see below).
By default, a navigation request can have any URL except for:
1. URLs containing `__`.
2. URLs to files (i.e. containing a file extension in the last path
segment).
While these rules are fine in many cases, sometimes it is desirable to
configure different rules for the URLs of navigation requests (e.g.
ignore specific URLs and pass them through to the server).
This commit adds support for specifying an optional `navigationUrls`
list in `ngsw-config.json`, which contains URLs or simple globs
(currently only recognizing `!`, `*` and `**`).
Only requests whose URLs match any of the positive URLs/patterns and
none of the negative ones (i.e. URLs/patterns starting with `!`) will be
considered navigation requests (and handled accordingly by the SW).
(This is an alternative implementation to #23025.)
Fixes #20404
PR Close #23339
2018-04-13 13:13:36 -07:00
George Kalpakas
d1e716b2cb
docs(service-worker): minor fixes/improvements ( #23339 )
...
PR Close #23339
2018-04-13 13:13:36 -07:00
Rafael
639d52fe71
refactor: ensure all 'TODO's are consistent ( #23252 )
...
PR Close #23252
2018-04-13 13:11:01 -07:00
George Kalpakas
eac36d7e1a
test(aio): fix `DocViewerComponent` tests ( #23359 )
...
Obsolete assertions left over from #23249 .
PR Close #23359
2018-04-13 08:06:19 -07:00
George Kalpakas
0224f1aaf3
refactor(aio): remove file that should not be tracked ( #23359 )
...
PR Close #23359
2018-04-13 08:06:19 -07:00
Rob Wormald
74b203a55e
docs(elements): add ng-add docs to elements guide ( #23350 )
...
PR Close #23350
2018-04-13 00:50:04 -07:00
Amit Portnoy
c2a53bbf61
fix(aio): remove additional 'googlebot' reference ( #23249 )
...
according to https://developers.google.com/search/reference/robots_meta_tag
googlebot is only used as a google specific override of 'robots'- there's no need for override in this case
PR Close #23249
2018-04-13 00:35:29 -07:00
Suguru Inatomi
3bd682f432
docs(aio): Add link to Japanese localization ( #20630 )
...
PR Close #20630
2018-04-13 00:26:12 -07:00
Juan Camilo Giraldo Chaverra
221ae6998a
docs(aio): fix typo on AOT compiler section
2018-04-13 00:06:26 -07:00
Michael Huang
f958293205
docs(aio): update text InMemoryWebApiModule to HttpClientInMemoryWebApiModule ( #23285 )
...
PR Close #23285
2018-04-12 23:17:19 -07:00
Jeremy Attali
993eeababb
docs: fix typo in injected variable name ( #23315 )
...
The service injected is `ValueService`, however the name of the variable
does not reflect that. It's actually confusing since it's the name of
the `class` being created.
PR Close #23315
2018-04-12 23:16:52 -07:00
Pete Bacon Darwin
aae437cb1e
build(aio): implement rules to prevent short parameter names ( #22759 )
...
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
fa11d7822c
build(aio): create minLength content rule ( #22759 )
...
This rule can be used to ensure that properties contain a minimum
number of characters.
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
1619160c8a
build(aio): implement rules to prevent headings in content ( #22759 )
...
* No headings are allowed in `description` and `shortDescription`
* Only heading level 3 is allowed in `usageNotes`
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
7a8c58162c
build(aio): create noMarkdownHeadings content rule ( #22759 )
...
This content rule can check what markdown headings
appear in content properties.
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
e0ae74d40e
build(aio): add checkContentRules processor ( #22759 )
...
This processor will enable us to write rules about
how the content should appear, such as:
* no headings in markdown content
* only one sentence per line
* no single character parameter names
* etc.
PR Close #22759
2018-04-12 00:06:49 -07:00
Igor Minar
7e8cee6b61
build: fix aio size tracking, we need to use node_modules local to aio ( #23328 )
...
This fixes an issue introduced by 4f0cae0676
which removed firebase from the root node_modules.
PR Close #23328
2018-04-11 23:14:23 -07:00
Igor Minar
ee145790d7
build(aio): fix scripts/test-production.sh file permission issue
...
it needs to be executable for CI tests to run.
2018-04-10 18:26:10 -07:00
JiaLi.Passion
30a6861fd0
build: update zone.js to 0.8.26 to fix some regression bugs ( #23227 )
...
PR Close #23227
2018-04-09 15:16:40 -07:00
Judy Bogart
1fac5f4eb1
docs: recommend best practice for providers ( #22934 )
...
PR Close #22934
2018-04-06 21:49:34 -07:00
Rob Wormald
eb9968ab2a
docs(elements): use Angular Elements naming in nav ( #23213 )
...
PR Close #23213
2018-04-05 16:32:57 -07:00
Anuj Jain
b5f41f2c35
docs: fixed live example for the lifecycle hooks. ( #23201 )
...
PR Close #23201
2018-04-05 16:29:38 -07:00
George Kalpakas
3b607e60e9
refactor(aio): remove unused images ( #23018 )
...
PR Close #23018
2018-04-05 10:12:09 -07:00
George Kalpakas
b874501025
docs(aio): update `live-example` docs in authors style guide ( #23018 )
...
PR Close #23018
2018-04-05 10:12:09 -07:00
George Kalpakas
ce43e96d49
ci(aio): upload the preview before checking the bundle sizes ( #23123 )
...
This makes the preview available even if the bundle sizes are out of
limits.
PR Close #23123
2018-04-05 10:10:59 -07:00
George Kalpakas
79cecf9a5e
fix(aio): update trusted GitHub teams (angular-core --> team) ( #23181 )
...
PR Close #23181
2018-04-05 10:07:13 -07:00
Pete Bacon Darwin
381da1af45
build(aio): move "optional" and "default" to end of param description ( #23062 )
...
PR Close #23062
2018-04-05 09:25:15 -07:00
Igor Minar
5db9ab12c0
docs: fix skipTemplateCodeGen -> skipTemplateCodegen typo in the AOT compiler guide
2018-04-04 23:12:28 -07:00
Igor Minar
bf88c5c9f8
build: configure angular-cli projects to use yarn by default ( #23149 )
...
PR Close #23149
2018-04-04 17:47:47 -07:00
Pete Bacon Darwin
6dd8f6efe4
docs(aio): remove invalid nav item ( #23175 )
...
The `custom-elements` guide page was renamed to `elements` in ff34d5ea7
.
That commit also added a new nav item for the renamed file, so this item is
no longer valid.
PR Close #23175
2018-04-04 14:32:14 -07:00
Pete Bacon Darwin
5b6e59cfb3
build(aio): fail the doc-gen if the nav is invalid ( #23175 )
...
PR Close #23175
2018-04-04 14:32:14 -07:00
JiaLi.Passion
c560423b52
build: upgrade zone.js ( #23108 )
...
PR Close #23108
2018-04-04 08:24:02 -07:00
Vani
4506230fbb
docs: update contents to recommend new way of defining providers ( #23076 )
...
PR Close #23076
2018-04-03 12:32:59 -07:00
Vani
5671ae6a58
docs: add tree-shakable providers doc ( #23027 )
...
PR Close #23027
2018-04-03 12:32:39 -07:00
Matias Niemelä
18ac228a27
docs: change examples within services to be tree-shakeable ( #23070 )
...
PR Close #23070
2018-04-03 10:48:52 -07:00
Igor Minar
62e6e21895
build(aio): update to rxjs@6.0.0-rc.0 ( #23106 )
...
-rw-r--r-- 1 iminar primarygroup 2774 Mar 30 17:23 dist/announcement-bar.module.94664978458f4bcdad0e.chunk.js
-rw-r--r-- 1 iminar primarygroup 8081 Mar 30 17:23 dist/api-list.module.0080b5cc2e6a0e0cb4e0.chunk.js
-rw-r--r-- 1 iminar primarygroup 3963 Mar 30 17:23 dist/code-example.module.a71be2c11f00a30159ae.chunk.js
-rw-r--r-- 1 iminar primarygroup 29367 Mar 30 17:23 dist/code-tabs.module.91c45e5c6e7bc37a7ae3.chunk.js
-rw-r--r-- 1 iminar primarygroup 18647 Mar 30 17:23 dist/common.ba5d418531a81244d32a.chunk.js
-rw-r--r-- 1 iminar primarygroup 6719 Mar 30 17:23 dist/contributor-list.module.3f67eb8916b4b5d9553b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1009 Mar 30 17:23 dist/current-location.module.5b1b839219a3afa4821c.chunk.js
-rw-r--r-- 1 iminar primarygroup 10037 Mar 30 17:23 dist/expandable-section.module.e990983253a804b8680b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1642 Mar 30 17:23 dist/file-not-found-search.module.3ebb2c728ee873e1124f.chunk.js
-rw-r--r-- 1 iminar primarygroup 1971 Mar 30 17:23 dist/inline.966da76300859bd75965.bundle.js
-rw-r--r-- 1 iminar primarygroup 5905 Mar 30 17:23 dist/live-example.module.db0fa04009ecb3863ec8.chunk.js
-rw-r--r-- 1 iminar primarygroup 565539 Mar 30 17:23 dist/main.4962a0cf09dd39042cdb.bundle.js
-rw-r--r-- 1 iminar primarygroup 40272 Mar 30 17:23 dist/polyfills.60722fb8dd6546cb465e.bundle.js
-rw-r--r-- 1 iminar primarygroup 14886 Mar 30 17:23 dist/prettify.04d149a0484032073703.chunk.js
-rw-r--r-- 1 iminar primarygroup 4840 Mar 30 17:23 dist/resource-list.module.7d9223ca5f7ae5ce9d48.chunk.js
-rw-r--r-- 1 iminar primarygroup 54001 Mar 30 17:23 dist/worker-basic.min.js
PR Close #23106
2018-04-03 10:00:23 -07:00
jenniferfell
a4bf5621ed
docs: add reference to ng add in tutorial and quick reference ( #23130 )
...
PR Close #23130
2018-04-03 07:38:47 -07:00
Zhicheng Wang
4aeff82d53
fix: 文字微调
2018-04-03 10:34:27 +08:00
Judy Bogart
ff34d5ea7a
docs: add custom elements documentation ( #22966 )
...
PR Close #22966
2018-04-02 14:13:46 -07:00
Igor Minar
43d62029f0
build(aio): update to angular@6.0.0-rc.1 ( #23101 )
...
-rw-r--r-- 1 iminar primarygroup 2774 Mar 30 15:01 dist/announcement-bar.module.94664978458f4bcdad0e.chunk.js
-rw-r--r-- 1 iminar primarygroup 8081 Mar 30 15:01 dist/api-list.module.0080b5cc2e6a0e0cb4e0.chunk.js
-rw-r--r-- 1 iminar primarygroup 3963 Mar 30 15:01 dist/code-example.module.a71be2c11f00a30159ae.chunk.js
-rw-r--r-- 1 iminar primarygroup 29367 Mar 30 15:01 dist/code-tabs.module.91c45e5c6e7bc37a7ae3.chunk.js
-rw-r--r-- 1 iminar primarygroup 18647 Mar 30 15:01 dist/common.ba5d418531a81244d32a.chunk.js
-rw-r--r-- 1 iminar primarygroup 6719 Mar 30 15:01 dist/contributor-list.module.3f67eb8916b4b5d9553b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1009 Mar 30 15:01 dist/current-location.module.5b1b839219a3afa4821c.chunk.js
-rw-r--r-- 1 iminar primarygroup 10037 Mar 30 15:01 dist/expandable-section.module.e990983253a804b8680b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1642 Mar 30 15:01 dist/file-not-found-search.module.3ebb2c728ee873e1124f.chunk.js
-rw-r--r-- 1 iminar primarygroup 1971 Mar 30 15:01 dist/inline.966da76300859bd75965.bundle.js
-rw-r--r-- 1 iminar primarygroup 5905 Mar 30 15:01 dist/live-example.module.db0fa04009ecb3863ec8.chunk.js
-rw-r--r-- 1 iminar primarygroup 567849 Mar 30 15:01 dist/main.b630be1eaedf8196652b.bundle.js
-rw-r--r-- 1 iminar primarygroup 40272 Mar 30 15:01 dist/polyfills.60722fb8dd6546cb465e.bundle.js
-rw-r--r-- 1 iminar primarygroup 14886 Mar 30 15:01 dist/prettify.04d149a0484032073703.chunk.js
-rw-r--r-- 1 iminar primarygroup 4840 Mar 30 15:01 dist/resource-list.module.7d9223ca5f7ae5ce9d48.chunk.js
-rw-r--r-- 1 iminar primarygroup 54001 Mar 30 15:01 dist/worker-basic.min.js
PR Close #23101
2018-03-30 17:29:39 -07:00
Igor Minar
3df811767e
build(aio): upgrade to rxjs@6.0.0-beta.4 ( #23101 )
...
PR Close #23101
2018-03-30 17:29:39 -07:00
Igor Minar
9c7805be2f
build(aio): pin aio to typescript ~2.7.2 ( #23101 )
...
PR Close #23101
2018-03-30 17:29:39 -07:00
George Kalpakas
6cb1adf105
ci(aio): add monitoring for angular.io ( #22483 )
...
This commit configures a periodic job to be run on CircleCI, performing several
checks against the actual apps deployed to production (https://angular.io ) and
staging (https://next.angular.io ).
Fixes #21942
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
a9e05ac82f
fix(aio): fix SW routing RegExp to allow redirecting `/api/animate` URLs ( #22483 )
...
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
120673a3ac
refactor(aio): move deployment config tests and helpers around ( #22483 )
...
This commit prepares the ground for adding different types of tests.
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
8c10df30d7
fix(aio): wait for the app to stabilize before registering the SW ( #22483 )
...
This commit also waits for the app to stabilize, before starting to
check for ServiceWorker updates. This avoids setting up a long timeout,
which would prevent the app from stabilizing and thus cause issues with
Protractor.
PR Close #22483
2018-03-30 15:26:50 -07:00
Judy Bogart
de0b13d41d
docs: update for hero service name change ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
07d33d4e5a
docs: fix operator name ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
9f7bd8f618
docs: update text around changed obs examples ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Teamop
7de13b60d6
style(aio): fix typo in the scrollbar ( #23064 )
...
PR Close #23064
2018-03-29 08:57:41 -07:00
Alex Rickabaugh
e1ea7ed019
docs: update examples for tree-shakeable providers ( #22961 )
...
PR Close #22961
2018-03-28 07:53:04 -07:00
Zhicheng Wang
da6669fdcc
fix: 修改维护者
2018-03-28 16:14:09 +08:00
Zhicheng Wang
2a2e66034d
fix: 查漏补缺
2018-03-28 08:51:22 +08:00
Zhicheng Wang
8e205552ff
chore: add to thanks
2018-03-28 08:38:56 +08:00
ChristinaLy
47f73c2795
fix issue #290
...
文件拓展名翻译错误
2018-03-28 08:30:27 +08:00
ChristinaLy
86cc002b7e
修改翻译错误
...
inject into any class that asks for it应该翻译为“把它注入到任何请求注入的类中”
2018-03-28 08:30:27 +08:00
Veres Lajos
0ebdb3d12f
style: typo fix amendments ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00
Veres Lajos
de90314304
style: typos fixed - https://github.com/vlajos/misspell-fixer ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00
Zhicheng Wang
ced3662da9
fix: 微调
2018-03-27 13:00:43 +08:00
Zhicheng Wang
b9b90d43ca
fix: add native-shim.js
2018-03-26 19:42:43 +08:00
Zhicheng Wang
b433d2148c
fix: change some angular.io to angular.cn
2018-03-26 16:34:57 +08:00
Zhicheng Wang
a9406a5ea9
fix: embed analytics.js
2018-03-26 16:27:23 +08:00
Zhicheng Wang
e4a1c19093
fix: merge index.html
2018-03-26 16:10:05 +08:00
Zhicheng Wang
42b585cc9f
fix: 去掉多余的空行,以解决首页部分 Markdown 无法正常编译的问题
2018-03-26 15:55:18 +08:00
Zhicheng Wang
e5d7e697a1
feat: embed CDN files
2018-03-26 15:45:33 +08:00
Zhicheng Wang
5dad75d04f
fix: merge examples and images
2018-03-26 15:13:41 +08:00
Zhicheng Wang
948854fcd2
chore: regenerate dict
2018-03-26 14:57:48 +08:00
Zhicheng Wang
838f07bdcd
fix: 修正错误的标题级别
2018-03-26 14:53:47 +08:00
Zhicheng Wang
7965991c60
feat: 翻译完了 architecture-services
2018-03-25 17:04:24 +08:00
Zhicheng Wang
01ed628717
feat: 翻译完了 architecture-components 和 architecture-modules
2018-03-25 12:36:17 +08:00
Zhicheng Wang
b01ec8ad9a
feat: 翻译完了 architecture-next-steps
2018-03-25 08:27:31 +08:00
Zhicheng Wang
9e732fc4ff
feat: 翻译完了 architecture
2018-03-25 08:01:14 +08:00
Zhicheng Wang
e1ca813b7c
fix: 翻译完了 reactive-forms 新增的部分
2018-03-24 21:43:09 +08:00
Zhicheng Wang
e167fa5229
refactor: 重构自动翻译代码
2018-03-24 20:03:10 +08:00
Zhicheng Wang
6c3d57aee9
fix: 合并了最新版本
2018-03-24 13:12:42 +08:00
Zhicheng Wang
ac300b3db1
fix: 重新收集翻译文本
2018-03-24 11:31:31 +08:00
Zhicheng Wang
8a17495616
fix: 不再拆解单行的 header 元素
2018-03-24 11:31:12 +08:00
Zhicheng Wang
a4ac40b640
fix: 翻译了所有遗漏的部分。
2018-03-24 11:16:33 +08:00
Zhicheng Wang
7926c6fbe1
feat: 支持隐藏所有翻译结果,以看出哪些英文内容没能正常翻译
2018-03-24 11:14:29 +08:00
Zhicheng Wang
5c39927ee1
fix: 微调
2018-03-24 08:44:35 +08:00
Zhicheng Wang
abbc8d84f0
fix: 微调
2018-03-24 08:38:15 +08:00
Zhicheng Wang
0203e84780
fix: 微调
2018-03-24 08:32:25 +08:00
Zhicheng Wang
15691c4e36
fix: 微调
2018-03-24 08:14:29 +08:00
Zhicheng Wang
a65ccab7be
feat: 翻译完了 Service Worker。
...
feat: 本版的翻译全部完工。
2018-03-24 08:11:01 +08:00
Victor Berchet
4bd3a65764
fix(aio): mark the 'titlecase' pipe as pure ( #22959 )
...
PR Close #22959
2018-03-23 16:28:05 -04:00
Alberto Piras
16f021c319
docs(aio): fix TS warning error - filter expects a boolean function param ( #22954 )
...
PR Close #22954
2018-03-23 13:07:57 -04:00
Igor Minar
3a30f5d937
build(aio): remove rxjs-compat dependency from examples ( #22872 )
...
we should not longer need it.
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
0f88fc73db
build(aio): update examples to angular-in-memory-web-api@0.6.0 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
01d2dd2a3a
refactor(aio): switch to pipeable RxJS operators ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
da76db9601
build(aio): upgrade `rxjs` to `6.0.0-beta.1` ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
91503e538e
test(aio): minor improvements ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
53227abe7b
build(aio): upgrade `rxjs` to `6.0.0-beta.0` ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
768100516f
build(aio): upgrade `@angular/*` to `6.0.0-rc.0` ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
328511be8e
build(aio): update to typescript@2.7.2 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
56e545735c
build(aio): update to @angular/core@6.0.0-beta.8 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
07e9969cb7
build(aio): update to @angular/cli@1.7.3 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Zhicheng Wang
16aaf4db45
feat: 翻译了一部分 Service Worker
2018-03-23 22:51:40 +08:00
Zhicheng Wang
1e4bddbe26
feat: 翻译了一部分 Service Worker
2018-03-23 17:00:19 +08:00
Zhicheng Wang
494553a567
feat: 翻译完了 AOT Compiler
2018-03-23 14:25:12 +08:00
Zhicheng Wang
c20a841249
fix: 部分 更新 替换成 修改
2018-03-23 09:48:55 +08:00
Zhicheng Wang
d0292bbe82
fix: 把遗漏的 我们 替换成 你
2018-03-23 09:43:02 +08:00
Zhicheng Wang
a523fbdedb
fix: upgrade 中的 我们 替换成 你
2018-03-23 09:13:46 +08:00
Zhicheng Wang
886f7da931
fix: 把烹饪书换成烹饪宝典
2018-03-22 17:30:09 +08:00
Zhicheng Wang
2b2b537008
fix: 把中文中的_替换成*
2018-03-22 17:24:05 +08:00
Zhicheng Wang
f75baea397
fix: 把除了 upgrading 之外的 我们 都替换成了 你
...
fix: 翻译了一部分 AOT Compiler
2018-03-22 17:19:12 +08:00
Zhicheng Wang
5ff85f455c
fix: 翻译 i18n 剩下的部分
2018-03-22 10:55:55 +08:00
Zhicheng Wang
67cb21e6c1
fix: 翻译完了服务端渲染部分
2018-03-22 10:52:52 +08:00
Zhicheng Wang
450474fca1
fix: 修正 i18n 编译错误
2018-03-22 10:52:34 +08:00
Jinhyuk Kim
f461f43d72
docs: fix a typo in aot compiler guide ( #22876 )
...
PR Close #22876
2018-03-21 13:20:51 -07:00
Zhicheng Wang
83e7817ff2
fix: 统一了 JIT 和 AOT 的写法
2018-03-21 16:23:00 +08:00
Zhicheng Wang
b54ce4847d
feat: 翻译完了 i18n 部分
2018-03-21 16:21:28 +08:00
Zhicheng Wang
0e6fdf3db0
feat: 汉化了 API 列表中的一些文字
2018-03-21 14:06:21 +08:00
Zhicheng Wang
2b6e7c8ca1
feat: 翻译完了 NgModule 部分
2018-03-21 14:02:05 +08:00
Igor Minar
3cc5c2e4d0
build: update to rxjs@6.0.0-beta.0 ( #22887 )
...
PR Close #22887
2018-03-20 15:26:49 -07:00
Igor Minar
5f1be9b89b
ci: temporarily disable two styleguide example tests ( #22887 )
...
these tests started failing with 6.0.0-beta.0 upgrade because of a weird issue when used with rxjs v6 with rxjs-compat
PR Close #22887
2018-03-20 15:26:49 -07:00
Zhicheng Wang
37e19cd50b
feat: 自动在中英文之间添加空格,以改善排版
2018-03-20 17:15:36 +08:00
Zhicheng Wang
545d4b6c69
feat: 自动在中英文之间添加空格,以改善排版
2018-03-20 17:09:18 +08:00
Zhicheng Wang
df15324377
fix: 用粗体代替斜体,斜体在中文下太难看了。
2018-03-20 16:50:32 +08:00
Zhicheng Wang
b9c59b2249
feat: 翻译了一部分 NgModule 的内容
2018-03-20 15:40:07 +08:00
Igor Minar
4648597d14
build(aio): temporarily pin elements to 6.0.0-beta.8 ( #22573 )
...
the next step will be to update all of aio to 6.0.0-rc.0
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
c445314239
ci: temporarily disable tests that depend on angular-in-memory-web-api ( #22573 )
...
angular-in-memory-web-api is not yet compatible with rxjs v6 and rxjs v6 backwards compatibility package is not yet ready to be used.
PR Close #22573
2018-03-19 21:51:51 -07:00
George Kalpakas
e5fcf650f8
build(aio): temporarily use RxJS from root `node_modules/` when using local packages ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Zhicheng Wang
935fdf30dc
feat: 翻译完了 Observable 与 RxJS
2018-03-20 11:31:56 +08:00
Igor Minar
243c86cd04
ci: improve logging when running aio/examples e2e tests ( #22854 )
...
PR Close #22854
2018-03-18 14:03:26 -07:00
Zhicheng Wang
e0fc873240
fix: minor fix and auto translate based on previous result
2018-03-18 07:44:33 +08:00
Andrew Seguin
fe21437232
feat(elements): fix payload size ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
cf3ff7d219
feat(elements): another polyfill solution ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
d72f44556d
feat(elements): rebase ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
167fdf745c
feat(elements): rename API to createCustomElement ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
87f60bccfd
feat(elements): injector create ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
46efd4b938
feat(elements): George's comments ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
19368085aa
feat(elements): provide type, not factory; remove config need ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
44f637a88b
feat(elements): fix test ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
863aff1a77
feat(elements): add polyfill for elements es5 shim ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
400460cc93
feat(aio): update payload size ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
7c9b411777
feat(aio): migrate embedded comp to elements ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
22b96b9690
feat(elements): add support for creating custom elements ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Zhicheng Wang
ac312e2f9a
fix: update the homepage of Element Angular
2018-03-16 12:20:59 +08:00
Victor Berchet
0ebd577db4
refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead ( #22783 )
...
BREAKING CHANGE:
The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).
This commit removes support for `<template>`. `<ng-template>` should be used
instead.
BEFORE:
<!-- html template -->
<template>some template content</template>
# tsconfig.json
{
# ...
"angularCompilerOptions": {
# ...
# This option is no more supported and will have no effect
"enableLegacyTemplate": [true|false]
}
}
AFTER:
<!-- html template -->
<ng-template>some template content</ng-template>
PR Close #22783
2018-03-15 14:52:22 -07:00
Judy Bogart
02e6ac2117
docs: incorporate suggestions and corrections from gkalpak ( #21569 )
...
PR Close #21569
2018-03-15 14:48:35 -07:00
Judy Bogart
04ca77e38e
docs(aio): update architecture section ( #21569 )
...
PR Close #21569
2018-03-15 14:48:35 -07:00
Pete Bacon Darwin
19e6b8dad5
build(aio): fix `addNotYetDocumentedProperty` processor ( #22770 )
...
It was running too late and so was being confused by the
description being split into `shortDescription` and `description`
properties.
Closes #22748
PR Close #22770
2018-03-15 11:37:31 -07:00
Zhicheng Wang
00cac11c4f
fix: 把所有 project 翻译为项目而不是工程
2018-03-15 17:12:36 +08:00
Zhicheng Wang
95b04faeff
fix: 翻译完了TS配置和发布的剩余部分
2018-03-15 17:10:51 +08:00
Zhicheng Wang
8a711cba59
refactor: 提供模糊匹配的功能(未完成)
2018-03-15 16:40:11 +08:00
Zhicheng Wang
18ac616385
fix: 修改了《环境准备与部署》中剩下的部分
2018-03-15 16:15:18 +08:00
Zhicheng Wang
dd5a7861cb
fix: 翻译了《风格指南》中剩余的部分
2018-03-15 16:08:29 +08:00
Zhicheng Wang
e45599eac1
fix: 对《测试》进行微调
2018-03-15 15:57:16 +08:00
Zhicheng Wang
cae70fab87
fix: 翻译完了《测试》的剩余部分
2018-03-15 15:48:26 +08:00
Zhicheng Wang
6d5cfd568b
fix: 翻译了《测试》的一部分
2018-03-15 13:04:10 +08:00
Pete Bacon Darwin
d509bd6849
build(aio): improve the API Pipe pages ( #22702 )
...
This change adds:
* an impure badge for Pipes that are marked as `pure: false`
* a pipe specific overview that shows the syntax for using a pipe in a template.
* an "input value" section describing the type of the value that the pipe expects.
* a "pipe params" section describing any additional params that a pipe expects.
PR Close #22702
2018-03-14 14:21:11 -07:00
Matias Niemelä
f5a98f41fe
fix(core): remove core animation import symbols ( #22692 )
...
This patch removes the deprecated support for animation
symbol imports from @angular/core.
BREAKING CHANGE: it is no longer possible to import
animation-related functions from @angular/core. All
animation symbols must now be imported from @angular/animations.
PR Close #22692
2018-03-14 12:23:51 -07:00
Suguru Inatomi
9df13add5d
docs(aio): add ng-japan 2018 to events ( #22750 )
...
ng-japan 2018 will be held at June 16 in Tokyo, Japan!
https://ngjapan.org/en.html
PR Close #22750
2018-03-14 10:59:55 -07:00
Pete Bacon Darwin
049757b237
fix(aio): constrain error logging to improve reporting ( #22713 )
...
The `Logger.error()` method now only accepts a single `Error` parameter
and passes this through to the error handler.
This allows the error handler to serialize the error more accurately.
The various places that use `Logger.error()` have been updated.
See #21943#issuecomment-370230047
PR Close #22713
2018-03-14 10:52:11 -07:00
Ward Bell
1f9734315d
docs: testing - highlight dispatchEvent ( #22726 )
...
PR Close #22726
2018-03-14 10:21:41 -07:00
Pete Bacon Darwin
6f0dad1710
build(aio): render doc-gen issues in overview dump ( #22675 )
...
Related to #22138
PR Close #22675
2018-03-14 10:20:30 -07:00
Pete Bacon Darwin
48636f3e85
build(aio): compute stability and deprecate `@stable` tag ( #22674 )
...
Closes #22635
PR Close #22674
2018-03-13 19:55:00 -07:00
Zhicheng Wang
21ffc7d24f
fix: 翻译了《速查表》的剩余部分
2018-03-14 09:26:46 +08:00
Zhicheng Wang
12f330a27f
fix: 翻译《路由与导航》中遗漏的部分
...
fix: 把 header 修复成双行对照的格式
2018-03-14 09:13:52 +08:00
Zhicheng Wang
62afb2124d
fix: 翻译《HttpClient》中遗漏的部分
2018-03-14 08:48:17 +08:00
Zhicheng Wang
73a40b825d
fix: 翻译《Angular 依赖注入》中遗漏的部分
2018-03-13 09:06:53 +08:00
Pete Bacon Darwin
cd58c0a6d9
build(aio): remove unwanted overview headings ( #22681 )
...
PR Close #22681
2018-03-12 11:23:47 -07:00
Pete Bacon Darwin
38fef1588d
build(aio): move "see also" block to export-base template ( #22681 )
...
This makes it easier for all the API docs to display "see also" links
in a consitent manner.
PR Close #22681
2018-03-12 11:23:46 -07:00
Zhicheng Wang
0ed2ae71e1
fix: 翻译《表单》和《引导启动》中遗漏的部分
2018-03-12 14:36:59 +08:00
Zhicheng Wang
964cefaeea
fix: 翻译《表单》和《引导启动》中遗漏的部分
2018-03-12 14:25:24 +08:00
Zhicheng Wang
797d882858
fix: 翻译《动画》中遗漏的部分
2018-03-12 13:21:11 +08:00
Zhicheng Wang
0c420c2efc
fix: 纠正错误及翻译遗漏的部分
2018-03-12 13:04:48 +08:00
Alex Eagle
1e6cc42a01
test: migrate remaining public-api tests to Bazel ( #22639 )
...
We now create npm packages to cover all the public api assertions in tools/public_api_guard.
We no longer depend on ts-api-guardian from npm - it is now stale since the repository was archived.
There is no longer a gulp task to enforce or accept the public API, this is in CircleCI as part of running all bazel test targets.
PR Close #22639
2018-03-09 09:11:40 -08:00
Zhicheng Wang
69908c35f6
fix: merge PRs
2018-03-09 15:30:16 +08:00
WittBulter
61e0f4fbcd
Resources: append element ui
2018-03-09 15:27:41 +08:00
Zhicheng Wang
799b59594c
chore: 添加鸣谢
2018-03-09 15:27:41 +08:00
Zhicheng Wang
31897aeb2c
fix: 手工合并 https://github.com/angular/angular-cn/pull/265
2018-03-09 15:27:41 +08:00
buzzerrookie
1f8ada3fcf
Update forms.md
2018-03-09 15:16:24 +08:00
liuchunlong
74dd99e2ee
修改指令选择器的值错误
2018-03-09 15:10:13 +08:00
Zhicheng Wang
0976dfe54c
fix: 更新翻译字典
2018-03-09 13:36:16 +08:00
Zhicheng Wang
636c072823
fix: 教程中的“我们”改成了“你”
2018-03-09 13:30:42 +08:00
Zhicheng Wang
524bb11cd5
fix: 公开改为公共
2018-03-09 13:23:04 +08:00
Zhicheng Wang
ead2165315
fix: 翻译了 toh-pt6
2018-03-09 13:17:13 +08:00
Zhicheng Wang
ed1ff926d8
fix: 翻译了 toh-pt5
2018-03-09 10:17:29 +08:00
Kapunahele Wong
2ca77d80ec
docs: refactor revert() and call to lifecylce hook, edit doc to changes ( #22094 )
...
PR Close #22094
2018-03-08 10:58:42 -08:00
Zhicheng Wang
45a14d1cc0
fix: 翻译了 toh-pt0 ~ toh-pt4
2018-03-08 17:07:55 +08:00
Zhicheng Wang
09d93793ff
fix: 翻译了 应用的壳 一章
2018-03-08 13:09:40 +08:00
Zhicheng Wang
d24f7c74f2
fix: 一级标题没有隐藏原始标题
...
fix: 中文标题的 id 应该只按照英文版生成,英文内容不再设置 id
2018-03-08 12:47:55 +08:00
Kapunahele Wong
065bcc5aad
docs: add HeroService to code tabs and fix headers ( #22373 )
...
PR Close #22373
2018-03-07 18:20:53 -08:00
Zhicheng Wang
8af121ee8f
翻译文档首页
2018-03-08 09:28:04 +08:00
Zhicheng Wang
c29aee6729
fix: 重新合并 doc-viewer 中的翻译代码(未包含标题翻译)
2018-03-08 09:08:04 +08:00
Zhicheng Wang
0f8d7fd8ce
temp: revert to english version, will re-merge it
2018-03-07 16:54:42 +08:00
Zhicheng Wang
b7ceb9e211
fix: 修正了死链接
2018-03-07 16:48:44 +08:00
Zhicheng Wang
8f74eecc96
fix: 更新字典
2018-03-07 16:16:33 +08:00
Zhicheng Wang
3136cc77ad
fix: 把所有 plunker 替换为 Stackblitz
2018-03-07 16:15:21 +08:00
Zhicheng Wang
f906fa5b29
fix: 翻译合并完毕,去掉以前版本的字典,只使用上一版
2018-03-07 15:55:33 +08:00
Zhicheng Wang
20d593d067
fix: 修正残留错误
2018-03-07 15:48:58 +08:00
Zhicheng Wang
964266f4b0
fix: 合并第一版的翻译
2018-03-07 15:42:49 +08:00
Zhicheng Wang
fc58e0eee0
fix: 合并第二版的翻译
2018-03-07 14:54:27 +08:00
Zhicheng Wang
ba33ee016a
fix: 修正第一版和第二版的字典
...
fix: 修正原文过滤逻辑
2018-03-07 14:19:47 +08:00
Zhicheng Wang
c618678281
fix: 人工修订自动翻译
...
fix: 标准化原文中的异常语句
2018-03-07 13:29:22 +08:00
Zhicheng Wang
73eb2d2d73
fix: 拆解单行的 td/th
2018-03-07 13:09:36 +08:00
Zhicheng Wang
77c2e039f6
fix: 人工修订自动翻译
...
fix: 只忽略 <div class="alert 元素
2018-03-07 12:57:17 +08:00
Zhicheng Wang
a94e7cba14
fix: 人工修订自动翻译
...
fix: 拆解 tr
fix: 特殊拆解 back to top
2018-03-07 12:45:12 +08:00
Zhicheng Wang
9adeb14f3a
fix: 人工修订自动翻译
2018-03-07 12:26:05 +08:00
Zhicheng Wang
abb1f1321b
fix: a 不再自动换行
...
fix: 修正自动翻译结果
2018-03-07 11:28:22 +08:00
Zhicheng Wang
0e0ffa481e
fix: 修正自动翻译结果
2018-03-07 11:25:56 +08:00
Zhicheng Wang
38af562aff
fix: 对 section 和 code-tabs 换行
2018-03-07 11:25:41 +08:00
Zhicheng Wang
51bd598826
fix: 修正自动翻译结果
2018-03-07 10:55:42 +08:00
Zhicheng Wang
d7d3589052
fix: 修正匹配#标题的正则表达式
2018-03-07 10:47:14 +08:00
Zhicheng Wang
076cd7940b
fix: 全面改用环视进行匹配,以免“吃掉”回车,影响下一个匹配
...
fix: html 标签中的属性匹配允许空格
2018-03-07 10:43:12 +08:00
Zhicheng Wang
1c028aee24
fix: 提交没错误的自动翻译结果
2018-03-07 10:20:29 +08:00
Zhicheng Wang
43e7e9fe8c
fix: 为单行拆解成多行结果增加缩进
2018-03-07 10:13:16 +08:00
Zhicheng Wang
400a6d0b8e
fix: 在正文首尾添加换行,以便统一处理
...
fix: 拆解 li
2018-03-07 10:08:37 +08:00
Zhicheng Wang
4c6b614064
fix: 拆解单行 li
2018-03-07 09:33:42 +08:00
Zhicheng Wang
4c10eb42b5
fix: 拆解单行 br
2018-03-07 09:29:06 +08:00
Zhicheng Wang
8dcffab9c8
fix: 拆解 div
2018-03-07 09:21:16 +08:00
Zhicheng Wang
16bd6edca0
fix: 错误的忽略了单行的 a 标签
2018-03-07 09:08:44 +08:00
Zhicheng Wang
151d8824ee
fix: 忽略更多字符
2018-03-07 08:48:31 +08:00
Zhicheng Wang
4ddf7348a4
fix: 解决其他元素的拆解问题
2018-03-07 08:42:26 +08:00
yerkebulan
505ae752b6
docs(aio): update deprecated Http reference to HttpClientModule, remove Http reference because another context is used ( #21984 )
...
docs(aio): change HttpClientModule reference to HttpClient
docs(aio): capitalize Http to HTTP
docs(aio): fix typo mistake in 'universal' guide
docs(aio): gets rid of the parentheses and the "e.g." in 'universal' guide
PR Close #21984
2018-03-06 15:03:54 -08:00
Pete Bacon Darwin
b3d1761825
build(aio): compute and display short descriptions in methods ( #22583 )
...
Previously only export docs were displaying a short description.
Now methods in classes and interfaces also compute and render
the short description.
Closes #22500
PR Close #22583
2018-03-06 11:05:21 -08:00
Ward Bell
d0db9ded90
docs: fix cli-quickstart doc and specs ( #22338 )
...
* tests were broken
* incorrect instructions.
* didn't match current CLI template for new project
PR Close #22338
2018-03-06 09:41:53 -08:00
Zhicheng Wang
f89d728818
fix: 拆解其它单行块标签
2018-03-06 17:32:21 +08:00
Zhicheng Wang
fee2468d41
fix: 拆解单行自封闭 tag
2018-03-06 17:18:33 +08:00
Zhicheng Wang
73e4efa80d
fix: header 的拆解
2018-03-06 17:08:10 +08:00
Pete Bacon Darwin
94bc277b1b
fix(aio): tidy up embedded ToC styling ( #22570 )
...
The spacing didn't work well when the screen was narrow.
PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
8ea4c57174
fix(aio): reposition and shrink the API badges ( #22570 )
...
Closes #22130
PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
53b0fe8144
feat(aio): allow template to position embedded ToC ( #22570 )
...
Previously the doc-viewer would insert an embedded `<aio-toc>` element
into the DOM directly after the H1 element. Now it will not do this
if there is already a such element in the doc contents.
This allows the content-author/template-developer to position the ToC
for specific cases.
PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
58932c7f38
build(aio): indicate whether properties are read-only in API pages ( #22584 )
...
PR Close #22584
2018-03-05 10:15:37 -08:00
Pete Bacon Darwin
5bb9f64218
fixup! feat(aio): allow template to position embedded ToC ( #22565 )
...
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
405d97431f
fixup! feat(aio): allow template to position embedded ToC ( #22565 )
...
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
41064fcb36
fix(aio): reposition and simplify github links ( #22565 )
...
Closes #22379
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
b80fd6be58
build(aio): render whether API classes and members are abstract ( #22563 )
...
Closes #22537
PR Close #22563
2018-03-05 10:13:43 -08:00
SangKa.Z
3aea8fd5f3
docs(aio): fix table header ( #22553 )
...
PR Close #22553
2018-03-05 10:13:16 -08:00
Pete Bacon Darwin
b64139650c
build(aio): class API template once again extends export-base ( #22534 )
...
PR Close #22534
2018-03-05 10:12:55 -08:00
Pete Bacon Darwin
1d2bdcb4d0
build(aio): render param descriptions for function exports ( #22534 )
...
Closes #22501
PR Close #22534
2018-03-05 10:12:55 -08:00
Pete Bacon Darwin
12be311618
fix(aio): remove all links from toc titles ( #22533 )
...
The previous approach just removed the first `a` tag that
was found, but now that the header-link anchor is not at
the start of the heading, it could fail.
Closes #22493
PR Close #22533
2018-03-05 10:12:35 -08:00
Zhicheng Wang
206f6ecc4f
fix: 修正最后一版的全部翻译
2018-03-04 09:07:33 +08:00
Zhicheng Wang
585e377fa8
fix: 处理单 html tag 行的翻译问题
2018-03-03 21:05:33 +08:00
Zhicheng Wang
757526a6ed
fix: 当存在多个翻译时,自动使用最近的一个
2018-03-03 17:53:33 +08:00
Zhicheng Wang
a9132302fd
fix: 支持拆分标题行 "# xxx"
2018-03-03 17:47:09 +08:00
Zhicheng Wang
e6ede6bded
fix: 自动翻译了 http.md
2018-03-03 12:34:00 +08:00
Zhicheng Wang
80e318584a
feat: 批量翻译目录下的所有 markdown 文件
2018-03-03 12:00:01 +08:00
Zhicheng Wang
7f04568b62
fix: 翻译完 forms.md
2018-03-03 11:48:01 +08:00
Zhicheng Wang
eb73ad0027
feat: 抽取 html 标签包裹的单行文本(通常出现于表格中)
2018-03-03 11:45:03 +08:00
Zhicheng Wang
b8400fad7c
feat: 三行简化为两行
...
refactor: 抽取出工具函数
2018-03-03 11:01:57 +08:00
Zhicheng Wang
19f4ad46ae
refactor: extract checker functions
2018-03-03 08:13:52 +08:00
Zhicheng Wang
c2f0045a5e
feat: 只根据核心字符比较
...
feat: 处理列表和标题等不必紧跟换行符的格式
2018-03-02 14:25:07 +08:00
Zhicheng Wang
ee97046824
chore: 测试断言改为中文
2018-03-02 08:08:39 +08:00
Zhicheng Wang
0dbc49c7cc
feat: 提供根据字典翻译功能
2018-03-02 07:55:44 +08:00
Pete Bacon Darwin
0e311e3918
build(aio): improve accuracy of code auto-linking ( #22494 )
...
The new version of `dgeni-packages/typescript` no longer strips
out "namespaces" from types, which was part of the problem of
not autolinking correctly to `HttpEventType.Response`.
Another part of the problem was that we did not include `.`
characters when matching potential code blocks for auto-linking,
which precluded properties of enums from being linked.
Finally, members we not being given a `path` property, which is
needed to effectively autolink to them. This is now set in
the `simplifyMemberAnchors` processor.
Closes #21375
PR Close #22494
2018-03-01 08:11:19 -08:00
Pete Bacon Darwin
997b30a093
build(aio): move link disambiguation from `getLinkInfo` to `getDocFromAlias` ( #22494 )
...
The disambiguation needs to be done earlier so that the auto-link-code
post-processor can benefit from it.
PR Close #22494
2018-03-01 08:11:19 -08:00
Pete Bacon Darwin
94707fe795
build(aio): initialise `exampleMap` correctly ( #22502 )
...
The `exampleMap` needs to hold an hash object for each
of the `collectExamples.exampleFolders` paths.
Previously these hash objects were only created if there
was actually an example file the hash's respective
example folder. This could cause crashes during
`yarn docs-watch` (and so also `yarn sync-and-serve`)
if no examples were read in for a particular run of
the doc-gen.
PR Close #22502
2018-03-01 08:10:15 -08:00
Zhicheng Wang
40bd48bb2a
refactor: move to tools/translator
2018-03-01 22:35:54 +08:00
Zhicheng Wang
6642b82445
fix: heads in original and translation must be same level
2018-03-01 22:28:13 +08:00
Zhicheng Wang
53a7a4cbf5
feat: add auto checker
...
fix: some translations found by auto checker
2018-03-01 22:19:59 +08:00
Zhicheng Wang
1b786e0a72
feat: 中英字典收集工具
2018-03-01 20:25:40 +08:00
Zhicheng Wang
6120300d4a
feat: 中英字典收集工具
2018-03-01 20:09:22 +08:00
Kapunahele Wong
c82cef8bc6
docs: fix dynamic component loader example ( #22181 )
...
closes #21903
PR Close #22181
2018-02-28 10:46:37 -08:00
Pete Bacon Darwin
7d65356ae3
build(aio): add `@usageNotes` tag def for API docs ( #22401 )
...
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
11f30fc351
style(aio): add newline between test blocks ( #22401 )
...
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
b107131f8a
build(aio): split the description property in API docs ( #22401 )
...
* The first paragraph is now split off into the `shortDescription` property.
* Usage of `howToUse` and `whatItDoes` have been updated.
* The "Overview" heading for class is removed as it is self-evident
* The original horizontal rule styling below the main heading is removed as not part of the new design
Closes #22385
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
11264e2174
fix(aio): remove heading border ( #22401 )
...
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
b924ce3a62
build(aio): add processor to migrate legacy tags `@whatItDoes` and `@howToUse` ( #22401 )
...
See https://github.com/angular/angular/issues/22135#issuecomment-367632372
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
e75f0cee18
build(aio): deprecate `@howToUse` and `@whatItDoes` tags ( #22401 )
...
See https://github.com/angular/angular/issues/22135#issuecomment-367632372
PR Close #22401
2018-02-28 10:43:27 -08:00
Zhicheng Wang
89060a39df
fix: 不正常的中英文段落合并
2018-02-28 13:44:53 +08:00
Zhicheng Wang
6b1d4a4890
fix: HttpModule => HttpClientModule
2018-02-28 13:22:43 +08:00
Zhicheng Wang
cacdf7b564
fix: 修正多行合并到一起的错误
2018-02-28 13:20:10 +08:00
Zhicheng Wang
f248973faa
fix: polyfills 译为腻子脚本
2018-02-28 13:17:39 +08:00
Zhicheng Wang
c08a3830df
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/change-log.md
# aio/content/guide/component-styles.md
# aio/content/guide/deployment.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/http.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule.md
# aio/content/guide/pipes.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/security.md
# aio/content/guide/set-document-title.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/upgrade.md
# aio/content/marketing/docs.md
# aio/content/marketing/features.html
# aio/content/marketing/resources.json
# aio/content/navigation.json
# aio/src/app/layout/doc-viewer/doc-viewer.component.ts
2018-02-28 13:13:29 +08:00
Pete Bacon Darwin
83b32a0a0a
build(aio): render heading anchors on the right
...
This approach simplifies the styling needed considerably.
Previously, we had to make room on the left for heading that
are in visual containers. Also we had to apply a `float:right`
when on narrow screens as the gutter not available then.
This float didn't render nicely if the heading text was longer
than could be rendered on a single line.
Closes #22131
2018-02-27 18:32:32 -08:00
Zhicheng Wang
1531b0610d
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/component-interaction.md
# aio/content/guide/component-styles.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/http.md
# aio/content/guide/i18n.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule.md
# aio/content/guide/npm-packages.md
# aio/content/guide/pipes.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/structural-directives.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/marketing/index.html
# aio/content/navigation.json
# aio/content/tutorial/index.md
# aio/content/tutorial/toh-pt1.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/src/app/embedded/api/api-list.component.ts
# aio/src/app/layout/doc-viewer/doc-viewer.component.ts
# aio/src/app/layout/footer/footer.component.html
# aio/src/app/layout/toc/toc.component.html
# aio/src/app/search/search.service.ts
# aio/src/styles/1-layouts/_marketing-layout.scss
# aio/yarn.lock
2018-02-28 08:08:59 +08:00
George Kalpakas
142117f6bb
fix(aio): do not show Properties/Methods sections if only internal members ( #22471 )
...
PR Close #22471
2018-02-27 15:17:22 -08:00
Jason Aden
79656e7f96
docs(aio): add Observable and Rx docs ( #21423 )
...
PR Close #21423
2018-02-27 11:24:31 -08:00
George Kalpakas
d100f1b187
build(aio): fix API docs breadcrumbs ( #22446 )
...
This also prevents some extra `<a>` elements inserted by the browser's
trying to fix the HTML structure, which also fixes the `.header-link`
added in ToC.
Fixes #22387
Closes #22437
PR Close #22446
2018-02-27 07:08:07 -08:00
Pete Bacon Darwin
4bd3e5f92f
build(aio): do not render "constructor()" heading in API docs ( #22380 )
...
Closes #22363
PR Close #22380
2018-02-27 07:07:16 -08:00
haoRchen
3f3be429c9
style(aio): updated padding-right for the .alert class in _heading-anchors.scss ( #22431 )
...
The h3 element is overflowing over its surrounding div element. Modified padding-right to align consistently with the remainder of div contents.
fixes : #22407
PR Close #22431
2018-02-26 17:52:29 -08:00
haoRchen
7e4c13f2de
style(aio): added padding-left to h3 in _subsection.scss ( #22431 )
...
The h3 element is overflowing over its surrounding div element. Modified padding-left to align consistently with the remainder of div contents.
fixes : #22407
PR Close #22431
2018-02-26 17:52:29 -08:00
Olivier Combe
82a791223c
docs: update i18n guide for projects that don't use the cli ( #21767 )
...
PR Close #21767
2018-02-26 17:51:58 -08:00
Pete Bacon Darwin
ef99126aea
test(aio): move forgotten e2e test to the correct folder ( #22445 )
...
PR Close #22445
2018-02-26 17:50:42 -08:00
Pete Bacon Darwin
c10c831b8e
build(aio): render subclasses + see-also block in the main flow ( #22445 )
...
Closes #22386
PR Close #22445
2018-02-26 17:50:42 -08:00
Ward Bell
a7e1f236ff
docs: testing guide for CLI ( #20697 )
...
- updates tests
- heavy prose revisions
- uses HttpClient (with angular-in-memory-web-api)
- test HeroService using `HttpClientTestingModule`
- scrub away most By.CSS
- fake async observable with `asyncData()`
- extensive Twain work
- different take on retryWhen
- remove app barrels (& systemjs.extras) which troubled plunker/systemjs
- add dummy export const to hero.ts (plunkr/systemjs fails w/o it)
- shrink and re-organize TOC
- add marble testing package and tests
- demonstrate the "no beforeEach()" test coding style
- add section on Http service testing
- prepare for stackblitz
- confirm works in plunker except excluded marble test
- add tests for avoidFile class feature of CodeExampleComponent
PR Close #20697
2018-02-26 13:40:23 -08:00
Pete Bacon Darwin
1f599818bd
build(aio): fix rendering of callable and constructable interface members ( #22428 )
...
Closes #22136
PR Close #22428
2018-02-26 13:35:15 -08:00
Pete Bacon Darwin
5a32d7e36f
build(aio): render default value for optional parameters ( #22435 )
...
Closes #22134
PR Close #22435
2018-02-26 13:34:38 -08:00
Pete Bacon Darwin
1ea41d48d3
build(aio): render whether parameters are optional ( #22435 )
...
Closes #22134
PR Close #22435
2018-02-26 13:34:38 -08:00
Pete Bacon Darwin
25a43041d2
build(aio): group API members by type in overview ( #22438 )
...
Now the overview groups the members in the following order:
* static properties
* static methods
* constructor
* instance properties
* instance members
Closes #22132
PR Close #22438
2018-02-26 13:34:04 -08:00
Jamie Krug
c593d69ce7
docs(aio): fix doc typo referring to `httpOptions` ( #22456 )
...
The variable name mention should match the actual tutorial code.
PR Close #22456
2018-02-26 13:32:44 -08:00
hariharanjv
1dcbc12fd3
docs(aio): Essential JS 2 url updated ( #19739 )
...
PR Close #19739
2018-02-23 11:18:11 -08:00
ROOT\hariharanjv
ae2e85e8ef
docs(aio): Essential JS 2 UI Components. ( #19739 )
...
PR Close #19739
2018-02-23 11:18:11 -08:00
Matias Niemelä
b2f366b3b7
fix(animations): only use the WA-polyfill alongside AnimationBuilder ( #22143 )
...
This patch removes the need to include the Web Animations API Polyfill
(web-animations-js) as a dependency. Angular will now fallback to using
CSS Keyframes in the event that `element.animate` is no longer supported
by the browser.
In the event that an application does use `AnimationBuilder` then the
web-animations-js polyfill is required to enable programmatic,
position-based access to an animation.
Closes #17496
PR Close #22143
2018-02-22 16:07:53 -08:00
Kapunahele Wong
9eecb0b27f
docs: fix deployment sample path ( #22048 )
...
PR Close #22048
2018-02-22 13:40:57 -08:00
Kapunahele Wong
022ad4a420
docs: fix ngmodules-jsmodules pre-req ( #22316 )
...
closes #22157
PR Close #22316
2018-02-22 11:20:47 -08:00
Kapunahele Wong
a4f9e8180b
docs: edit styleguide recommendation on components as elements ( #22074 )
...
Change recommendation on using attributes for components since there are use cases including the use of <button mat-button> in MD
Closes #19401 .
PR Close #22074
2018-02-22 11:20:21 -08:00
Marco Alvarado
b42921bbd2
docs(aio): updates directive event hooks real capabilities ( #16654 )
...
Minor documentation update to include event hooks that were assumed to only work on components.
Closes angular/angular#10221
PR Close #16654
2018-02-21 14:51:04 -08:00
zhilich
722dec11b0
docs(aio): Wrong code example. Form status field was added later in the guide. ( #21275 )
...
PR Close #21275
2018-02-21 11:06:47 -08:00
Kapunahele Wong
1c1cbba04b
docs: add ngStyle to cheat sheet ( #22070 )
...
PR Close #22070
2018-02-20 16:08:15 -08:00
Ro Savage
3b692a55a7
docs(aio): fix incorrect quote mark usage ( #22335 )
...
PR Close #22335
2018-02-20 15:42:55 -08:00
Oussama Ben Brahim
69a0578e00
docs(aio): fix the css of the heroes component's buttons ( #22333 )
...
Fixes #22222
PR Close #22333
2018-02-20 15:41:56 -08:00
Pascal Zwick
b5ca275590
docs(aio): Fix name of component ( #22332 )
...
PR Close #22332
2018-02-20 15:41:35 -08:00
Stephen Fluin
519f022b02
docs(aio): update installed mobile tool list ( #22331 )
...
PR Close #22331
2018-02-20 15:41:15 -08:00
Jeff Cross
f6120c09e7
docs(aio): add Nx and Angular Enterprise Playbook to resources ( #22321 )
...
PR Close #22321
2018-02-20 10:09:33 -08:00
Johannes Hoppe
28b23f954c
docs(aio): add angular-buch to resources ( #22163 )
...
adds a link to the website of our book. second version of the text. thanks!
PR Close #22163
2018-02-18 15:12:13 -08:00
Johannes Hoppe
ad17e5e791
docs(aio): add angular-buch to resources ( #22163 )
...
adds a link to the website of our book. many thanks for reviewing this
PR Close #22163
2018-02-18 15:12:13 -08:00
George Kalpakas
4ec40c6ab2
fix(aio): improve announcement-bar layout with wide logos ( #22272 )
...
PR Close #22272
2018-02-18 13:16:30 -08:00
Joe Eames
80d424798e
docs(aio): added ngconf announcement ( #22272 )
...
PR Close #22272
2018-02-18 13:16:30 -08:00
George Kalpakas
978f97cc59
test(aio): increase `docs-test` timeouts to prevent flakes on Travis ( #22261 )
...
PR Close #22261
2018-02-16 14:46:23 -08:00
Oussama Ben Brahim
f1a063298e
feat(core): set preserveWhitespaces to false by default ( #22046 )
...
Fixes #22027
PR Close #22046
2018-02-16 09:06:14 -08:00
Stefanie Fluin
7078fbffb4
fix(aio): improve printing styles ( #19651 )
...
printfix
PR Close #19651
2018-02-15 09:52:32 -08:00
Matias Niemelä
ba9cd5bbc4
Revert "fix(aio): improve printing styles ( #19651 )"
...
This reverts commit b54ad053f9
.
2018-02-14 22:55:24 -05:00
Stefanie Fluin
b54ad053f9
fix(aio): improve printing styles ( #19651 )
...
printfix
PR Close #19651
2018-02-14 18:49:58 -05:00
Pat
f4697f351e
docs: typo - components should be possessive ( #22172 )
...
PR Close #22172
2018-02-14 15:06:52 -05:00
Kapunahele Wong
3a0b5a928c
docs(aio): fix extraneous divs ( #22069 )
...
PR Close #22069
2018-02-14 15:02:36 -05:00
Oussama Ben Brahim
eb48750705
docs(aio): fix typo in "preserveWhitespaces" example ( #22182 )
...
Fixes #22147
PR Close #22182
2018-02-12 15:57:42 -08:00
mgmarlow
7f9b1b78f6
docs(aio): add angular-playground to resources ( #22042 )
...
PR Close #22042
2018-02-12 14:30:58 -08:00
Johannes Hoppe
1e9484673d
docs(aio): add angular.schule to resources ( #22164 )
...
adds a link to our website. many thanks for reviewing this
PR Close #22164
2018-02-12 10:01:23 -08:00
Suguru Inatomi
88bec238ac
fix(aio): remove broken span closing tag ( #22146 )
...
PR Close #22146
2018-02-12 10:01:10 -08:00
yerkebulan
a57df4ee20
docs(aio): put structural directives back in the nav ( #21856 )
...
PR Close #21856
2018-02-12 10:00:14 -08:00
Pete Bacon Darwin
5fc77c90cb
fix(aio): do not rewrite /styleguide URL in Service Worker ( #22085 )
...
This URL needs to be redirected via the server, so
we must exclude it from being rewitten.
Closes #22078
PR Close #22085
2018-02-09 13:10:35 -08:00
Mikhail Burshteyn
c3484450b8
docs: fix typo in http.md ( #22058 )
...
PR Close #22058
2018-02-09 13:10:23 -08:00
Pete Bacon Darwin
fbef94a8ee
feat(aio): enable data driven homepage announcements ( #22043 )
...
PR Close #22043
2018-02-09 13:10:11 -08:00
Pete Bacon Darwin
7007f51c35
feat(aio): first pass API docs redesign ( #21874 )
...
Includes:
* display ToC for API docs
* update dgeni-packages to 0.24.1
* add floating sidebar in API docs
* add breadcrumbs and structured data for Google crawler
* improved rendering of method overloads
* properties rendered in a table
* params rendered with docs
* removal of outdated "infobox" from all API docs
PR Close #21874
2018-02-09 13:05:16 -08:00
Trotyl
bc1e22922a
docs(aio): several fix for ngmodule guides ( #21517 )
...
PR Close #21517
2018-02-09 13:03:47 -08:00
Pete Bacon Darwin
67cf7128ae
docs(aio): remove ngATL banner from homepage ( #22060 )
...
Closes #22029
PR Close #22060
2018-02-07 16:10:17 -08:00
Kapunahele Wong
83d43ac850
docs(aio): remove lifecycle hooks img ( #21425 )
...
PR Close #21425
2018-02-07 16:09:44 -08:00
Jesus Rodriguez
cd25939be9
build(aio): update examples to CLI to 1.6.5 ( #21222 )
...
PR Close #21222
2018-02-07 16:09:26 -08:00
Pete Bacon Darwin
7a406a3896
feat(aio): report `logger.error` calls to Google Analytics ( #22011 )
...
We have a number of observables that have `catch` handlers to recover
from errors without causing the stream to close, and breaking the app.
We also have some `try ... catch` blocks for synchronous code for a
similar reason.
In these cases we conventionally then call `logger.error` in the catch
handler. We are interested in these errors so we are going to capture them
by reporting them to Google Analytics via the new `ReportingErrorHandler`.
PR Close #22011
2018-02-07 12:09:38 -08:00
Pete Bacon Darwin
98001a065d
feat(aio): report application errors to Google Analytics ( #22011 )
...
This is a basic implementation of error logging using the limited
facilities provided by Google Analytics.
Errors within the Angular app itself will be handled by a new
`ReportingErrorHandler` service, which overrides and extends the
built-in `ErrorHandler`.
Further, errors outside the app, which arrive at `window.onerror`
will also be reported to Google Analytics.
Closes #21943
PR Close #22011
2018-02-07 12:09:38 -08:00
Chuck Jazdzewski
b37cee36f9
fix(language-service): correct instructions to install the language service ( #22000 )
...
Fixes : #21956
PR Close #22000
2018-02-07 12:09:00 -08:00
George Kalpakas
7e95802cc1
fix(aio): ignore `.header-link` when selecting the heading text ( #21695 )
...
Implemented @maxkorz's
[suggestion](https://github.com/angular/angular/issues/21515#issuecomment-357453634 ).
Fixes #21515
PR Close #21695
2018-02-07 12:06:45 -08:00
George Kalpakas
e3e7044d06
fix(aio): prevent heading misplacement while styles load ( #21695 )
...
During the initial load of the page (probably until the icon styles are
loaded and/or applied), the `.header-link` element is wider, pushing the
heading text slightly to the right (for a brief moment).
This commit prevents this slight shift by explicitly setting the width
for the `.header-link` element.
PR Close #21695
2018-02-07 12:06:45 -08:00