From a078d49a93193a7e405856092dff1725bf596b8f Mon Sep 17 00:00:00 2001 From: Dongxu Wang Date: Sat, 20 Jul 2019 08:08:45 +0800 Subject: [PATCH] Add zh-cn version of landing page. --- _zh-cn/index.md | 69 +++++++++++++++++++++++++++++++++++++++++++++++++ index.md | 2 +- 2 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 _zh-cn/index.md diff --git a/_zh-cn/index.md b/_zh-cn/index.md new file mode 100644 index 0000000000..c6b0e0d8d3 --- /dev/null +++ b/_zh-cn/index.md @@ -0,0 +1,69 @@ +--- +layout: inner-page-documentation +title: 文档 +language: zh-cn +partof: documentation +discourse: true + +# Content masthead links +sections: + + - title: "第一步..." + links: + - title: "快速开始" + description: "在电脑上安装Scala然后开始写些Scala代码吧!" + icon: "fa fa-rocket" + link: /getting-started.html + - title: "Scala之旅" + description: "核心语言特性简介" + icon: "fa fa-flag" + link: /tour/tour-of-scala.html + - title: "Java程序员Scala入门" + description: "为具有Java背景的程序员准备的Scala简介" + icon: "fa fa-coffee" + link: /tutorials/scala-for-java-programmers.html + more-resources: + - title: 在线课程、练习和博客 + url: /learn.html + - title: 书籍 + url: /books.html + + - title: "回归用户" + links: + - title: "API" + description: "各个Scala版本的API文档" + icon: "fa fa-file-text" + link: /api/all.html + - title: "总览" + description: "涵盖Scala各种特性的深度分析文档" + icon: "fa fa-database" + link: /overviews/index.html + - title: "风格引导" + description: "深度指导如何写出地道的Scala代码" + icon: "fa fa-bookmark" + link: /style/index.html + - title: "速查" + description: "包含Scala基础语法的速查手册" + icon: "fa fa-list" + link: /cheatsheets/index.html + - title: "Scala常见问题" + description: "Scala语言特性的常见问题及答案" + icon: "fa fa-question-circle" + link: /tutorials/FAQ/index.html + - title: "语言规范" + description: "Scala正式语言规范" + icon: "fa fa-book" + link: http://scala-lang.org/files/archive/spec/2.12/ + + - title: "Scala进展" + links: + - title: "SIPs" + description: "Scala改进过程(Scala Improvement Process),语言及编译器进展" + icon: "fa fa-cogs" + link: /sips/index.html + - title: "SPP" + description: "Scala平台进程(Scala Platform Process), 社区驱动代码库的进展" + icon: "fa fa-users" + link: https://platform.scala-lang.org + +--- diff --git a/index.md b/index.md index fb6d93db53..7f1527e81a 100644 --- a/index.md +++ b/index.md @@ -1,7 +1,7 @@ --- layout: inner-page-documentation title: Documentation -languages: [ja] +languages: [ja, zh-cn] namespace: root partof: documentation discourse: true