Commit Graph

1548 Commits

Author SHA1 Message Date
Rex 4edd6031f2 Merge branch 'master' of https://github.com/angular-live/angular.io 2016-05-13 14:09:18 +01:00
Rex 732680d331 first review of style-guide.jade is done. 2016-05-13 14:08:36 +01:00
Zhicheng Wang 274bfc1202 把“Cookbook”翻译成中文。
基础知识首页一审完毕。
2016-05-13 18:15:42 +08:00
Zhicheng Wang ac05451908 添加了支付宝支付。
添加了翻译进度。
2016-05-13 16:43:04 +08:00
Rex 129f62f68c adjustment to about.jade 2016-05-13 09:36:44 +01:00
Zhicheng Wang 1ba397bf1c 把属性型指令统一改为Attribute型指令 2016-05-13 15:54:34 +08:00
Zhicheng Wang 1afe12d0ad 增加误判的英文字符 2016-05-13 15:48:35 +08:00
Zhicheng Wang f9fe9094e4 增加误判的英文字符
重构名称
2016-05-13 15:37:56 +08:00
Zhicheng Wang 478ead7d4d 在本地预览模式下用红色虚线显示原文
其它环境直接显示中文
2016-05-13 15:16:55 +08:00
Zhicheng Wang 9dccc57409 解决格式化问题
重命名
2016-05-13 15:06:35 +08:00
Zhicheng Wang 74547be9e2 修改了翻译的一些小bug 2016-05-13 13:29:08 +08:00
Zhicheng Wang 3634128fff 初步实现了对照翻译功能:自动隐藏原文,并把原文的文本内容设置为译文的title 2016-05-13 13:02:01 +08:00
Ward Bell 9b27bfb61e docs(webpack): checkin missing snippets; .js->.ts
closes #1375
2016-05-12 18:18:21 -07:00
Eric Jimenez 024b680e68 fix(copy btn): remove overflow from button. Refactor styles out of inlines within directive 2016-05-12 17:49:33 -07:00
Eric Jimenez b5d2973163 feat(security badge): add a security badge to api docs. Only appears if @security is present in angular2 2016-05-12 17:48:54 -07:00
Foxandxss 96238bbfab docs(cb-webpack): add guide chapter about webpack 2016-05-12 17:22:14 -07:00
Zhimin(Rex) YE 9824aca0fe Merge branch 'master' of https://github.com/angular-live/angular.io 2016-05-12 20:33:44 +01:00
Zhimin(Rex) YE 88fdcd6a93 draft translation for style-guide.jade is completed. 2016-05-12 20:33:30 +01:00
Zhicheng Wang 5d92314efc 教程-路由 一审完毕 2016-05-12 22:56:12 +08:00
Zhicheng Wang 8beee32a65 教程-服务 一审完毕 2016-05-12 17:50:30 +08:00
Ferdinand Malcher aaa927bc43 docs(glossary): export in barrels
closes #1326
The example is about exports, so no imports here
2016-05-11 20:19:40 -07:00
Aristeidis Bampakos cc450ad6e8 docs(npm-packages): Fixed several typos 2016-05-11 20:07:40 -07:00
Eric Jimenez 54bbbad82d fix(homepage gap): remove margin top from features 2016-05-11 19:46:23 -07:00
Aristeidis Bampakos 6a1e6e3bf6 docs(hierarchical-dependency-injection): Fixed typo
closes #1345
Fixed typo with the word "possibility"
2016-05-11 19:33:17 -07:00
Aristeidis Bampakos 9f267ca80f docs(forms): Typo - missing space before "Now we can control"
closes #1343
2016-05-11 19:30:49 -07:00
Dmitri Suvorov 33745ec220 docs(tutorial): fix typo (slowy -> slowly)
closes #1332
2016-05-11 19:24:00 -07:00
Brian McDaniel 064936012f docs(component-styles): fix typo (withing -> within)
closes #1330
2016-05-11 19:22:31 -07:00
Oren Farhi 82a5bfc5bf docs(style-guide): added ng2 snippets for sublime text
closes #1328
2016-05-11 19:20:01 -07:00
Ferdinand Malcher 8b19a5622a docs(glossary): input decorator in same line
closes #1327
According to styleguide the @Input() decorator should be placed in the same line
2016-05-11 19:06:09 -07:00
blAck PR 5eb0dbc517 docs(style-guide): fix #1289 BAD FILENAME
closes #1290, #1289
Change structure to match style-04-06 as proposed by mrkiffie; fix double back slash
2016-05-11 18:58:21 -07:00
Gregor Woiwode f6f407275f References snippets for atom 2016-05-11 18:53:09 -07:00
Ferdinand Malcher 1674f10a00 docs(styleguide): typo "hightlight"
closes #1287
2016-05-11 18:50:39 -07:00
Ward Bell e99e9185ba docs(index.html) remove extra space in `System.import`line. 2016-05-11 18:42:31 -07:00
Ward Bell 19b50c82f6 docs(plunker): revise systemjs.config for plunker to load fewer files 2016-05-11 18:42:13 -07:00
Ward Bell 2e486cc046 docs(typings): add typings.d.ts for module.id and __moduleName; update docs
closes #1355 and #1312
2016-05-11 13:20:42 -07:00
Rex 55722de87a Merge branch 'master' of https://github.com/angular-live/angular.io 2016-05-11 17:04:34 +01:00
Rex 06e086b919 a bit more progress on style-guide.jade. 2016-05-11 17:04:21 +01:00
Zhicheng Wang 43799e7cc2 教程-多个组件一审完毕 2016-05-11 21:09:21 +08:00
Zhicheng Wang f413edce53 修订了教程-多个组件的一部分
部分“标记(tag)”批量替换为“标签”
2016-05-11 21:04:09 +08:00
Zhicheng Wang 15c927b29f “教程-主从结构”一审完毕
把内置批量替换为内建
2016-05-11 20:34:47 +08:00
Zhicheng Wang 0e6820dc0b “教程-英雄编辑器”一审完毕 2016-05-11 19:46:09 +08:00
Zhicheng Wang a870e4401b 部分“格式(form)”改为“形式” 2016-05-11 19:34:38 +08:00
Zhicheng Wang bca76787bb 部分监听改为监视 —— 监听只适用于listen的翻译 2016-05-11 19:30:44 +08:00
Zhicheng Wang 520e75d200 教程-简介 一审完毕 2016-05-11 19:25:40 +08:00
Zhicheng Wang 5c2d545bda 零散修改 2016-05-11 18:58:41 +08:00
Zhicheng Wang 27846fdd3e 零散修改 2016-05-11 17:34:37 +08:00
Zhicheng Wang 479a70d90d QuickStart一审完毕 2016-05-11 15:56:17 +08:00
Zhicheng Wang f397bf6608 把“Live Example 鲜活范例”统一译成“在线例子” 2016-05-11 14:47:32 +08:00
Zhicheng Wang 9b1544bb70 文字微调 2016-05-11 14:46:40 +08:00
Zhicheng Wang cb6889e8ab 文字微调 2016-05-11 13:55:07 +08:00
Zhicheng Wang 8bedf99dc2 文字微调 2016-05-11 13:41:01 +08:00
Zhicheng Wang 70e917b0d9 微调 2016-05-11 13:02:45 +08:00
Foxandxss c8bdbd5ea9 docs(toh): link to deprecated router
closes #1309
2016-05-10 21:56:19 -07:00
Ward Bell 19bf5f6689 docs(router-deprecated): fix example links that weren't to deprecated code
closes #1340
2016-05-10 21:40:09 -07:00
Foxandxss 14262e3b6a docs(router-deprecated): link doc to deprecated examples
closes #1291
2016-05-10 21:34:07 -07:00
Foxandxss 142ad5dd19 docs(quickstart): fix broken file-listings and reveal some systemjs when not verbose
Closes PRs #1304 and #1324 and issues #1303 and #1321
2016-05-10 21:17:49 -07:00
Kyle Roberts 45b5053fed docs(hierarchical DI): typos "it's" and add commas
closes #1288
2016-05-10 20:24:08 -07:00
Foxandxss 93a8925b10 docs(style-guide): update 10-01 for new router
closes #1281
2016-05-10 20:17:11 -07:00
Foxandxss ba3c0ab7a0 docs(quickstart): fix a numeric typo
closes #1279
2016-05-10 20:13:45 -07:00
Foxandxss 039f54d9e2 docs(server-communication): fix broken example 2016-05-10 20:10:18 -07:00
Jesse Palmer 82c2e6b634 docs(books): removes redundant link
closes #1237
2016-05-10 17:05:07 -07:00
rexebin 89f9ea146c Update question-control.service.ts
closes #1095
control value now will be initialized with 'question.value', regardless if the control has validation of 'required' or not.
2016-05-10 16:40:53 -07:00
Foxandxss 64babe2a69 docs(displaying-data): add table of contents 2016-05-10 16:22:38 -07:00
Zhimin(Rex) YE d5b69cab28 Merge branch 'master' of https://github.com/angular-live/angular.io
# Conflicts:
#	public/docs/ts/latest/guide/style-guide.jade
2016-05-10 23:07:57 +01:00
Zhimin(Rex) YE 713f100d6a bit more style-guide translation. 2016-05-10 23:05:05 +01:00
Patrice Chalin ef66e38e54 docs(dev guide): Update 'Component Styles' prose (#1320)
Reowork Ts prose and add Dart prose/code

+ Updates to docs and example code

(Starting point for Dart code was taken from #1171.)
2016-05-10 08:51:23 +01:00
Naomi Black 6d80a42bea chore(hero): remove the ng-conf banner post-event 2016-05-09 23:23:11 -07:00
Rahul 17769df8f5 Typo in all-resources.jade ng-lightning 2016-05-09 23:17:57 -07:00
Terry Moore II f3c83b0869 Rename fodlers to folders 2016-05-09 23:17:57 -07:00
Eric Jimenez 41677017ab docs(resources, home): adjust resources page. Remove https on rangle, fix typo on ng-lightning 2016-05-09 23:17:57 -07:00
Eric Jimenez c0f7818725 fix(docs landing): make docs landing responsive 2016-05-09 23:17:57 -07:00
Patrice Chalin f30d71a3cc docs(dev guide): cleanup of deprecated Jade mixin (#1322)
Replace uses of `liveExLinks` mixin and then deleted its definition.
2016-05-09 21:13:50 +01:00
Zhicheng Wang f0e75413c8 请看改成参见,更书面化。
修订了一些词汇。
2016-05-09 22:16:34 +08:00
Zhicheng Wang 65a3fdb9f3 修改Javascript大小写 2016-05-09 21:55:34 +08:00
Zhicheng Wang 99d89072d5 把所有误用的他改成它 2016-05-09 21:50:33 +08:00
Zhicheng Wang 72773b1f0f 修订了一部分术语 2016-05-09 21:40:37 +08:00
Zhicheng Wang a8d1775bf2 加上CC BY-NC链接 2016-05-09 20:08:23 +08:00
Zhicheng Wang 7247b30c98 添加遗漏的图片 2016-05-09 19:57:11 +08:00
Zhicheng Wang a2a0ff34c8 review 2016-05-09 19:56:20 +08:00
Zhicheng Wang af7a2e874d 微调了一下《关于中文版》的语言。 2016-05-09 19:47:24 +08:00
Zhicheng Wang ae6ae103c0 完善了翻译的About。加上了首页的链接。 2016-05-09 19:30:30 +08:00
Zhicheng Wang 53a55f2db3 翻译了小抄。
增加了翻译的About。
2016-05-09 18:45:50 +08:00
Zhicheng Wang 48e03ae748 完成了模板语法章 2016-05-09 09:58:40 +08:00
Zhicheng Wang a2d6add5fe 翻译了大部分“模板语法”章 2016-05-08 21:00:37 +08:00
Zhimin(Rex) YE 9a512ddf06 partial style-guide.jade translation. 2016-05-07 20:29:06 +01:00
Zhimin(Rex) YE ece8eda68c set-document-title.jade draft translation is done. 2016-05-07 18:20:40 +01:00
Zhimin(Rex) YE 205014e5f0 first draft translation of dependency-injection.jade is completed. 2016-05-07 15:11:29 +01:00
Patrice Chalin 1c0218bc79 docs(dev guide): attribute-directives - move html excerpt to .html file (#1313)
Jade can’t parse inlined Angular adorned HTML properly, so it is best
to put such source in a file and include with `makeExample`.
2016-05-06 18:18:48 +01:00
Patrice Chalin e958be24bf docs(dev guide): attribute-directives - updated dart/ts code and new dart prose
Mainly copyedits and prep for extension

+ example code cleanup & bug fix
+ fix bug in default color initialization
2016-05-06 15:42:01 +01:00
Patrice Chalin ac92e77611 docs(dev guide): lifecycle-hooks - updated dart/ts code and new dart prose
Mainly copyedits, but also

- Dart .jade extends TS .jade file with minor overrides
- Significant update of example code (so it matches the ts example in its
appearance and behavior).
- Tweaks to Dart code.
- A few extra/corrected mixin definitions in `_util-fns.jade`.
2016-05-06 14:17:34 +01:00
Zhicheng Wang efd0a42eac 翻译完了DI 2016-05-05 23:32:48 +08:00
Zhicheng Wang 296afedd4a 翻译了一点DI的内容 2016-05-04 23:12:25 +08:00
Rex 594780411b bit more di translation. 2016-05-04 14:55:49 +01:00
Patrice Chalin ce6c645501 docs(dev guide): structural-directives - ts minor edits, dart first versiondocs(dev guide): structural-directives - ts minor edits, dart first version (#1277)
Copyedits and other minor edits for TS
+ first version of the chapter for Dart
2016-05-04 13:18:38 +01:00
Rex 3bf116dcde bit more DI translation. 2016-05-04 10:09:57 +01:00
Rex a9034b1c26 a bit more di translation 2016-05-04 09:34:03 +01:00
Naomi Black 01aa15830d chore(resources): more additions on resources 2016-05-03 18:47:45 -07:00
Zhicheng Wang fc94842aa5 界面微调 2016-05-04 09:20:20 +08:00
Foxandxss 81209a1d0b docs(quickstart): update to new world 2016-05-03 17:34:48 -06:00
Ward Bell b4f567458e docs(ts/js): update to rc1 2016-05-03 17:29:00 -06:00
Ward Bell 6dfae3a407 docs(style-guide): fix some typos (missed one) 2016-05-03 16:29:21 -06:00
Foxandxss 8d5d614c42 docs(style-guide): fix some typos
closes #1275
2016-05-03 16:26:40 -06:00
Tero Parviainen da45504907 docs(pipes): change description for parameters to reflect change in beta.16
closes #1197
2016-05-03 16:15:15 -06:00
NFM fea2d1f0f6 docs(quickstart.jade): Modify "Typescript type definition file" link up-to-date url
closes #1262
2016-05-03 16:05:01 -06:00
Michel D'HOOGE 44f63f9907 docs(npm-packages): typo ES6 = ES2015
closes #1263
2016-05-03 16:02:16 -06:00
Dan Smith 59c1e1def4 docs(quickstart): fix misplaced close paren 2016-05-03 17:54:54 -04:00
Ward Bell 2842058a30 docs(router): document new router and samples - phase 2 2016-05-03 15:51:24 -06:00
Foxandxss 596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Ward Bell 2ccdd867d2 docs(router): samples and doc for new router (phase 1) 2016-05-03 09:18:18 -06:00
Rex 772b5f0418 Merge branch 'master' of https://github.com/angular-live/angular.io 2016-05-03 15:38:06 +01:00
Rex bd6ac20bb9 little big of di translation. 2016-05-03 15:37:56 +01:00
Zhicheng Wang 583247f0f9 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/_data.json
#	public/_includes/_footer.jade
#	public/_includes/_hero-home.jade
#	public/_includes/_main-nav.jade
#	public/docs/_includes/_side-nav.jade
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/cookbook/_data.json
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/_data.json
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/displaying-data.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/user-input.jade
#	public/docs/ts/latest/index.jade
#	public/docs/ts/latest/quickstart.jade
#	public/docs/ts/latest/tutorial/toh-pt2.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
#	public/features.jade
#	public/index.jade
2016-05-03 22:33:20 +08:00
Zhicheng Wang 40346025b2 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/_includes/_main-nav.jade
#	public/_includes/_version-dropdown.jade
#	public/docs/_includes/_side-nav.jade
2016-05-03 20:21:29 +08:00
Ward Bell f513ee83c7 docs(samples): removed unused typings excludes from tsconfig 2016-05-03 01:45:27 -06:00
Foxandxss 3f50248940 docs(style-guide): revisions for New World (repack)
closes #1260
2016-05-03 00:42:02 -06:00
Ward Bell cadd6c9823 docs: switch to commonjs module generation 2016-05-03 00:01:55 -06:00
Ward Bell 3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
Robert Messerle 49908bb1b4 converts docs landing template to use layout classnames rather than attribute syntax 2016-05-02 19:55:59 -07:00
Eric Jimenez 5ce56598f5 feat(docs landing): new docs landing 2016-05-02 19:55:59 -07:00
Naomi Black 80e542cca9 chore(copyedit): copyedits to feature page text 2016-05-02 17:46:49 -07:00
Eric Jimenez c5309e9195 feat(features: update features section) 2016-05-02 15:41:21 -07:00
Naomi Black f96c0c7d77 chore(hero): update hero banner for ngconf livestream 2016-05-02 15:08:00 -07:00
Eric Jimenez 410b3741f7 feat(images): new frontpage as directed by Alex Wolfe. New images from Fatima Remtullah 2016-05-02 13:03:13 -07:00
Naomi Black 68503b9e41 chore(updates): update resources and livestream hero 2016-05-02 12:02:48 -07:00
Foxandxss d941353957 docs(style-guide): fix merge issues
closes #1244
2016-05-02 08:57:35 -07:00
Foxandxss 66764fec7e docs: fix a few typos
closes #1239
2016-05-01 16:17:05 -07:00
John Papa bbd7d79a76 docs(style-guide): add style-guide - v.6 2016-05-01 16:08:45 -07:00
Foxandxss f4223c7049 docs(lifecycle-hooks): update directive selector to camelCase
closes #1236
2016-05-01 15:19:12 -07:00
Foxandxss 6c0c6357a9 docs: rename heros to heroes 2016-05-01 23:04:47 +02:00
John Papa ddfbbb5ebb docs(style-guide): add style-guide - v.5 2016-04-30 23:03:19 -07:00
Patrice Chalin 3aa533f61b chore(dart): pipes example rolled back to beta.15
The pipes example stopped working in beta.16; roll it back to the
last known working version. 

See earlier commit for code changes necessary in support of beta.16:
https://github.com/angular/angular.io/commit/0557c728d75e519bc6846b37492
414dff540c6ee
2016-04-30 15:06:00 +01:00
Patrice Chalin ff20b55975 chore(dart & ts): update to beta.17
Change `ngFor=“#…”` to `ngFor=“let…` in code. All are .dart files
except for `app_component.html` which also has changes for:
- `<inpuf var-foo…`> to `<input ref-foo…>`
- `#docregion` tag name updates from var-foo to ref-foo.
- Other misc updates to minimize diffs with TS version of file,
whitespace differences were ignored.

+ Minor update to sync up Dart prose with TS prose.

+ Used
https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer#resol
ved_identifiers to solve
https://github.com/angular/angular.io/issues/1033

Guide/pipes not updated as it will be rolled back to
beta.15 in PR #1220.
2016-04-30 15:01:16 +01:00
Naomi Black d313e1f93c chore(presskit): make reuse permissions more clear 2016-04-29 23:05:31 -07:00
Naomi Black 62623d5f9b chore(resources): update resources links and header and footer 2016-04-29 22:57:18 -07:00
Eric Jimenez 6ab29e0a07 feat(resources): add more pages. Increase font size. Rename in footer. All encompassing resource page 2016-04-29 21:48:07 -07:00
Stephen Fluin 798a55b6f7 chore(bio): Added bio for Stephen Fluin 2016-04-29 17:25:46 -07:00
Eric Jimenez 36308fe5f6 fix(footer): use cursor pointer on feedback in footer 2016-04-29 17:25:19 -07:00
Eric Jimenez af9793cbbb feat(resources): add more pages. Increase font size. Rename in footer. All encompassing resource page 2016-04-29 20:07:13 -04:00
Eric Jimenez 083842a1b1 feat(resources): add more pages 2016-04-29 18:02:19 -04:00
Eric Jimenez d8fcd5ef3d feat(nav reorg): reorganize footer and top nav 2016-04-28 19:23:13 -07:00
Eric Jimenez ff985c7059 feat(press kit): press kit with logos 2016-04-28 19:22:36 -07:00
Filipe Silva ebc022e475 docs: update prose for the `let` change to ngFor 2016-04-28 18:37:45 -07:00
Filipe Silva 216120daba chore: update to beta.17
closes #1213, 1205
2016-04-28 18:31:00 -07:00
Patrice Chalin 1e64d9e57a docs(guide/dart): hierarchical-dependency-injection without copying
closes #1207
This uses a simpler way to render Dart prose from TS prose without
making a copy. This will make it _much_ easier to keep the two in sync.
2016-04-28 17:03:28 -07:00
Patrice Chalin 0557c728d7 chore(dart): updating to beta.16
closes #1192

Updated docs and samples to beta.16.

For this first time, among other things, I payed particular attention
to the changes that were made on the `ts` side of things
(https://github.com/angular/angular.io/pull/1178). Since I wrote it up
in my notes, here is the check list of `ts` updates with notes about
how there might be corresponding changes on the Dart side:

- public/docs/_examples/cb-dependency-injection/ts/app/main.ts
- public/docs/_examples/cb-ts-to-js/ts/app/main.ts
  - cb not in Dart docs yet.
- public/docs/_examples/dependency-injection/ts/app/car/car-injector.ts
-
public/docs/_examples/dependency-injection/ts/app/injector.component.ts
  - Updated Dart example code to avoid null argument.
- public/docs/_examples/homepage-hello-world/ts/index.1.html
- public/docs/_examples/homepage-tabs/ts/index.1.html
- public/docs/_examples/homepage-todo/ts/index.1.html
- public/docs/_examples/package.json
  - N/A for Dart.
- public/docs/_examples/pipes/ts/app/app.component.html
- public/docs/_examples/pipes/ts/app/app.component.ts
- public/docs/_examples/pipes/ts/app/exponential-strength.pipe.ts
- public/docs/_examples/pipes/ts/app/fetch-json.pipe.ts
- public/docs/_examples/pipes/ts/app/random-pipe.component.ts
  - Dart version of sample code is incomplete, but did run in beta.15.
  - Example no longer runs, see
https://github.com/angular/angular/issues/8258
- public/docs/_examples/quickstart/js/package.1.json
- public/docs/_examples/quickstart/ts/package.1.json
- public/docs/_examples/router/ts/app/main.2.ts
- public/docs/_examples/testing/ts/app/mock-router.ts
  - N/A for Dart.
- public/docs/js/latest/_data.json
- public/docs/ts/latest/_data.json
  - Dart equivalent updated.
- public/docs/ts/latest/guide/dependency-injection.jade
  - No need to update since it imports the TS version.
- public/docs/ts/latest/guide/pipes.jade
  - Not in Dart prose yet.
- tools/plunker-builder/indexHtmlTranslator.js
  - N/A for Dart.
2016-04-28 15:32:16 -07:00
Rex 338490a776 a bit more translation for d-i.jade 2016-04-28 16:40:09 +01:00
John Papa d5e909bde0 docs(style-guide): add style-guide - v.4 2016-04-28 00:52:20 -07:00
Eric Jimenez 1ac2a42308 chore(not yet documented): remove placeholder to reduce noise 2016-04-27 12:55:27 -04:00
Naomi Black a9730db70d events(i/o): add google i/o to events page 2016-04-26 23:32:39 -07:00
Ward Bell b5ffe70579 docs(testing): simplify extracting directive 2016-04-26 22:03:07 -07:00