87 Commits

Author SHA1 Message Date
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
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
Peter Bacon Darwin
eb37614d68 chore(doc-gen): update modules to include API docs
The public exported modules have been reorganized
2015-12-01 20:43:20 -08:00
Peter Bacon Darwin
7fb34523ae chore(docs-app): add code directive to prevent unwanted compilation 2015-12-01 09:44:33 -08:00
Cory Bateman
dbb065a7ed refact(app): use recommended controller as syntax
Updated site controllers and directives to use controller as syntax

Closes #84
Closes #135
2015-11-15 20:52:35 +00:00
Peter Bacon Darwin
0b2db81ac0 chore(gitignore): ignore the generated web app json files 2015-11-14 12:53:20 -08:00
Peter Bacon Darwin
096e5f081b api-web-app: update cheatsheet.json from latest angular2 code 2015-11-10 11:37:06 +00:00
Peter Bacon Darwin
666fad1906 api-web-app: update app-data.json from latest angular2 code 2015-11-10 11:37:05 +00:00
Peter Bacon Darwin
131cdb7765 api-web-app: convert to using dynamically generated cheatsheet data
Closes #348
2015-11-10 11:37:05 +00:00
Peter Bacon Darwin
66a7edd8cb api-builder: add cheatsheet-package to generate cheatsheet data
Closes #348
2015-11-10 11:37:05 +00:00
Peter Bacon Darwin
b5744c813a api-index: generate index page API list dynamically
Dgeni now generates a JSON file that is loaded by the AppController into
the index page for the API docs.
2015-11-03 16:41:38 +00:00
Naomi Black
d0b9d43377 correct typo in cheatsheet
closes #314
2015-10-27 20:37:14 -07:00
Naomi Black
0dc3d2018e chore(api-list): another typo in the json 2015-10-19 22:51:27 +01:00
Naomi Black
92e6c0c015 chore(api): fix bad class type on AppViewManager 2015-10-19 15:26:29 +01:00
Naomi Black
b32e57baa7 docs(api defs): fix API definition typo 2015-10-19 14:49:32 +01:00
Robert Messerle
95b1efc3c7 wip: adding cheatsheet 2015-10-18 22:19:52 +01:00
Naomi Black
cdec7d1605 api(map): fixing links in the filtered list, removing left nav 2015-10-15 23:57:15 -07:00