5661 Commits

Author SHA1 Message Date
Zhicheng Wang
ef71ec77fe docs: 构建首页 2018-09-21 13:40:01 +08:00
Zhicheng Wang
6dee3bf0a7 docs: 移除 blog,把它独立 2018-09-21 11:22:21 +08:00
Zhicheng Wang
c0b01ff6f5 chore: 指向 material.angular.cn 2018-09-21 10:14:20 +08:00
Zhicheng Wang
747b86d792 chore: 修正 SEO 链接 2018-09-21 09:06:15 +08:00
George Kalpakas
48e73c1558 ci: only run aio_preview job on PR builds (#26030)
There can be no preview on non-PR builds, so there is no point in
running the job.

PR Close #26030
2018-09-20 09:32:44 -07:00
Zhicheng Wang
e6f3b76ce7 chore: 做了一些简陋的 SSR 页面,对搜索引擎友好,而且基本不影响用户体验。 2018-09-20 14:45:44 +08:00
Judy Bogart
41ac58ab7d docs: copy-edit (#25732)
PR Close #25732
2018-09-19 18:22:45 -07:00
Judy Bogart
f37cf52b4c docs: integrate material from cli wiki (#25732)
PR Close #25732
2018-09-19 18:22:45 -07:00
Pete Bacon Darwin
b94436d86c build(docs-infra): process and render ngmodule exports (#25734)
All directives and pipes must now be tagged with one ore more
public NgModule, from which they are exported.

If an item is exported transitively via a re-exported internal NgModule
then it may be that the item appears to be exported from more than
one public NgModule. For example, there are shared directives that
are exported in this way from `FormsModule` and `ReactiveFormsModule`.

The doc-gen will error and fail if a directive or pipe is not tagged correctly.

NgModule pages now list all the directives and pipes that are exported from it.
Directive and Pipe pages now list any NgModule from which they are exported.
Packages also now list any NgModules that are contained - previously they were
missed.

PR Close #25734
2018-09-19 16:18:24 -07:00
Pete Bacon Darwin
bc5cb8153e build(docs-infra): separate NgModules from Classes in API docs (#25734)
PR Close #25734
2018-09-19 16:18:24 -07:00
Pete Bacon Darwin
34b848ad51 build(docs-infra): remove unused info-bar API template (#25734)
PR Close #25734
2018-09-19 16:18:24 -07:00
Alan Agius
d7e5bbf2d0 feat(compiler-cli): add support to extend angularCompilerOptions (#22717)
`TypeScript` only supports merging and extending of `compilerOptions`. This is an implementation to support extending and inheriting of `angularCompilerOptions` from multiple files.

Closes: #22684

PR Close #22717
2018-09-19 16:17:28 -07:00
George Kalpakas
df5999a739 fix(docs-infra): configure Firebase to strip off the .html extension (#25999)
Firebase used to do it automatically (with `cleanUrls: true`), but it
stopped doing it unless the resulting URL corresponds to an existing
file (which is not always the case in angular.io; e.g. the resulting URL
might be matched by a new redirect rule).
This change in Firebase hosting behavior resulted in some URLs not being
correctly redirected (e.g. URLs to the archived v2 site, or `.html`
suffixed URLs from 3rd-party sites).

This commit fixes it, by configuring Firebase hosting to strip off the
`.html` extension and redirect (if no other redirect rule matched).

PR Close #25999
2018-09-19 16:08:06 -07: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
Vani
f91b0455c0 docs(animations): updated animation docs (#24206)
PR Close #24206
2018-09-19 10:37:31 -07:00
Kapunahele Wong
e8bab1349f docs: delete extra sentence (#25984)
PR Close #25984
2018-09-19 09:42:12 -07:00
Zhicheng Wang
c9e0e46f4d chore: 翻译遗漏的内容 2018-09-17 08:36:50 +08:00
Zhicheng Wang
fe5eef45ea chore: 发布脚本统一命名为 deploy-cn.sh 2018-09-16 06:44:26 +08:00
Zhicheng Wang
d8d60257f5 chore: 不再移除原有文件,以保持升级时的兼容性 2018-09-16 06:43:43 +08:00
Zhicheng Wang
9e94c2a119 docs: 样式微调 2018-09-15 08:13:04 +08:00
songjunting
8f81dba367 docs: fix typo in bootstrapping guide (#25939)
Fixes #25938

PR Close #25939
2018-09-14 16:38:18 -07:00
Kapunahele Wong
a09c3923db docs: delete old comments from example (#25931)
PR Close #25931
2018-09-13 15:33:33 -07:00
Zhicheng Wang
9ad4498655 docs: 添加 ng-zorro 链接 2018-09-13 13:10:28 +08:00
Alan Agius
379e8c5e19 docs: add disableTypeScriptVersionCheck documentation (#25537)
PR Close #25537
2018-09-11 12:25:55 -07:00
Zhicheng Wang
ad4a674b65 docs: 添加外部导航链接 2018-09-11 12:57:12 +08:00
Plamena Radneva
ed266daf2c docs(aio): add ng-sq-ui to resources (#25874)
PR Close #25874
2018-09-10 10:31:11 -07:00
Vani
89af5291de docs: move compiler options to last section of the page (#22353)
PR Close #22353
2018-09-10 10:30:00 -07:00
Zhicheng Wang
1150e9b6b7 docs(blog): 文字微调 2018-09-10 09:37:40 +08:00
Liad Idan
d6cd041cbd docs(service-worker): update http-server command (#25845)
PR Close #25845
2018-09-06 14:59:51 -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
George Kalpakas
152de20774 fix(docs-infra): re-enable SW offline mode (#25826)
This basically reverts #25692, since Firebase has fixed the issue with
`/index.html` redirection on their side.

PR Close #25826
2018-09-06 14:59:08 -07:00
Alex Eagle
34ec9244a6 build: update to Node 10 (#25822)
PR Close #25822
2018-09-06 14:58:30 -07:00
Zhicheng Wang
b72d3c5083 docs(API): 翻译完了动画部分 2018-09-06 08:17:12 +08:00
Frederik Schlemmer
1bc6f64eb5 docs: update event page (#25799)
docs: change reactiveconf event location
PR Close #25799
2018-09-05 11:37:02 -07:00
Maicon Wagner
397b047eff docs: fix showcase address truly-ui (#25757)
PR Close #25757
2018-09-05 11:36:39 -07:00
George Kalpakas
13b8399d0c test(docs-infra): fix double-slash in URL of aio_monitoring test (#25641)
As part of the tests run in the CircleCI `aio_monitoring` job, we need
to retrieve `sitemap.xml` from the site under test. Previously, the URL
used to retrieve that contained a double-slash (`//`). At some point,
Firebase (which is used for hosting the site) stopped normalizing
double-slashes to a single slash, causing the test to fail.

This commit fixes the problem by ensuring that the constructed URLs do
not contain double-slashes.

PR Close #25641
2018-09-05 09:37:55 -07:00
Pete Bacon Darwin
234661b3d6 feat(docs-infra): disable "status" selector in API list when displaying only packages (#25718)
Closes #25708

PR Close #25718
2018-09-05 09:28:28 -07:00
Pete Bacon Darwin
4a04ab8823 build(docs-infra): do not render internals in package API pages (#25723)
Closes #24493

PR Close #25723
2018-09-05 09:28:05 -07:00
Rob Wormald
25c1f331d6 refactor(docs-infra): bump polyfills payload limit (#25806)
PR Close #25806
2018-09-05 09:23:10 -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
8aba1f3d84 docs(API): 更新翻译状态 2018-09-05 10:48:55 +08:00
Zhicheng Wang
cf01a7f5d4 docs(API): 翻译完了 Renderer2 2018-09-05 10:48:08 +08:00
Zhicheng Wang
d589eef668 docs(API): 翻译完了 test/async 2018-09-05 10:10:50 +08:00
Zhicheng Wang
9e40bf8e63 docs(API): 翻译完了 ValidatorFn 2018-09-05 10:08:10 +08:00
Zhicheng Wang
badf927f37 docs(API): 翻译完了 NgSelectOption 2018-09-05 09:46:21 +08:00
Zhicheng Wang
7b2226516a docs(API): 翻译完了 SimpleChange 2018-09-05 09:22:22 +08:00
Zhicheng Wang
7c7733c3af docs(API): 翻译完了 PipeTransform 2018-09-05 09:15:35 +08:00
Stephen Fluin
2f1bc1aa1a docs: add pwa keyword to service worker page (#25725)
PR Close #25725
2018-09-04 12:09:54 -07:00
Jonathan Pool
bd0eb0d1d4 docs: correct misspellings and add missing punctuation in tutorial (#25676)
PR Close #25676
2018-09-04 12:08:52 -07:00