George Kalpakas
7c20bf8845
build(docs-infra): upgrade cli command docs sources to c91579a2e ( #28922 )
...
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](1631f7d62...c91579a2e
):
**Modified**
- help/build.json
**Removed**
- help/eject.json
Closes #28772
Closes #28795
Closes #28816
Closes #28859
Closes #28882
PR Close #28922
2019-02-22 09:52:50 -08:00
Daniel Ruf
1778bd3470
refactor: remove unused and duplicate CSS properties from styleguide examples ( #28252 )
...
PR Close #28252
2019-02-22 09:51:35 -08:00
Jeferson Duwe
cbfc1f238e
docs: fix ngSwitch example ( #28899 )
...
docs: fix ngSwitch example
remove the predix "app-" from the confuse emotion ngSwitchCase.
PR Close #28899
2019-02-22 08:54:00 -08:00
Igor Minar
599e2e22bc
feat(docs-infra): add meta[name]=Description to angular.io's index.html ( #28916 )
...
This change makes angular.io more user and SEO friendly according to web.dev.
See: https://web.dev/discoverable/write-descriptive-text
PR Close #28916
2019-02-21 23:27:26 -08:00
Igor Minar
2df2168c0a
fix(docs-infra): add [lang] attribute to index.html of angular.io ( #28916 )
...
It's the right thing to do, and improves accessiblity.
See: https://dequeuniversity.com/rules/axe/3.1/html-has-lang?application=lighthouse
PR Close #28916
2019-02-21 23:27:25 -08:00
Igor Minar
8043db570f
fix(docs-infra): set the default html title to 'Angular' ( #28916 )
...
This removes the annoying flicker while the app is loading.
Also: it's just Angular.
PR Close #28916
2019-02-21 23:27:25 -08:00
Igor Minar
de036d29e3
style(docs-infra): reformat using vscode html formatter ( #28916 )
...
Makes it easier to keep on editing and reformatting the file.
PR Close #28916
2019-02-21 23:27:25 -08:00
Zhicheng WANG
43aadf1873
fix: 修改菜单
2019-02-22 05:09:21 +08:00
Zhicheng WANG
baddb2eec9
fix: 翻译完了工作区配置
2019-02-22 05:04:06 +08:00
Kapunahele Wong
64e6aaa4f1
docs: edit resources description ( #28764 )
...
PR Close #28764
2019-02-21 12:34:05 -08:00
Zhicheng WANG
7c81861676
fix: 文字微调:工作空间 ==> 工作区
2019-02-22 03:52:36 +08:00
Zhicheng WANG
2b4662edeb
fix: "使用已发布的库" 翻译完毕
2019-02-22 03:30:55 +08:00
Zhicheng WANG
71005dbb37
fix: 文字细修:复本 ==> 副本
2019-02-22 02:49:52 +08:00
Zhicheng WANG
a820a61928
fix: 翻译完了 libraries overview
2019-02-22 02:49:17 +08:00
Zhicheng WANG
7e124bc7c3
fix: 翻译完了 creating-libraries
2019-02-22 00:47:58 +08:00
liyuanfeng
8759bc9a1a
修改错别字
...
应该是“单向数据绑定”,不是“单项”
2019-02-21 16:24:50 +08:00
George Kalpakas
04ae1251c7
fix(docs-infra): prevent extra space at the bottom of the page in Chrome ( #28864 )
...
The supposedly visually hidden `mat-icon` creates unnecessary space at
the bottom of the page (below the footer) in recent Chrome versions.
This didn't happen before and it still doesn't happen in other browsers
(Firefox, Edge, IE).
This commit fixes it by wrapping the icon in a visually hidden `div`
container, which doesn't have other styles (such as `mat-icon` does)
that could affect the layout of the page.
Fixes #28858
PR Close #28864
2019-02-20 09:20:37 -08:00
Sharon DiOrio
295a143ae0
docs: add Sharon DiOrio to contributors ( #28671 )
...
PR Close #28671
2019-02-19 16:15:00 -08:00
Juri Strumpflohner
ae16378ee7
docs: fix wrong filename in text ( #28832 )
...
This should be `ngsw.json` not `ngsw-config.json` as the latter is only the src file that gets then compiled into the `ngsw.json` and placed into the `dist` folder
PR Close #28832
2019-02-19 13:34:09 -08:00
Igor Minar
73b9cd75b9
style: reformat aio/content/marketing/contributors.json with clang-format ( #28500 )
...
without this change, it's difficult to edit this file for anyone who has IDE configured for angular/angular development.
PR Close #28500
2019-02-19 13:01:18 -08:00
sis0k0
71e64e93e6
docs: add Stanimira Vlaeva to contributors ( #28500 )
...
PR Close #28500
2019-02-19 13:01:18 -08:00
Trevor Karjanis
d8ae8993d8
docs(common): fix a typo in a debounce requests example header ( #28829 )
...
Remove the extra parenthesis from a debounce requests example.
There are no associated issues.
PR Close #28829
2019-02-19 12:59:20 -08:00
George Kalpakas
80c7aff5cc
build(docs-infra): improve caching configuration for Firebase hosting ( #28785 )
...
This will hopefully improve(/fix?) the errors discussed in #28114 .
See there for a more detailed discussion.
PR Close #28785
2019-02-19 12:38:50 -08:00
Amadou Sall
af8d58cb51
docs: capitalize karma ( #28775 )
...
PR Close #28775
2019-02-19 12:36:21 -08:00
Nikita Potapenko
9e82cebe5b
docs: clarify behavior of dependency injection at root injector ( #28753 )
...
PR Close #28753
2019-02-19 12:33:48 -08:00
Jamie R. Rytlewski
a17fd43fd5
docs: display the beginning label in interpolation guide example ( #28602 )
...
Updating the doc to add the beginning label.
I'm not sure if this was the way it was intended, but it looked strange with just an ending </label> tag.
PR Close #28602
2019-02-19 12:24:45 -08:00
Keilla Fernandes
0cc5804169
docs(aio): add Keilla Fernandes to GDE resources ( #28437 )
...
PR Close #28437
2019-02-19 11:24:14 -08:00
Sergej Grilborzer
980bb52d36
docs: warn that directives don't support namespaces ( #25855 )
...
PR Close #25855
2019-02-19 11:01:55 -08:00
Zhicheng WANG
bed7a6ca91
fix: 把《调查问卷》的填写链接在单独窗口打开
2019-02-17 22:05:10 +08:00
Zhicheng WANG
8714181b74
fix: 翻译《调查问卷》的填写链接
2019-02-17 22:01:51 +08:00
Zhicheng WANG
9057e36df5
fix: 同步翻译 #382
2019-02-17 21:16:39 +08:00
Marc Laval
3c7ce823a3
test(ivy): add root cause for failing component-styles docs e2e tests ( #28760 )
...
PR Close #28760
2019-02-16 21:00:08 -08:00
Marc Laval
1e6ed52cba
fix(docs-infra): all examples should get Ivy boilerplate ( #28757 )
...
PR Close #28757
2019-02-16 20:59:16 -08:00
Zhicheng WANG
5be0566951
fix: 修复合并错误和遗漏的翻译
2019-02-17 09:47:12 +08:00
Zhicheng WANG
73d7c58d5e
fix: 手动调整 navigation 合并,以消除编译错误
2019-02-17 01:06:44 +08:00
Zhicheng WANG
b035e68480
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# .travis.yml
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture.md
# aio/content/guide/build.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/deployment.md
# aio/content/guide/elements.md
# aio/content/guide/file-structure.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/pipes.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/service-worker-communications.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/singleton-services.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/universal.md
# aio/content/marketing/docs.md
# aio/content/marketing/features.html
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/layout/footer/footer.component.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/yarn.lock
# integration/cli-hello-world-ivy-minimal/src/polyfills.ts
# modules/benchmarks/e2e_test/largetable_perf.ts
# modules/benchmarks/e2e_test/largetable_spec.ts
# packages/animations/src/animation_metadata.ts
# packages/common/http/src/headers.ts
# packages/common/http/src/interceptor.ts
# packages/common/src/directives/ng_for_of.ts
# packages/common/src/directives/ng_if.ts
# packages/common/src/directives/ng_style.ts
# packages/common/src/directives/ng_switch.ts
# packages/core/src/change_detection/change_detection_util.ts
# packages/core/src/di/injectable.ts
# packages/core/src/interface/lifecycle_hooks.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/router/src/config.ts
# packages/router/src/directives/router_link.ts
2019-02-17 00:00:16 +08:00
Zhicheng WANG
a4fc5f8e37
fix: 并行渲染,提高效率
2019-02-15 07:12:41 +08:00
Zhicheng WANG
54c67e6294
fix: 改用 puppeteer 进行 prerender,放弃 `prerender` 库
2019-02-15 07:12:41 +08:00
Zhicheng WANG
f3e5f65fe1
fix: 精修翻译
2019-02-15 07:12:41 +08:00
Zhicheng WANG
9ccc6de90f
fix: 移除字典
2019-02-15 07:12:41 +08:00
Zhicheng WANG
9ec21f77fd
fix: 精修翻译
2019-02-15 07:12:41 +08:00
Zhicheng WANG
f50ff4ba43
fix: 精修翻译
2019-02-15 07:12:41 +08:00
Zhicheng WANG
0d11c7d06b
fix: 精修翻译
2019-02-15 07:12:40 +08:00
Zhicheng WANG
56a017a977
fix: 精修翻译
2019-02-15 07:12:40 +08:00
Zhicheng WANG
5aa7fbfe64
fix: 不再处理 span 和 a
2019-02-15 07:12:40 +08:00
Zhicheng WANG
421fc1a846
fix: 精修翻译
...
恢复一些过度省略的 "Angular"
Angular 模块恢复为 NgModule
2019-02-15 07:12:40 +08:00
Zhicheng WANG
b6e28828a7
fix: 为标题生成了错误的 ID
2019-02-15 07:12:40 +08:00
Zhicheng WANG
d79fb401e7
fix: 修复一些翻译错误
2019-02-15 07:12:39 +08:00
Zhicheng WANG
c63a778e26
fix: 修复一些翻译错误
2019-02-15 07:12:39 +08:00
Zhicheng WANG
1d6c1396fd
fix: 修复一些翻译错误
2019-02-15 07:12:39 +08:00
Zhicheng WANG
893161f7ab
fix: 升级翻译引擎,解决链接检查出错的问题
2019-02-15 07:12:39 +08:00
Zhicheng WANG
5a000c4204
fix: 升级翻译引擎,解决一些行内元素错配的问题
2019-02-15 07:12:39 +08:00
Zhicheng WANG
a9ccdd5b40
fix: 遗失的同步翻译
2019-02-15 07:12:39 +08:00
George Kalpakas
b41da03f00
build(docs-infra): upgrade cli command docs sources to 1631f7d62 ( #28727 )
...
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](ba5120d18...1631f7d62
):
**Modified**
- help/build.json
PR Close #28727
2019-02-14 19:22:53 +00:00
Marc Laval
3842dd6a6d
fix(ivy): OnChanges should support updating one Input among many ( #28693 )
...
PR Close #28693
2019-02-13 19:15:44 -08:00
Kapunahele Wong
5cafd44654
fix(docs-infra): fix filtering in run-example-e2e.js ( #28663 )
...
PR Close #28663
2019-02-13 12:04:51 -08:00
SebastienBtr
cb0a8b566f
docs(router): change slideInDownAnimation into slideInAnimation ( #28640 )
...
In the Routing & Navigation there is a typo - slideInDownAnimation, but it should be slideInAnimation
PR Close #28572
PR Close #28640
2019-02-13 12:03:45 -08:00
Judy Bogart
644e7a28d8
docs: add di-related api doc ( #27731 )
...
PR Close #27731
2019-02-13 11:57:37 -08:00
Marc Laval
f8b9e61469
test(ivy): enable more docs examples e2e tests ( #28688 )
...
PR Close #28688
2019-02-13 09:53:13 -08:00
George Kalpakas
2ca77da4ca
build(docs-infra): upgrade cli command docs sources to ba5120d18 ( #28629 )
...
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](e758c4174...ba5120d18
):
**Modified**
- help/e2e.json
PR Close #28629
2019-02-11 14:51:49 -08:00
Brandon
1e64f37257
fix(docs-infra): add progression files to exclude list for docs examples ( #28650 )
...
Also disables Http guide under Ivy tests with documented error
PR Close #28650
2019-02-11 13:26:39 -08:00
Brandon
99e3a04ea2
ci(docs-infra): test docs examples with Ivy ( #28463 )
...
PR Close #28463
2019-02-11 17:16:52 +00:00
Judy Bogart
570f735a2a
docs: clarify library types integration ( #28410 )
...
PR Close #28410
2019-02-11 17:13:44 +00:00
Brandon
9ec8aa5eb7
docs: re-enable E2E tests for Http guide ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
5f2ae784da
docs: run component-interaction and DI in JiT mode ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
0a95f8af9f
docs: add more files to be ignored during app compilation ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
531aa5f8db
docs: make method arguments optional in template syntax example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
bfee33edb9
docs: remove unused files in styleguide example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
1941d7c743
docs: ignore initial components for app compilation in router example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
21b5940abd
docs: ignore files from app compilation for ngmodule-faq example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
2852beaded
docs: make method arguments optional for event-binding example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
206a21704d
docs: ignore component for app compilation for displaying data example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
46e6363686
docs: add insert remove component to AppModule for animations example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
457e07ccb1
docs: make toggleImage arguments optional in AngularJS quick reference ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
05a14f8a8b
docs: make parent finder functions compatible with AoT ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
19f13b1ad4
docs: remove unused StringSafeDatePipe from AngularJS Quick Ref example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
d29f781685
docs: ignore progression filenames from compilation ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
0770978dfb
docs: enable E2E test for setup example ( #28592 )
...
This guide is not being shown publicly, and its test is currently being ignored.
Instead of deleting this test and guide, it may be repurposed in the future for a local development guide.
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
863dbeeb7c
docs: remove quickstart example and copy tsconfig.1.json into TS config guide ( #28592 )
...
This example has long been replaced by the cli-quickstart, but was never deleted.
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
425e0ee416
ci(docs-infra): run docs examples tests in production mode ( #28592 )
...
PR Close #28592
2019-02-11 17:09:23 +00:00
Nikita Potapenko
2c00cb8f0f
docs(core): fixed code snippets ( #28619 )
...
PR Close #28619
2019-02-08 09:27:23 -08:00
Nikita Potapenko
d91ea2c499
docs(core): fixed typo ( #28618 )
...
PR Close #28618
2019-02-08 09:19:39 -08:00
Sebastian Dorn
faf0b255d0
docs(aio): add Happy Angular Podcast to resources ( #28407 )
...
PR Close #28407
2019-02-07 21:57:07 -08:00
George Kalpakas
3de06dd794
build(docs-infra): use pinned dependencies when possible in `ng-packages-installer` ( #28510 )
...
Previously, `ng-packages-installer` would replace the version ranges for
all dependencies that were peer dependencies of an Angular package with
the version range used in the Angular package. This effectively meant
that the pinned version (from `yarn.lock`) for that dependency was
ignored (even if the pinned version satisfied the new version range).
This commit reduces non-determinism in CI jobs using the locally built
Angular packages by always using pinned versions of dependencies for
Angular package peer dependencies if possible.
For example, assuming the following versions for the RxJS dependency:
- **aio/package.json**: `rxjs: ^6.3.0`
- **aio/yarn.lock**: `rxjs@^6.3.0: 6.3.3`
- **@angular/core#peerDependencies**: `rxjs: ^6.0.0`
...the following versions would be used with `ng-packages-installer`:
- Before this commit:
- **aio/package.json**: `rxjs: ^6.0.0`
- **node_modules/rxjs/**: `6.4.0` (latest version satisfying `^6.0.0`)
- After this commit:
- **aio/package.json**: `rxjs: ^6.3.0`
- **node_modules/rxjs/**: `6.3.3` (because it satisfies `^6.0.0`)
PR Close #28510
2019-02-06 21:23:02 -08:00
George Kalpakas
9ce0c23c77
build(docs-infra): keep other dependencies pinned when installing local Angular packages ( #28510 )
...
`ng-packages-installer` can be used to replace Angular packages with
locally built ones (from `dist/packages-dist/`) along with their peer
dependencies.
Previously, in order to achieve this, `yarn install` was called with the
`--no-lockfile` option, which resulted in installing the latest versions
of all dependencies (including transitive ones) permitted by the
corresponding version ranges in `package.json` files. As a result, newly
released versions would be picked, resulting in unexpected,
non-deterministic breakages in CI.
This commit calls `yarn install` with the `--pure-lockfile` option
instead. As a result, only the Angular packages (for which the locally
built ones are used) and their peer dependencies are unpinned; the
pinned versions from `yarn.lock` are used for all other (direct and
transitive) dependencies.
While this does not eliminate non-determinism across builds, it
significantly reduces it.
PR Close #28510
2019-02-06 21:23:02 -08:00
George Kalpakas
08f55b35a5
perf(docs-infra): avoid unnecessary I/O operation in `ng-packages-installer` ( #28510 )
...
PR Close #28510
2019-02-06 21:23:02 -08:00
George Kalpakas
2b9811dad4
refactor(docs-infra): format `package.json` for readability in `ng-packages-installer` ( #28510 )
...
PR Close #28510
2019-02-06 21:23:02 -08:00
George Kalpakas
df74da02c6
build(docs-infra): remove unnecessary workaround for RxJS in `ng-packages-installer` ( #28510 )
...
Since b43f8bc7d
, RxJS does not need to be patched any more in the
top-level `node_modules/`, so we don't need to special-case RxJS in
`ng-package-installer` and use `node_modules/rxjs/`.
PR Close #28510
2019-02-06 21:23:02 -08:00
cexbrayat
851cf16134
docs(service-worker): note about isStable/setInterval ( #28102 )
...
The docs don't mention that the app will never be stable if a `setInterval` is running somewhere, and that it will prevent the servcie worker to be registered too.
PR Close #28102
2019-02-06 15:13:19 -05:00
Siyin Yang
5c4cbad735
docs: 请简述你的修改...
...
句子意思不是特别通顺。
2019-02-06 20:57:41 +08:00
Stephen Fluin
ed032e08c1
feat(aio): show developer survey 2019 ( #28552 )
...
PR Close #28552
2019-02-06 02:33:39 -05:00
WilliamKoza
eed59b713a
fix(docs-infra): avoid a race-condition with navigating forward/back and immediately reloading ( #28368 )
...
This can result in an inconsistent state
PR Close #28368
2019-02-05 23:44:56 -05:00
WilliamKoza
b2a6bf2a80
fix(docs-infra): remove the try catch in the test of the browser's capacities ( #28368 )
...
PR Close #28368
2019-02-05 23:44:56 -05:00
WilliamKoza
0709f8411d
feat(docs-infra): add debouncing in storing scroll position ( #28368 )
...
There is no debouncing when we store the scroll Position.
Currently, we have a message in the console after a while:
>Throttling history state changes to prevent the browser from hanging
see: https://bugs.chromium.org/p/chromium/issues/detail?id=786211 for more informations
PR Close #28368
2019-02-05 23:44:55 -05:00
Paul Gschwendtner
8d11627e6c
build: update yarn to v1.13.0 ( #28546 )
...
Currently our version of Yarn is installed through
the "circleci/node" docker image. This is problematic
because in order to be able to update Yarn, we always
need to update the docker image to a version that
comes with the desired Yarn version. Sometimes there
is no docker image with the desired latest Yarn version,
and therefore we cannot easily update the Yarn version.
Additionally updating the docker image also means that
we need to update our version of NodeJS, as well as the
version of `openssl` might have changed (meaning that
our encrypted credential files may not be decodable with
the new version of `openssl`)
PR Close #28546
2019-02-05 16:48:56 -05:00
LHearen
1e5012b2cc
docs: fix shadow variable in tutorial example ( #28499 )
...
PR Close #28499
2019-02-04 14:54:53 -05:00
WilliamKoza
3d522716c4
fix(docs-infra): remove polyfill web-animations since we use Angular > 6 and we don't use `AnimationBuilder` ( #28514 )
...
PR Close #28514
2019-02-04 14:54:25 -05:00
Filipe Silva
4dfcbc6afa
build(docs-infra): update terser version in lockfile ( #28512 )
...
See https://github.com/angular/angular-cli/issues/13582#issuecomment-460261055 .
PR Close #28512
2019-02-04 10:52:07 -05:00
George Kalpakas
72c36956de
ci: pin ChromeDriver to a version compatible with docker image's Chrome ( #28494 )
...
By default, `webdriver-manager update` will download the latest
ChromeDriver version, which might not be compatible with the Chrome
version included in the [docker image used on CI], causing CI failures.
Previously, we used to pin the ChromeDriver version on CI in
[ngcontainer's Dockerfile][2]. This was accidentally broken in #26691 ,
while moving from ngcontainer to default CircleCI docker images.
This commit fixes the issue by pinning ChromeDriver to a known
compatible version.
[1]: bfd48d156d/.circleci/config.yml (L16)
[2]: bfd48d156d/tools/ngcontainer/Dockerfile (L63)
PR Close #28494
2019-02-01 20:22:03 -05:00
George Kalpakas
814ee260f5
ci(docs-infra): reduce output verbosity to improve log readability ( #28494 )
...
PR Close #28494
2019-02-01 20:22:03 -05:00
George Kalpakas
bfd48d156d
build(docs-infra): upgrade cli command docs sources to e758c4174 ( #28466 )
...
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](fd4e960d6...e758c4174
):
**Modified**
- help/add.json
PR Close #28466
2019-02-01 15:51:40 -05:00
Jeremy Elbourn
ec6e7303dd
perf: pngcrush all pngs ( #28479 )
...
This is the result of running
```sh
find ./ -iname "*.png" -exec pngcrush -brute -ow -- {} \;
```
[Summary of size reductions](https://docs.google.com/spreadsheets/d/12Qgx7DfKabWw0PJza6ozC1kCHTofi6wyBLWGtwLW7G4/preview )
Last done in July, 2017 in #18243
PR Close #28479
2019-02-01 13:56:02 -05:00
BarryLiu1995
189a07b2e0
fix: correct a translation error in the 'Feature Modules' section
2019-02-01 11:06:22 +08:00
Jeff Cross
0eef958735
docs: add Jeff Cross to contributors ( #28432 )
...
PR Close #28432
2019-01-29 16:41:31 -08:00
jithil-kore
ad499628cb
docs: fix typo for Browserslist in build guide ( #28328 )
...
PR Close #28328
2019-01-29 16:35:26 -08:00
Matti Järvinen
24f5428187
docs: fix typo for Browserslist in file structure guide ( #28312 )
...
PR Close #28312
2019-01-29 16:33:18 -08:00
Nazar Nasirzada
a228d65412
docs: fix typo in lifecycle-hooks.md ( #28206 )
...
## PR Checklist
Please check if your PR fulfills the following requirements:
* [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit
* [ ] Tests for the changes have been added (for bug fixes / features)
* [x] Docs have been added / updated (for bug fixes / features)
## PR Type
What kind of change does this PR introduce?
* [ ] Bugfix
* [ ] Feature
* [ ] Code style update (formatting, local variables)
* [ ] Refactoring (no functional changes, no api changes)
* [ ] Build related changes
* [ ] CI related changes
* [x] Documentation content changes
* [ ] angular.io application / infrastructure changes
* [ ] Other... Please describe:
## What is the current behavior?
Issue Number: N/A
## What is the new behavior?
## Does this PR introduce a breaking change?
* [ ] Yes
* [x] No
## Other information
PR Close #28206
2019-01-29 16:32:02 -08:00
Janghyun Han
dc8e461303
docs: angular.kr link added ( #28113 )
...
PR Close #28113
2019-01-29 16:31:37 -08:00
onlyflix
41e68f7a7a
style: change to American English ( #27266 )
...
PR Close #27266
2019-01-29 16:30:25 -08:00
jithil-kore
ec414b432e
perf: yarn version upgrade ( #28360 )
...
PR Close #28360
2019-01-29 11:58:47 -08:00
WilliamKoza
b87bf39eb4
fix(docs-infra): add hamburger button to CLI COMMANDS section ( #28418 )
...
Currently, when we navigate in the `CLI COMMANDS` section, the "hamburger button" isn't present because the class css `folder-cli` is missing.
This PR add this class in order to show this button when we are in this section.
PR Close #28418
2019-01-29 11:48:33 -08:00
Alan Agius
d940b5541f
fix(docs-infra): boolean options default value is incorrect when it's undefined ( #27024 )
...
In the CLI when it's undefined it can mean `false`, or sometimes it will be overwritten by a runtime value.
PR Close #27024
2019-01-28 20:43:15 -08:00
Dhananjay Kumar
8e75a40735
docs(docs-infra): add ng-India to events list ( #28119 )
...
docs: add ng-India to events list
PR Close #28119
2019-01-28 20:18:51 -08:00
George Kalpakas
e98d508df2
ci(docs-infra): compile with Ivy ( #26947 )
...
Jira: FW-552
PR Close #26947
2019-01-28 14:01:13 -08:00
George Kalpakas
5639891e90
build(docs-infra): upgrade @angular/cli to 7.2.1 ( #26947 )
...
PR Close #26947
2019-01-28 14:01:13 -08:00
George Kalpakas
9d81bd39ca
refactor(docs-infra): get rid of `on` component input ( #26947 )
...
Compiling with Ivy doesn't seem to allow input names starting with `on`.
PR Close #26947
2019-01-28 14:01:12 -08:00
WilliamKoza
f7c551e16b
fix(docs-infra): upgrade codelyzer to 4.5.0 ( #28389 )
...
PR Close #28389
2019-01-28 11:51:56 -08:00
George Kalpakas
7496630a94
test(docs-infra): increase timeout for redirection tests more ( #28290 )
...
Occasionally, external URLs take even longer than the previously set 60s
to load, which causes CI flakes.
PR Close #28290
2019-01-25 12:51:36 -08:00
George Kalpakas
6e949f9e98
test(docs-infra): unregister the SW after each test ( #28290 )
...
This ensures that the SW is cleaned up, even in cases where
synchronization is disabled (and thus the clean-up inside `goTo()`
happens without waiting for Angular).
PR Close #28290
2019-01-25 12:51:36 -08:00
George Kalpakas
6ad1c47df8
test(docs-infra): unregister the SW after `waitForAngular()` ( #28290 )
...
This increases the chances that the clean-up will take place _after_ the
SW has been registered.
PR Close #28290
2019-01-25 12:51:36 -08:00
George Kalpakas
76144f156c
test(docs-infra): properly report errors if `page.init()` fails/rejects ( #28290 )
...
For asynchronous callbacks, this can be done either by calling
`done.fail()` or by returning the promise directly (without requesting a
`done` callback). (Using the latter, because it is shorter.)
PR Close #28290
2019-01-25 12:51:36 -08:00
WilliamKoza
e2c98fbe11
fix(docs-infra): change the key used to find out the cli section ( #28293 )
...
PR Close #28293
2019-01-24 15:41:44 -08:00
Carlos Schneider
02975e9166
docs(docs-infra): show top menu at 992px screen width ( #26418 )
...
Show top menu at 992px screen width. The JS expression was checking just for screen widths
strictly greater than 992px to show the menu, while the CSS media query was showing the hamburger
icon just for screen widths strictly smaller than 992px, so there was a gap of 1px that the user
could't navigate through the top menu.
closes #24324
PR Close #26418
2019-01-24 10:26:54 -08:00
WilliamKoza
3414316fc8
feat(docs-infra): saves the scroll position before the change of location ( #28037 )
...
Issue #27916 , #17308
PR Close #28037
2019-01-24 10:24:43 -08:00
George Kalpakas
67a41d8bff
fix(docs-infra): align property names to the top ( #28104 )
...
This looks better when the property descriptions span multiple lines;
especially when scrolling to a specific property (e.g.
[AbstractControl#status][1]).
[1]: https://next.angular.io/api/forms/AbstractControl#status
PR Close #28104
2019-01-24 10:24:03 -08:00
George Kalpakas
e50c5293fc
refactor(docs-infra): remove unused CSS style rule ( #28104 )
...
The `.properties-table` selector does not match any element and the
styles don't look relevant for the similarly named `.property-table`
class.
PR Close #28104
2019-01-24 10:24:03 -08:00
Dario Braun
056d35c97c
docs: fix typo and add parenthesis to method in HTTP tutorial ( #28289 )
...
Merge remote-tracking branch 'origin/TOH' into TOH
PR Close #28289
2019-01-24 10:23:25 -08:00
Daniel Ruf
583061d043
refactor: remove unused parameter in _main method invocation ( #28203 )
...
PR Close #28203
2019-01-23 10:58:38 -08:00
Kapunahele Wong
75074d009f
docs: rewrite event binding section and add example ( #26162 )
...
PR Close #26162
2019-01-22 11:31:41 -08:00
Giorgos Bamparopoulos
197676a6dd
docs: rename "internal" access modifier to "protected" ( #26627 )
...
PR Close #26627
2019-01-22 11:20:26 -08:00
Luiz Machado
1fb6731285
docs: fix crisis-detail milestone files ( #27025 )
...
Crisis Detail's template was being added two times and the component's TS none.
PR Close #27025
2019-01-22 11:19:51 -08:00
Hamza TEI
1df8be5573
docs: update link to post on redirects in router guide ( #27256 )
...
Change victor savkin's url post on redirects to:
http://vsavkin.tumblr.com/post/146722301646/angular-router-empty-paths-componentless-routes
PR Close #27256
2019-01-22 11:17:18 -08:00
ericksoen
6324ad45e7
docs: correct minor typo ( #27382 )
...
PR Close #27382
2019-01-22 10:19:05 -08:00
Stepan Suvorov
7439b46c5a
docs: fix explanation of Injectable decorator in architecture guide ( #27480 )
...
PR Close #27480
2019-01-22 10:18:05 -08:00
WilliamKoza
351ef2a6de
fix(docs-infra): removal of the use of the ChildNode.remove() method that it isn't supported by IE ( #28188 )
...
fixes #28177
PR Close #28188
2019-01-22 09:48:19 -08:00
Tomas Veras
6bd20e8b2f
docs: add missing type when handling errors in hero service. ( #28256 )
...
PR Close #28256
2019-01-22 09:43:43 -08:00
Kayce Basques
366a6bf192
docs: make the styles section less ambiguous ( #26092 )
...
PR Close #26092
2019-01-22 09:42:51 -08:00
WilliamKoza
5b08a880f7
style(docs-infra): Active tslint rule `semicolon` ( #28282 )
...
PR Close #28282
2019-01-22 09:38:44 -08:00
George Kalpakas
7db035842d
build(docs-infra): upgrade cli command docs sources to fd4e960d6 ( #28285 )
...
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](4ae713b5a...fd4e960d6
):
**Modified**
- help/generate.json
- help/new.json
Closes #28260
PR Close #28285
2019-01-22 09:38:12 -08:00
George Kalpakas
a0cdefb5fb
ci(docs-infra): do not automatically post preview comments on PRs for team ( #28211 )
...
Right now, we post such comments whenever a file has been touched that
could potentially have affected the docs. Since the API docs are built
from comments in the source code, almost all non-docs changes are
generating such preview comments, even though most of the time they are
irrelevant to the author and create unnecessary noise on the PR
(especially for actively worked-on PRs).
This commit removes the `team` GitHub team from the list of teams whose
members will automatically get preview comments.
(Adding the `aio: preview` label would still work on any PR.)
Jira: FW-967
PR Close #28211
2019-01-17 14:11:42 -08:00
Zhicheng WANG
a58c6a846d
fix: 增补翻译
2019-01-17 20:06:15 +08:00
Zhicheng WANG
eb1beddcdb
fix: 添加 ng-zorro-mobile 的链接
2019-01-17 20:06:15 +08:00
Zhicheng WANG
da1d1aefef
fix: 翻译默认 PR 文字
2019-01-17 20:06:15 +08:00
Zhicheng WANG
322397781b
fix: force change repo to angular-cn
2019-01-17 20:06:15 +08:00
Eriice
6c1b9d627c
Update toh-pt5.md
...
#fix
翻译优化
2019-01-17 10:40:54 +08:00
Eriice
4e0945459c
Update toh-pt5.md
...
#fix
删除误输入
2019-01-17 10:40:27 +08:00
Kapunahele Wong
8a08ff1571
docs: fix comments in services example ( #26194 )
...
PR Close #26194
2019-01-16 17:38:23 -08:00
WilliamKoza
50cf2ac6d8
fix(docs-infra): improve a11y ( #28086 )
...
Issue #27723
PR Close #28086
2019-01-16 17:37:45 -08:00
George Kalpakas
47665c9937
build(docs-infra): upgrade cli command docs sources to 4ae713b5a ( #28175 )
...
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](71e72ecdb...4ae713b5a
):
**Modified**
- help/build.json
- help/generate.json
PR Close #28175
2019-01-16 09:46:03 -08:00
Eriice
2d83508e82
fix
...
完善翻译
2019-01-16 20:07:29 +08:00
krzysztof-grzybek
cfb41452ce
docs: update testing doc example style for HostListener ( #26372 )
...
HostListener is preferred over host metadata by official style guide
PR Close #26372
2019-01-14 17:04:46 -08:00
Malgosia
857fcfe048
docs: ng config link fix ( #28115 )
...
Fixed 'ng config' link to lead to proper CLI command site
PR Close #28115
2019-01-14 10:47:05 -08:00
George Kalpakas
60fb27c4ab
build(docs-infra): upgrade cli command docs sources to 71e72ecdb ( #28100 )
...
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](02d2ec250...71e72ecdb
):
**Modified**
- help/generate.json
- help/new.json
PR Close #28100
2019-01-14 10:46:23 -08:00
WilliamKoza
4c0104c846
fix(docs-infra): Add crossed through styling ( #28111 )
...
PR Close #28111
2019-01-14 10:45:46 -08:00
WilliamKoza
72f2428cd8
fix(docs-infra): change style of `deprecated` markers ( #28111 )
...
PR Close #28111
2019-01-14 10:45:46 -08:00
WilliamKoza
d577b8df75
fix(docs-infra): render `deprecated` markers for CLI command options ( #28111 )
...
fixes #27563
fixes #27423
PR Close #28111
2019-01-14 10:45:46 -08:00
javatutorials2016
2c9f0139a3
docs: fix typo in singleton services guide ( #27948 )
...
PR Close #27948
2019-01-14 10:41:30 -08:00
Shivam_Vyas
1ec01d6758
docs: change in(what should I import? answer) NgModule FAQs ( #27677 )
...
I think only should be after BrowserModule , because we can import more than BrowserModule and I think we need to import other modules to AppModule in most of cases and we should import BrowserModule only in AppModule,so that thing seems okay.
PR Close #27677
2019-01-14 10:39:03 -08:00
Ashinze Ekene
4bb5f638bc
docs: fix typo in dependency injection guide ( #27616 )
...
~~`HeroService` must provided in some parent injector~~
*`HeroService` must be provided in some parent injector*
PR Close #27616
2019-01-14 10:38:05 -08:00
Brad Brandhorst
0897ebac9e
docs: fix typo in docs.md ( #27484 )
...
Added a period to the end of the last sentence in the first paragraph
PR Close #27484
2019-01-14 10:37:21 -08:00
coultonluke
d6aca79410
docs: updates to minor spelling mistakes in pipes guide ( #27208 )
...
PR Close #27208
2019-01-14 10:34:17 -08:00
Brandon Roberts
e4c899e4ba
docs: add browser polyfills for IE11 with hash-based routing ( #27135 )
...
Closes #26511
PR Close #27135
2019-01-14 10:33:23 -08:00
Sasidhar Vanga
5e6e96d844
docs: fix GitHub pages deployment command ( #26896 )
...
closes #26803
PR Close #26896
2019-01-14 10:32:31 -08:00
Steve Dignan
9c2f6d72d6
docs: minor wording change in code example comment ( #26835 )
...
PR Close #26835
2019-01-14 10:31:23 -08:00
Courtney Pattison
638375b7ca
docs: fix typo in testing guide ( #26828 )
...
PR Close #26828
2019-01-14 10:30:33 -08:00
cyraid
c5b67b95b7
docs: update link in universal guide ( #26628 )
...
Link to the document "53 percent of mobile site visits" was changed, updated link. Old link led to a page that didn't have the statistics on it.
PR Close #26628
2019-01-14 10:12:52 -08:00
Alan Agius
78bc21c63a
docs: fix scripts section and some minor issues in universal documentation ( #26444 )
...
PR Close #26444
2019-01-14 10:11:08 -08:00
George Kalpakas
48a03fcc80
test(docs-infra): increase timeout for all redirection tests ( #28103 )
...
Occasionally, URLs take longer to load, which causes CI flakes.
In #27903 , the timeout for external URLs was increased, but internal
URLs turned out to be affected as well.
PR Close #28103
2019-01-14 10:04:58 -08:00
Judy Bogart
e082fc24b2
docs: add library doc to guides in aio ( #27581 )
...
PR Close #27581
2019-01-11 16:22:19 -08:00
Pete Bacon Darwin
cd51775390
build(docs-infra): render `@see` information in members ( #28069 )
...
Previously `@see` tags were only rendered for top level class-like
docs. Now these tags are rendered for methods and properties too.
PR Close #28069
2019-01-11 14:35:23 -08:00
George Kalpakas
8c3f98fdbb
docs(service-worker): fix example of manually checking for updates ( #28020 )
...
Poll for updates in a way that does not prevent the SW from being
registered. Discussed in https://github.com/angular/angular/pull/27332#pullrequestreview-179504620 .
PR Close #28020
2019-01-11 11:17:18 -08:00
George Kalpakas
89a39bb22a
style(service-worker): fix code formatting in `service-worker-getting-started` example ( #28020 )
...
PR Close #28020
2019-01-11 11:17:18 -08:00
George Kalpakas
12f509c218
docs(service-worker): fix the `service-worker-getting-started` docs example ( #28020 )
...
Changes:
- Change the project type to `service-worker`, so that it gets
appropriate `package.json` (with `@angular/service-worker` dependency)
and `angular.json` (with `serviceWorker: true` in production config).
- Move `ngsw-config.json` to the correct directory.
- Specify custom test commands for aio's `yarn example-e2e` to also
verify that the ServiceWorker bits are set up correctly.
PR Close #28020
2019-01-11 11:17:18 -08:00
George Kalpakas
76104f395f
feat(docs-infra): add support for custom test commands in cli-based docs examples ( #28020 )
...
Previously, cli-based docs examples were tested using `yarn e2e ...`. In
some cases, it might make sense to run different or additional checks
for a docs example (when running `yarn example-e2e` in `aio/`).
Currently, the only option is to define a custom project type and
overwrite the `e2e` yarn script in `package.json`. Doing so (in addition
to being cumbersome and verbose) would also end up in the `.zip` archive
that users can download to run the example locally. This would be
confusing, if these custom tests are specific to our CI needs.
This commit adds support for defining a custom list of commands per
example. These commands (if specified) would be run instead of the
default `yarn e2e ...`, when testing the docs examples on CI (via
`yarn example-e2e`).
(This feature will be used to verify that the
`service-worker-getting-started` example is set up correctly in a
subsequent commit, but can be useful in other cases as well.)
PR Close #28020
2019-01-11 11:17:18 -08:00
George Kalpakas
18ccfc6d73
feat(docs-infra): add `service-worker` project type ( #28020 )
...
File overwrites:
- **angular.json**: Add `serviceWorker: true` to production config.
- **package.json**: Add `@angular/service-worker` to dependencies.
This will make any `service-worker` examples work out-of-the-box, when
downloading and running locally from the `.zip` archives.
PR Close #28020
2019-01-11 11:17:17 -08:00
Adam Plumer
a100472b5d
build: bump year ( #27880 )
...
PR Close #27880
2019-01-11 11:15:59 -08:00
Judy Bogart
a6f7fe394a
docs: add schematics terms to glossary ( #27862 )
...
PR Close #27862
2019-01-11 11:15:08 -08:00
Kapunahele Wong
d505468fb7
docs: re-write interpolation section and add example ( #25170 )
...
PR Close #25170
2019-01-11 11:12:44 -08:00
Runfan Zhou
b9b402747b
docs: 请简述你的修改...
...
Chinese translation is different from original text
2019-01-11 11:12:54 +08:00
Joseph Harrison-Lim
bccf8da35f
docs(router): fix misnamed path ( #27879 )
...
This change matches the routes found in the following code example
for auth.guard.ts as well as the login.component.1.ts in the "Add
the LoginComponent" section.
PR Close #27879
2019-01-10 17:06:05 -08:00
Mark Goho
acb2caced0
docs: fix typo ( #27865 )
...
PR Close #27865
2019-01-10 17:04:54 -08:00
Johannes Hoppe
96f4969a2b
docs: fix broken html for deployment.md ( #27851 )
...
without the closing quote the text and link are not displayed correctly
PR Close #27851
2019-01-10 17:03:54 -08:00
Echo Chan
8527cebff0
补充一个词
2019-01-10 15:34:44 +08:00
Echo Chan
58dd1d83b5
fix broken link
2019-01-10 15:34:19 +08:00
George Kalpakas
d0c3e252a3
docs: remove deprecated `fromPromise` from RxJS guide ( #28015 )
...
Follow-up to #27443 .
PR Close #28015
2019-01-09 15:37:52 -08:00
Michael De Wree
582395b8f5
docs: fix typo PageNotFoundCompponent ( #27799 )
...
closes : #27795
PR Close #27799
2019-01-09 12:42:39 -08:00
Paul Gschwendtner
c7d1890aaa
build: remove travisci leftovers ( #27979 )
...
PR Close #27979
2019-01-09 10:41:16 -08:00
WilliamKoza
c7346bfdba
fix(aio): Treating some deprecated ( #27981 )
...
PR Close #27981
2019-01-09 10:39:25 -08:00
George Kalpakas
5e7c71e51c
build(docs-infra): remove unnecessary script to workaround cli issue ( #28012 )
...
The cli issue has been fixed and we no longer need to work around it.
This is essentially reverting #23470 .
PR Close #28012
2019-01-09 10:29:43 -08:00
Andrew Crites
1de4031d9c
docs: use static zip function as an Observable creator. ( #26790 )
...
The existing example makes it seem like zip is a pipeable operator. It can be used this way, but I think that is for backwards compatibility. You can achieve the same functionality by using it as an Observable creator. I think this also makes the example clearer.
PR Close #26790
2019-01-08 17:16:45 -08:00
Zheng Kai
f6c91c5a5a
docs: update rxjs example and change fromPromise to from ( #27443 )
...
the first example at https://angular.io/guide/rx-library ,
https://github.com/ReactiveX/rxjs-tslint/issues/7
PR Close #27443
2019-01-08 16:15:53 -08:00
Paul Gschwendtner
0199e26167
ci: remove travis ci setup ( #27937 )
...
we no longer need it... yay!!!
PR Close #27937
2019-01-07 15:35:09 -08:00
Enmanuel
e94e7eef4c
docs: add Alyle UI to resources ( #27954 )
...
PR Close #27954
2019-01-07 08:35:40 -08:00
Zhicheng WANG
dd5e3f9ff9
fix: change edit branch to aio
2019-01-06 20:32:17 +08:00
Zhicheng WANG
b01176cf80
fix: change repo url to angular-cn
2019-01-06 20:31:09 +08:00
Zhicheng WANG
73312fdafc
fix: 文字微调
2019-01-06 19:34:32 +08:00
Zhicheng WANG
9947285236
fix: 文字微调
2019-01-06 09:13:06 +08:00
Zhicheng WANG
e38f4dc583
fix: 文字微调
2019-01-06 08:52:09 +08:00
Zhicheng WANG
23b4d5acd0
fix: 成功时返回 0
2019-01-05 22:55:01 +08:00
Zhicheng WANG
9e203ce92a
fix: 换成基于 Prerender 库的 prerender 方式
2019-01-05 14:58:41 +08:00
Zhicheng WANG
171d949d10
fix: 准备换基于 Prerender 库的 prerender 方式
2019-01-05 08:40:10 +08:00
Zhicheng WANG
65c7a3ed99
fix: 补充翻译
2019-01-04 17:33:34 +08:00
Zhicheng WANG
5a4a7496a4
fix: 补充翻译
2019-01-04 16:06:55 +08:00
Zhicheng WANG
84fd1e2ee6
fix: rename `find-missing-translations` to `debug`
2019-01-04 15:53:37 +08:00
Zhicheng WANG
3e02cb65fc
fix: 翻译遗漏的内容
2019-01-04 15:43:45 +08:00
Zhicheng WANG
8957bbf209
fix: 翻译 CLI 模板
2019-01-04 14:39:52 +08:00
Zhicheng WANG
22e745af57
fix: 翻译 API 模板
2019-01-04 14:35:16 +08:00
Zhicheng WANG
9a86efc8ea
fix: 翻译 API 模板
2019-01-04 14:33:26 +08:00
Zhicheng WANG
b86481285a
fix: 翻译 API 模板
2019-01-04 14:06:54 +08:00
Zhicheng WANG
30a630b314
fix: 升级 @awesome-fe/translate
2019-01-04 13:34:04 +08:00
Zhicheng WANG
4c9e1a6a3d
fix: 为 Hn 添加 id,以便和英文锚点保持一致
2019-01-04 10:59:10 +08:00
Zhicheng WANG
b096317fde
fix: 合并错误
2019-01-04 10:17:44 +08:00
Zhicheng WANG
0a252806bc
fix: typo
2019-01-04 10:08:12 +08:00
Pete Bacon Darwin
880b4aabdb
fix(docs-infra): upgrade to latest dgeni-packages to fix linking problem ( #27864 )
...
This new version of dgeni-packages gives the main (implemented)
overload of a method the correct id and aliases, which allow it to be
automatically linked.
See 398f35da30
Fixes #27820
Closes #27821
PR Close #27864
2019-01-03 09:38:06 -08:00
Dario Braun
1dc95c41eb
docs: fix typo in TOH http section ( #26127 )
...
PR Close #26127
2019-01-03 09:32:28 -08:00
Alan Agius
a0a3648e7a
docs: add more info on what is being cached ( #27343 )
...
PR Close #27343
2019-01-03 09:29:44 -08:00
Ronen Gelman
7df9040c05
docs: add missing comma to environment config in build guide ( #27476 )
...
PR Close #27476
2019-01-03 09:29:17 -08:00
Mohammed Salman
5638c1d507
docs: fix npm description in architecture modules guide ( #27818 )
...
PR Close #27818
2019-01-03 09:28:45 -08:00
Alan
755c8091af
docs: improve description of bundle budgets ( #27833 )
...
PR Close #27833
2019-01-03 09:28:16 -08:00
Cyrille Tuzi
59f64dd361
docs(service-worker): update service worker configuration doc ( #27868 )
...
PR Close #27868
2019-01-03 09:27:30 -08:00
George Kalpakas
27431e0e1e
test(docs-infra): increase timeout for redirection to external URL ( #27903 )
...
Occasionally, external URLs take longer to load, which causes CI flakes.
PR Close #27903
2019-01-03 09:26:54 -08:00
Zhicheng WANG
293e049c3c
fix: upgrade to @awesome-fe/translate@0.0.13
2019-01-03 22:25:13 +08:00
Zhicheng WANG
178778222f
fix: 防止不同元素的对照文本混淆
2019-01-03 22:17:27 +08:00
Zhicheng WANG
eba5f6b738
fix: 尝试使用 travis 构建
2019-01-03 21:37:45 +08:00
Zhicheng WANG
2192a1a3cf
fix: 翻译遗漏的部分
2019-01-03 21:37:14 +08:00
Zhicheng WANG
0a5eb3a660
fix: 翻译遗漏的部分
2019-01-03 20:41:20 +08:00
Zhicheng WANG
7693339edd
fix: typo
2019-01-03 18:16:10 +08:00
Zhicheng WANG
25fd3c4625
fix: 翻译错误
2019-01-03 12:34:26 +08:00
Zhicheng WANG
feb2c7408f
fix: 合并错误
2019-01-03 12:33:33 +08:00
Zhicheng WANG
f6b39ac52e
fix: 修正编译环境错误
2019-01-02 18:13:10 +08:00
Zhicheng WANG
e6c232349f
fix: 合并错误 #366
2019-01-02 17:43:56 +08:00
Zhicheng WANG
5fd5fd0e45
fix: 修正用词
2019-01-02 15:18:38 +08:00
Zhicheng WANG
aea2cab619
fix: 改用子目录作为工作目录,/tmp 目录在 mac 下是大小写不敏感的
2019-01-02 13:17:29 +08:00
Zhicheng WANG
2403946833
fix: typo
2019-01-02 12:50:02 +08:00
Zhicheng WANG
4d0cbe2c7e
fix: update to @awesome-fe/translate@0.0.12
2019-01-02 12:42:23 +08:00
Zhicheng WANG
992afae2a7
fix: 修改构建脚本,避免重复克隆
2019-01-01 22:45:58 +08:00
Zhicheng WANG
864cd988e1
fix: 升级到 @awesome-fe/translate 新版,它改正了表格合并问题
2019-01-01 22:27:07 +08:00
Zhicheng WANG
49fd2eb76d
fix: 移除纯粹由空格组成的行,它会导致错误的 markdown 编译
2019-01-01 22:17:43 +08:00
Zhicheng WANG
b15f53133f
fix: invalid table translation
2019-01-01 22:14:09 +08:00
Zhicheng WANG
d33259520b
fix: don't swap when loading
2019-01-01 21:53:07 +08:00
Zhicheng WANG
1d65a38dcf
Revert "fix: move mark code to post-process-html step"
...
This reverts commit 0cb8d723
2019-01-01 19:16:14 +08:00
Zhicheng WANG
0cb8d723ac
fix: move mark code to post-process-html step
2019-01-01 16:16:02 +08:00
Zhicheng WANG
b64124f0c8
fix: unclosed `"`
2019-01-01 16:16:02 +08:00
Zhicheng WANG
73072a8f72
refactor: align table to new format
2019-01-01 16:16:02 +08:00
Zhicheng WANG
b018382e7d
refactor: use standalone library instead of translator.js
2019-01-01 16:16:02 +08:00
loyayz
968f6a2337
fix: 翻译错误
2019-01-01 10:39:31 +08:00
Zhicheng WANG
8744f17f5d
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/cli/index.md
# aio/content/file-not-found.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-services.md
# aio/content/guide/build.md
# aio/content/guide/deployment.md
# aio/content/guide/elements.md
# aio/content/guide/feature-modules.md
# aio/content/guide/file-structure.md
# aio/content/guide/forms-overview.md
# aio/content/guide/glossary.md
# aio/content/guide/i18n.md
# aio/content/guide/npm-packages.md
# aio/content/guide/releases.md
# aio/content/guide/router.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/testing.md
# aio/content/guide/upgrade-performance.md
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/custom-elements/api/api-list.component.ts
# aio/src/app/documents/document.service.ts
# aio/src/app/layout/top-menu/top-menu.component.ts
# aio/src/index.html
# aio/src/styles/2-modules/_api-pages.scss
# aio/tools/transforms/templates/api/base.template.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/tools/transforms/templates/cli/cli-container.template.html
# aio/tools/transforms/templates/lib/githubLinks.html
# aio/yarn.lock
# packages/animations/src/animation_metadata.ts
# packages/common/http/src/backend.ts
# packages/common/http/src/client.ts
# packages/common/http/src/headers.ts
# packages/common/http/src/interceptor.ts
# packages/common/http/src/module.ts
# packages/common/http/src/params.ts
# packages/common/http/src/request.ts
# packages/common/http/src/response.ts
# packages/common/src/common_module.ts
# packages/common/src/directives/ng_class.ts
# packages/common/src/directives/ng_style.ts
# packages/common/src/directives/ng_switch.ts
# packages/common/src/i18n/format_date.ts
# packages/common/src/pipes/number_pipe.ts
# packages/core/src/change_detection/change_detection_util.ts
# packages/core/src/change_detection/pipe_transform.ts
# packages/core/src/di/injectable.ts
# packages/core/src/linker/element_ref.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/lifecycle_hooks.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/directives/form_interface.ts
# packages/forms/src/directives/ng_form.ts
# packages/forms/src/directives/ng_model.ts
# packages/forms/src/directives/reactive_directives/form_control_name.ts
# packages/forms/src/directives/select_control_value_accessor.ts
# packages/forms/src/directives/validators.ts
# packages/forms/src/form_builder.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/forms/src/validators.ts
# packages/platform-browser/src/browser.ts
# packages/platform-browser/src/security/dom_sanitization_service.ts
# packages/router/src/config.ts
# packages/router/src/events.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/shared.ts
2018-12-29 16:04:37 +08:00
Nico Jansen
707c6828b5
docs(elements): add "Firefox" for support of custom elements ( #27789 )
...
Firefox now supports custom elements: https://caniuse.com/#feat=custom-elementsv1
PR Close #27789
2018-12-26 11:27:45 -08:00
Zhicheng WANG
8d96c43e45
fix: 解决英文没有隐藏的问题
2018-12-26 10:17:37 +08:00
Zhicheng WANG
8c76f3a45e
fix: 解决英文没有隐藏的问题
2018-12-26 10:05:53 +08:00
Zhicheng WANG
3e7ce34e85
fix: 解决英文没有隐藏的问题
2018-12-26 10:05:19 +08:00
Zhicheng WANG
760570c8ef
fix: 尝试解决英文没有隐藏的问题
2018-12-26 09:53:54 +08:00
Zhicheng WANG
57afc8bf19
feat: 增加日志
2018-12-26 09:51:33 +08:00
Zhicheng WANG
a1b74f25fa
fix: CLI 问题
2018-12-26 09:35:48 +08:00
Zhicheng WANG
06ec809923
fix: 修复一个文本
2018-12-26 08:45:13 +08:00
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