Zhicheng Wang
56d35ab8a1
docs: 添加丢失的依赖包
2018-10-22 18:53:51 +08:00
Zhicheng Wang
deeeaa9647
docs: 修正坏链
2018-10-22 18:47:41 +08:00
Zhicheng Wang
a9ac90d3df
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-components.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-next-steps.md
# aio/content/guide/architecture-services.md
# aio/content/guide/architecture.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/comparing-observables.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-pattern.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/elements.md
# aio/content/guide/feature-modules.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/i18n.md
# aio/content/guide/lazy-loading-ngmodules.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule-vs-jsmodule.md
# aio/content/guide/ngmodules.md
# aio/content/guide/npm-packages.md
# aio/content/guide/observables-in-angular.md
# aio/content/guide/observables.md
# aio/content/guide/pipes.md
# aio/content/guide/practical-observable-usage.md
# aio/content/guide/providers.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/security.md
# aio/content/guide/service-worker-communications.md
# aio/content/guide/service-worker-getting-started.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.md
# aio/content/guide/singleton-services.md
# aio/content/guide/structural-directives.md
# aio/content/guide/styleguide.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/guide/updating.md
# aio/content/guide/upgrade.md
# aio/content/guide/user-input.md
# aio/content/guide/visual-studio-2015.md
# aio/content/marketing/docs.md
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.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/ngsw-manifest.json
# aio/package.json
# aio/src/app/custom-elements/api/api-list.component.html
# aio/src/app/custom-elements/api/api-list.component.ts
# aio/src/index.html
# aio/tools/transforms/templates/api/base.template.html
# aio/tools/transforms/templates/api/class.template.html
# aio/tools/transforms/templates/api/directive.template.html
# aio/tools/transforms/templates/api/enum.template.html
# aio/tools/transforms/templates/api/includes/class-overview.html
# aio/tools/transforms/templates/api/includes/deprecation.html
# aio/tools/transforms/templates/api/includes/export-as.html
# aio/tools/transforms/templates/api/includes/info-bar.html
# aio/tools/transforms/templates/api/includes/interface-overview.html
# aio/tools/transforms/templates/api/includes/selectors.html
# aio/tools/transforms/templates/api/lib/directiveHelpers.html
# aio/tools/transforms/templates/api/lib/githubLinks.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/tools/transforms/templates/api/package.template.html
# aio/yarn.lock
# packages/common/http/src/module.ts
# packages/common/src/common_module.ts
# packages/common/src/directives/ng_for_of.ts
# packages/common/src/directives/ng_if.ts
# packages/common/src/directives/ng_template_outlet.ts
# packages/common/src/location/location.ts
# packages/common/src/pipes/async_pipe.ts
# packages/common/src/pipes/json_pipe.ts
# packages/common/src/pipes/number_pipe.ts
# packages/common/src/pipes/slice_pipe.ts
# packages/core/src/change_detection/change_detector_ref.ts
# packages/core/src/di/injectable.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/linker/view_container_ref.ts
# packages/core/src/metadata/di.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_providers.ts
# packages/forms/src/model.ts
# packages/forms/src/validators.ts
# packages/router/src/config.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/router_state.ts
2018-10-21 17:43:29 +08:00
Alan Agius
d557f1d9de
build(docs-infra): update git ref for cli command docs ( #26545 )
...
This is to get the latest changes done in https://github.com/angular/angular-cli/pull/12634
PR Close #26545
2018-10-18 09:54:00 -07:00
Alan Agius
65b209359a
build(docs-infra): update git ref for cli command docs ( #26497 )
...
Update for version 7 release
PR Close #26497
2018-10-17 11:24:19 -07:00
Pete Bacon Darwin
516515d9e3
build(docs-infra): do not add extra space after links in tables ( #26505 )
...
Closes #26487
PR Close #26505
2018-10-17 11:02:56 -07:00
George Kalpakas
327c614799
test(docs-infra): improve logging output in test-pwa-score[-localhost]
( #26459 )
...
PR Close #26459
2018-10-15 15:23:36 -07:00
George Kalpakas
1aa8cfbf74
build(docs-infra): upgrade lighthouse to 3.2.1 ( #26459 )
...
PR Close #26459
2018-10-15 15:23:36 -07:00
George Kalpakas
9e32dc7c95
build: upgrade @types/jasminewd2
to 2.0.4 ( #26139 )
...
This commit also removes the extra jasminewd2 typings, since the changes
have been merged in the official typings with
DefinitelyTyped/DefinitelyTyped#28957.
PR Close #26139
2018-10-12 14:11:11 -07:00
George Kalpakas
7fbeb04b7c
build(docs-infra): upgrade @angular/material to 7.0.0-rc.1 ( #26394 )
...
PR Close #26394
2018-10-12 08:55:15 -07:00
George Kalpakas
42ee50fc22
build(docs-infra): upgrade @angular/* to 7.0.0-rc.1 ( #26394 )
...
PR Close #26394
2018-10-12 08:55:15 -07:00
George Kalpakas
163b7c94a9
build(docs-infra): upgrade @angular/cli to 7.0.0-rc.2 ( #26394 )
...
PR Close #26394
2018-10-12 08:55:15 -07:00
George Kalpakas
e0e2038718
build(docs-infra): pin git ref for cli command docs ( #26391 )
...
The JSON files from which cli command docs for angular.io are generated
is broken on master (e.g. angular/cli-builds@e0ec86757 ), which cause foc
generation (and CI) to fail.
Pinning the git ref where we pull cli sources from to a version that is
known to be working (until we figure out what the best approach is)
PR Close #26391
2018-10-11 12:57:49 -07:00
George Kalpakas
9320ec0f43
build(docs-infra): upgrade Angular to 7.0.0-rc.0 and TypeScript to 3.1.1 ( #26202 )
...
PR Close #26202
2018-10-08 13:43:31 -07:00
George Kalpakas
5dd225cb43
build(docs-infra): upgrade webpack-cli to 3.1.2 ( #26202 )
...
This is necessary to avoid webpack/webpack#8082, when installing
dependencies without taking the lockfile into account (e.g. with
`yarn aio-use-local` - locally or on CI).
PR Close #26202
2018-10-08 13:43:31 -07:00
George Kalpakas
decc0b840d
ci(docs-infra): re-use env variable ( #26138 )
...
PR Close #26138
2018-10-08 12:01:02 -07:00
George Kalpakas
57de9fc41a
build(docs-infra): upgrade @angular/cli to 6.2.3 ( #26145 )
...
PR Close #26145
2018-10-01 09:35:49 -07:00
George Kalpakas
31034f5146
build(docs-infra): upgrade @angular/* to 7.0.0-beta.7 ( #26145 )
...
PR Close #26145
2018-10-01 09:35:48 -07:00
Ben Lesh
ffc6e199bf
build: RxJS updated to 6.3 ( #26087 )
...
PR Close #26087
2018-09-26 17:01:15 -07:00
Pete Bacon Darwin
f29b218060
feat(docs-infra): generate Angular CLI command reference ( #25363 )
...
PR Close #25363
2018-09-26 11:24:02 -07:00
Pete Bacon Darwin
39a67548ac
build(docs-infra): add option to run only the doc-gen ( #25363 )
...
This can save time when iterating by not
regenerating the zips and embedded examples.
PR Close #25363
2018-09-26 11:24:02 -07:00
Zhicheng Wang
5a3a30ccdb
chore: use html-minifier instead of manual minify
2018-09-23 22:42:13 +08:00
Pete Bacon Darwin
9931bd7576
build(docs-infra): do not include license comment in first API doc ( #26050 )
...
The default dgeni config is to concatenate leading comments in front of API items.
In the case that you have an API item that starts a file with no import statements,
the license comment at the top of the file was being added to the front of the
API item's comment. SInce the license comment includes the `@license` tag
and the API item's comment did not start with `@description` the content of
the API item's comment was being put inside the `@license` tag, and no
description was being extracted from the API item's comment.
This commit updates to a version of dgeni-packages that has a switch to turn off
this concatenation, and then also configures this switch.
Closes #26045
PR Close #26050
2018-09-21 10:25:41 -07:00
Zhicheng Wang
cf3c92e317
docs: 支持 API 列表的 SEO
2018-09-21 14:36:58 +08:00
Zhicheng Wang
e6f3b76ce7
chore: 做了一些简陋的 SSR 页面,对搜索引擎友好,而且基本不影响用户体验。
2018-09-20 14:45:44 +08:00
Sergej
8f0fcc3f71
feat(docs-infra): Add opensearch description ( #25479 )
...
Enables Chrome users to search angular.io and its subdomains from the browsers navigation bar.
Not sure if compatible with Firefox yet.
The queried term in the URL is removed after closing the search-results.
PR Close #25479
2018-09-19 15:31:49 -07:00
George Kalpakas
694b8ae779
build(docs-infra): ensure any stale generated content is deleted ( #25841 )
...
Since `aio/src/generated/` is git-ignored, it is easy for stale content
(e.g. removed images, examples, zips, etc.) to remain there on local
clones and then get copied into the `dist/` directory.
This commit ensures `aio/src/generated/` is cleaned up before generating
the new content.
PR Close #25841
2018-09-06 14:59:29 -07:00
Alex Eagle
34ec9244a6
build: update to Node 10 ( #25822 )
...
PR Close #25822
2018-09-06 14:58:30 -07:00
Rob Wormald
59aab14394
refactor(docs-infra): simplify custom-element polyfill setup ( #25806 )
...
PR Close #25806
2018-09-05 09:23:10 -07:00
Pete Bacon Darwin
c1ae3c16e8
build(docs-infra): ensure root node_modules exists ( #25811 )
...
Now that the doc-gen parses the imports of TS source
files we need to ensure that the root node_modules
exists. Otherwise running `yarn docs` produces an
obscure error:
```
Error: No SourceFile found with path node_modules/@types/jasmine/index.d.ts
```
Closes #25759
PR Close #25811
2018-09-05 09:22:46 -07:00
Zhicheng Wang
2dacd7f813
docs(API): 尝试对部分高频 API 进行翻译 - HttpClient
2018-08-30 12:22:02 +08:00
George Kalpakas
b3c56f021f
build(docs-infra): downgrade @angular-devkit/build-angular to 0.6.7 ( #19795 )
...
The is a bug in versions 0.6.8+ that breaks when trying to use Jasmine's
mock clock.
Related to angular/angular-cli#11626.
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
4d83a0a789
build(docs-infra): upgrade @angular/* to 6.1.0-rc.3 and rxjs to 6.2.2 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
2569fd4d75
build(docs-infra): upgrade @angular/cli to 6.1.0-rc.3 and @angular-devkit/build-angular to 0.7.0-rc.3 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
110ab2230b
build(docs-infra): upgrade @angular/material to 6.0.2 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
4a61cb3fab
build(docs-infra): upgrade @angular/* to 6.0.2 and rxjs to 6.1.0 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
4dc5afb5c6
build(docs-infra): upgrade @angular/cli to 6.0.3 ( #19795 )
...
PR Close #19795
2018-08-27 16:30:43 -04:00
George Kalpakas
8c2c6b5d1a
build(docs-infra): remove unused dependencies ( #19795 )
...
PR Close #19795
2018-08-27 16:30:42 -04:00
George Kalpakas
f71cce7f9b
build(docs-infra): remove the dependency on rxjs-compat
( #19795 )
...
PR Close #19795
2018-08-27 16:30:42 -04:00
Alex Rickabaugh
be24f9f0cb
feat(docs-infra): Convert AIO to use the new Service Worker 5.0.0. ( #19795 )
...
AIO is currently using a beta version of @angular/service-worker.
Since that was implemented, the SW has been rewritten and released
as part of Angular 5.0.0. This commit updates AIO to use the latest
implementation, with an appropriate configuration file that caches
the various AIO assets in useful ways.
PR Close #19795
2018-08-27 16:30:42 -04:00
George Kalpakas
3d41739021
fix(aio): show aio-themed 404 page for unknown resources ( #23188 )
...
Fixes #23179
PR Close #23188
2018-08-23 15:25:47 -04:00
Greg Magolan
abcc430310
build(aio): update dgeni-packages to 0.26.3 to fix reference types issue ( #25491 )
...
PR Close #25491
2018-08-16 13:46:43 -07:00
Pete Bacon Darwin
364459c576
ci(docs-infra): move AIO preview deployment to CircleCI
...
Now instead of pushing the AIO build artifacts to the preview server
from inside a Travis job, the artifacts are built and hosted on the
CircleCI infrastructure. The preview server will then pull these
down after being triggered by a CircleCI build webhook.
2018-08-16 10:26:11 +01:00
George Kalpakas
941d2cdaaf
test(aio): fix upgrade-phonecat examples e2e tests ( #24583 )
...
Closes #19625
PR Close #24583
2018-06-25 09:30:46 -07:00
Pete Bacon Darwin
3c1eb9413f
build(aio): update to latest dgeni-packages@0.26.2 ( #24000 )
...
This update allows us to autolink to methods and properties, which
means that we can change things like `{@link transition transition()}`
to just `transition()`.
PR Close #24000
2018-06-13 16:47:40 -07:00
Pete Bacon Darwin
d889f57ae2
build(aio): display types of API const docs correctly ( #23850 )
...
Previously these docs always displayed `any` as the type
of the const export. Now the type is computed correctly from
the declared type or initializer of the constant.
PR Close #23850
2018-05-11 16:44:50 -04:00
Filipe Silva
490e39a23f
build(aio): use Angular 6.0.0 ( #23687 )
...
PR Close #23687
2018-05-03 16:05:34 -07:00
Filipe Silva
33c1c1df36
build(aio): update to Angular CLI 6.0.0 ( #23687 )
...
PR Close #23687
2018-05-03 16:05:34 -07:00
Brandon Roberts
fd9d1888ce
build(aio): align stackblitz files with Angular CLI V6 ( #23521 )
...
Also cleans up legacy references to `.angular-cli.json`
PR Close #23521
2018-05-02 15:00:57 -07:00
George Kalpakas
4cb46ce10c
build(aio): add support for faster, unoptimized serve
( #23569 )
...
When running `yarn start` and `yarn serve-and-sync`, we are usually
more interested in faster re-build times than optimized builds. This was
also the behavior, before upgrading to @angular/cli@6 (fc5af69fb).
This commit introduces a new configuration (`fast`), which is used by
`yarn start` and `yarn serve-and-sync` to restore the faster,
unoptimized builds.
Other commands, such as `ng serve` and `ng e2e`, remain unchanged (using
slower, optimized builds).
PR Close #23569
2018-04-27 07:22:17 -07:00