Commit Graph

102 Commits

Author SHA1 Message Date
Zhicheng Wang bb9adc3eba Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/cookbook/_data.json
#	public/docs/ts/latest/cookbook/dynamic-form.jade
#	public/docs/ts/latest/guide/_data.json
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/style-guide.jade
2016-06-23 08:48:57 +08:00
Eric Jimenez 42e8c4a10c feat(filter stable): filter by stability stable 2016-06-20 14:26:34 -04:00
Zhicheng Wang 80a044fa7c 直接加空格方式效果不理想,改用js和css配合来加空格 2016-06-19 16:46:50 +08:00
Zhicheng Wang e3b33ab31c VS2015集成完毕;第三方资源汉化完毕 2016-06-18 14:35:32 +08:00
Zhicheng Wang eb35497932 embed resources data 2016-06-16 23:24:23 +08:00
Zhicheng Wang 3d01acbf7b 微调翻译
允许翻译中出现省略号
2016-06-08 16:58:36 +08:00
Zhicheng Wang 25f5698e71 对所有外站链接,直接开新窗口打开,修改小bug 2016-05-31 18:02:57 +08:00
Zhicheng Wang 1dc3b54fe0 当点击链接或按钮时,不再切换原文显示 2016-05-31 12:52:39 +08:00
Zhicheng Wang 3c2269c8b5 补充两个cdn库 2016-05-20 13:00:09 +08:00
Zhicheng Wang 15110fa926 QuickStart冲突太多,重新翻译了一遍 2016-05-19 16:32:43 +08:00
Zhicheng Wang 5f1f27e09c Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/_data.json
#	public/_includes/_hero-home.jade
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/cookbook/component-communication.jade
#	public/docs/ts/latest/cookbook/dependency-injection.jade
#	public/docs/ts/latest/guide/_data.json
#	public/docs/ts/latest/guide/attribute-directives.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/displaying-data.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/index.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/quickstart.jade
#	public/docs/ts/latest/tutorial/toh-pt4.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
#	public/news.jade
#	public/resources/index.jade
2016-05-19 13:33:02 +08:00
Zhicheng Wang 8329bbf72d 解决翻译逻辑的一个bug:如果译文是纯英文,那么只有当它和前一个节点完全相同时,才隐藏前一个节点。否则对于未翻译的文章会错误的隐藏掉部分原文节点。 2016-05-17 16:00:56 +08:00
Eric Jimenez 5a0a0160ce feat(firebase): feed resources page using firebase. Check for approved entries of the resources page 2016-05-16 22:43:32 -04:00
Eric Jimenez 21272435a3 feat(badging): Enum only matches enums, as opposed to Const and Enums. Const matches const, var, and let 2016-05-16 22:41:43 -04:00
Zhicheng Wang 3748672331 有了足够明显的提示,不再通过title的方式给用户提示 2016-05-15 22:17:55 +08:00
Zhicheng Wang bd1d525199 去掉了自动根据环境判断是否默认显示原文的功能,因为能自动记录了,所以不再必要。 2016-05-15 22:17:04 +08:00
Zhicheng Wang 23eb2191b1 增加了自动记录当前“显示原文”状态的功能,以便在切换到其它页时保存状态。 2016-05-15 22:11:52 +08:00
Zhicheng Wang 0ee5264d19 实现了显示/隐藏原文的功能
用jqLite重构了翻译逻辑
2016-05-15 21:28:20 +08:00
Zhicheng Wang e8f3333e19 解决目录跳转无法在发布版工作的bug 2016-05-14 20:59:13 +08:00
Zhicheng Wang 3e8b152e2c 自动把翻译结果的id设置为原文元素的id 2016-05-14 20:42:09 +08:00
Zhicheng Wang d17dd7434a refactor: 类改名 2016-05-14 19:27:44 +08:00
Zhicheng Wang e498eaaeff 修正对照翻译功能的小问题 2016-05-14 19:26:08 +08:00
Zhicheng Wang 67c9ef0c7a 基础知识-架构 翻译了一部分。修改了对照翻译模块的小功能。 2016-05-14 16:20:01 +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
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
Zhicheng Wang 41d9204727 Merge branch 'master' of github.com:angular/angular.io
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-04-21 22:48:35 +08:00
Eric Jimenez 3dd114d0df docs(class overview): list instance and static members with in-page hyperlinks. Also link constructor when present. Focus member on click. Badges look better in viewports of 600px or less 2016-04-20 13:14:18 -07:00
Zhicheng Wang 84e96391ca 完成了导航菜单
完成了部分公共页面
完成了部分教程
2016-04-13 08:53:17 +08:00
Aliaksandr Astashenkau fce3e37530 Stop page flickering on API search page.
Show/hide sections and items instead of filtering and reapplying section/items array, so instead of hiding everything and rerendeing filtered (causes flickering), show/hide items that match/doesn't match.

Closes #965
2016-03-18 19:29:36 -07:00
Aliaksandr Astashenkau d1b69f946d Add ngModelOptions debounce to API search input.
closes #947
2016-03-11 17:26:22 -08:00
Peter Bacon Darwin fb0577d742 style(code-example): remove unwanted comment
Thanks to @chliebel for pointing this out.

Closes #906
2016-03-09 09:01:33 +00:00
Ward Bell 2cfa6f3eef chore: fix copy-button / aside overlap #744 2016-03-08 19:38:55 -08:00
Kevin Kelly 81770aee6b fix(directives): set copy directive z-index 1
closes #769
2016-03-08 15:20:22 -08:00
Peter Bacon Darwin af2e8001e5 feat(app): add and use `copy-button` and `copy-container` directives
Closes #728 and issue #720

This change let's users click on a button to automatically copy a code
block to the clipboard to make it easier to follow the guides and tutorials.
2016-01-21 22:38:19 -08:00
Peter Bacon Darwin c94ad87dd4 chore(doc-gen): add createDecoratorDocs processor
The createDecoratorDocs processor identifies docs of exports that actually
represent decorators and get useful information for them.

This commit also set up the rest of the generation to display these new
decorator docs with their own template and updates the API list so that
we can filter the docs by decorator docType.
2016-01-10 21:16:47 -08:00
Robert Messerle 93adcbdf67 adds `all` button to api preview filter 2015-12-15 14:43:33 -08:00
Peter Bacon Darwin 452e7e7729 chore(doc-gen): automatically update environment and version on the cheatsheet
Closes #515
2015-12-15 09:51:52 -08:00
Peter Bacon Darwin 445e17a4a7 feat(api-list): sync filters with URL query
This allows us to recover the filtering state when navigating back and
forth between the API list and individual API pages.

Closes #490
Closes #497
Closes #507
2015-12-14 22:00:12 -08:00
Peter Bacon Darwin afcf31d34d feat(api-list): also filter by module title
Closes #433
2015-12-14 18:10:19 -08:00
Peter Bacon Darwin a6ca213866 fix(app): ensure headings are visible when navigating to in-page anchors
Closes #477
2015-12-14 10:15:19 +00:00
Peter Bacon Darwin 05a272a116 refact(docs-app): move filtered API list into a directive
Each API index page now displays data from an `api-list.json` file found
locally to that page. This lets us have different API lists for TS, JS
and Dart.
2015-12-10 21:35:02 -08:00
Peter Bacon Darwin b298b9c1af refactor(docs-app): move `bold` directive out of the app controller file 2015-12-10 21:35:02 -08:00
Naomi Black f7b6d83422 docs(dgeni): add in missing barrel files
closes #465
2015-12-09 14:49:35 -08:00
Naomi Black ee5da936da feature(feedback): add feedback API call to the site 2015-12-09 13:05:45 -08:00
Peter Bacon Darwin 8459a4dd5c chore(doc-gen): allow dart cheatsheet to be generated 2015-12-08 17:31:53 -08:00