Zhicheng Wang
73e4efa80d
fix: header 的拆解
2018-03-06 17:08:10 +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
80e318584a
feat: 批量翻译目录下的所有 markdown 文件
2018-03-03 12:00: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
Zhicheng Wang
40bd48bb2a
refactor: move to tools/translator
2018-03-01 22:35:54 +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
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
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
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
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
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
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
71ea931df5
build(aio): blacklist unwanted URLs from the generated sitemap.xml ( #22061 )
...
Closes #22017
PR Close #22061
2018-02-07 12:02:01 -08:00
Pete Bacon Darwin
9a0700f5bd
build(aio): add API static members to search index ( #21988 )
...
Previously searching for `compose` did not include `Validators`
in the search results because we were not including all the
`static` members of API docs in the index.
PR Close #21988
2018-02-05 13:00:47 -08:00
Pete Bacon Darwin
bf29936af9
build(aio): test Firebase hosting redirection configuration ( #21763 )
...
PR Close #21763
2018-02-02 07:52:30 -08:00
Ward Bell
7a20691f13
docs: add http guide sample and adjust text ( #21326 )
...
PR Close #21326
2018-01-31 10:24:43 -08:00
Pete Bacon Darwin
c83c4168ca
build(aio): upgrade to dgeni-packages 0.24.0 ( #21802 )
...
This has two benefits:
* it prepares the way for the API docs update, which need parameter docs
* it doesn't incorrectly report dangling links for non-latin anchors
Closes #21306
PR Close #21802
2018-01-31 10:20:37 -08:00
Pete Bacon Darwin
d6d8fe829a
build(aio): upgrade CLI version to cope with new Angular 6.0.0-beta.1 release ( #21772 )
...
Before version 1.6 of Angular CLI there was a check that prevented use of Angular
compiler CLI with major version 6.
PR Close #21772
2018-01-25 13:38:12 -08:00
Miško Hevery
bf5f50d9ee
Revert "build(aio): add tests for Firebase redirection ( #21712 )"
...
This reverts commit 01cef016ee81816bc3229863396924ae0dca3bdf.
2018-01-24 15:50:00 -08:00
George Kalpakas
d0e086a5fe
fix(aio): remove remaining plnkr
references ( #20165 )
...
PR Close #20165
2018-01-23 21:30:27 -08:00
George Kalpakas
15c2a93f14
build(aio): check for obsolete plnkr.json
and missing main
files ( #20165 )
...
Also, remove `plnkr.json` for `service-worker-getting-started` guide,
since it is not used and ServiceWorker cannot work correctly in
plnkr/stackblitz anyway (e.g. no build step to re-compute hashes).
A zipper might be useful and can be added in a subsequent PR, but it is
currently broken (e.g. no dependency on `@angular/service-worker`).
PR Close #20165
2018-01-23 21:30:27 -08:00
Ward Bell
8522546a8a
build(aio): upgrade sample package.json
files to jasmine@~2.8.0 ( #20165 )
...
- Update tooling to support revised testing guide (PR #20697 ).
- Require jasmine upgrade for examples that use marble testing.
- Copy `cli/package.json` to `testing/` and add `jasmine-marbles`.
- Resolve merge conflicts created by `NgModules` guides.
PR Close #20165
2018-01-23 21:30:27 -08:00
Jesus Rodriguez
1a75934cc0
build(aio): migrate plunker to stackblitz ( #20165 )
...
PR Close #20165
2018-01-23 21:30:27 -08:00
Pete Bacon Darwin
01cef016ee
build(aio): add tests for Firebase redirection ( #21712 )
...
PR Close #21712
2018-01-23 13:33:36 -08:00
Pete Bacon Darwin
a64af40c0b
build(aio): generate sitemap from the generated pages ( #21689 )
...
Closes #21684
PR Close #21689
2018-01-22 12:55:15 -08:00
George Kalpakas
8e8924ac7c
ci: use sudo: false
on Travis ( #21641 )
...
Related to #21422 .
PR Close #21641
2018-01-19 13:23:47 -08:00
George Kalpakas
b2e902deb4
fix(aio): fix code highlight in API docs templates ( #21630 )
...
Fixes #21108
PR Close #21630
2018-01-19 13:23:41 -08:00
George Kalpakas
d07760f5e3
build(aio): fix zips testing commands ( #21629 )
...
PR Close #21629
2018-01-18 18:21:59 -06:00
Pete Bacon Darwin
d6ba9f9fb4
build(aio): move file cleaning to later in the doc gen ( #21540 )
...
Previously the generated files were cleaned out before
doc-gen began (via a yarn pre-script). This can cause a
race condition in the CLI server, which prevents the new
generated files from being picked up.
Now we delay the cleaning until the last minute to ensure
that they ar still picked up by the webpack server.
PR Close #21540
2018-01-16 07:10:30 -08:00
Olivier Combe
7493b8ae10
build: upgrade yarn to 1.3.2 ( #21406 )
...
Fixes #20566
PR Close #21406
2018-01-10 12:32:26 -08:00
Peter Bacon Darwin
6cd4b1b41c
build(aio): add @nodoc
alias to the @internal
tag ( #21024 )
...
The `@internal` tag prevents code items from appearing in the docs and the
typings files. You can now use `@nodoc` if you only want it to be excluded
from the docs and not the typings files.
Closes #20990
PR Close #21024
2018-01-05 14:59:59 -05:00
Jesus Rodriguez
24df08efc7
build(aio): fix plunker for custom plunkers ( #21291 )
...
PR Close #21291
2018-01-05 14:55:19 -05:00
Siyao Li
2402224b4e
docs(common): update copyright years ( #21232 )
...
PR Close #21232
2018-01-04 17:45:36 -05:00
Peter Bacon Darwin
81823e89cd
build(aio): fix example protractor config for Travis ( #21309 )
...
Without setting the CHROME_BIN Travis will not use the correct version
of Chrome for running e2e tests.
Closes #20159
PR Close #21309
2018-01-04 17:09:56 -05:00
Jason Aden
a693c5614c
ci: add router/testing to public API guard
2017-12-19 10:45:33 -08:00