Commit Graph

379 Commits

Author SHA1 Message Date
Zhicheng Wang 8329bbf72d 解决翻译逻辑的一个bug:如果译文是纯英文,那么只有当它和前一个节点完全相同时,才隐藏前一个节点。否则对于未翻译的文章会错误的隐藏掉部分原文节点。 2016-05-17 16:00:56 +08: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
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
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
Eric Jimenez c5309e9195 feat(features: update features section) 2016-05-02 15:41:21 -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
John Papa bbd7d79a76 docs(style-guide): add style-guide - v.6 2016-05-01 16:08:45 -07:00
John Papa ddfbbb5ebb docs(style-guide): add style-guide - v.5 2016-04-30 23:03:19 -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 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
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
Eric Jimenez fbeef5b8ee fix(badge align): fix alignment of badges on all screens. Simplify logic to achieve this 2016-04-26 10:53:53 -07:00
Eric Jimenez d502b1f5aa chore(logo): replace logo on front page, one which removes beta markings. Include more logo assets 2016-04-26 10:53:37 -07:00
John Papa 3bc94147a7 docs(style-guide): add style-guide - v.3
closes #1170
2016-04-25 22:24:37 -07:00
Ben Nadel c9d405062d docs(cb-set-document-title): new "Set Title" cookbook chapter
closes #1069
2016-04-23 14:56:56 -07:00
Zhicheng Wang b86aa26da9 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/_includes/_main-nav.jade
#	public/_includes/_version-dropdown.jade
#	public/docs/_includes/_side-nav.jade
2016-04-23 15:13:58 +08:00
alexwolfe 165f6933a6 Fixed shifting content on page load
Fixed shifting content when going from page to page in docs.
2016-04-22 15:49:10 -07:00
Eric Jimenez 9787a9ffb8 docs(static methods): fix style of static methods in api doc. anchoring works now 2016-04-22 17:13:05 -04:00
Eric Jimenez baf84a48e8 docs(static methods): fix style of static methods in api doc. anchoring works now 2016-04-22 17:03:34 -04:00
Eric Jimenez b130056613 docs(sidenav): Restylize sidenav 2016-04-22 14:56:43 -04:00
Eric Jimenez c932eec801 docs(code color fix): restored old color for code in parts that are not the api doc, use the same styling for all links in entire site 2016-04-21 12:03:12 -04: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 b007e835db Merge branch 'master' of github.com:angular/angular.io
# Conflicts:
#	public/docs/ts/latest/tutorial/toh-pt5.jade
2016-04-20 20:09:50 +08:00
dfsq a1678e5801 Align initial dropdown styles with .md-button styles.
Closes #963
2016-04-19 21:50:53 -07:00
Eric Jimenez c934fb704f docs(badges): add badges in hero to identify doc type to viewer, and stability. Stylize var.template for new api style docs. Add stable, experimental, docsNotRequired tagdef in dgeni 2016-04-19 20:49:48 -07:00
Zhicheng Wang c8041a0bf2 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-19 23:15:18 +08:00
Eric Jimenez 995229a44c override column layout in extra small screens, fixes issue with overlapping text in api docs with safari mobile. 2016-04-18 17:38:55 -07:00