From d7960cec00279c31edfebf6592c6b7c35c3b9455 Mon Sep 17 00:00:00 2001 From: Ben Luo Date: Mon, 19 Sep 2022 14:56:05 +0800 Subject: [PATCH 1/2] change _zh-cn/index.md according to latest index.md --- _zh-cn/index.md | 145 ++++++++++++++++++++++-------------------------- 1 file changed, 65 insertions(+), 80 deletions(-) diff --git a/_zh-cn/index.md b/_zh-cn/index.md index b42ad2091d..267d189899 100644 --- a/_zh-cn/index.md +++ b/_zh-cn/index.md @@ -1,116 +1,101 @@ --- -layout: documentation -title: 文档 -language: zh-cn -partof: documentation +layout: inner-page-documentation +languages: [ja, zh-cn, ru, uk] +title: 学习 Scala +namespace: root discourse: true - -# Content masthead links +partof: documentation more-resources-label: 更多资源 +redirect_from: + - /scala3/ + - /scala3/index.html -scala3-sections: -- title: "第一步" - links: - - title: "Scala 3 中的新东西" - description: "Scala 3 中令人兴奋的新特性概览" - icon: "fa fa-star" - link: /zh-cn/scala3/new-in-scala3.html - - title: "快速开始" - description: "在你的电脑中安装 Scala 3,然后开始写些 Scala 代码!" - icon: "fa fa-rocket" - link: /scala3/getting-started.html - - title: "Scala 3 册子" - description: "通过一系列小课程来学习 Scala。" - icon: "fa fa-book" - link: /scala3/book/introduction.html -- title: "更多细节" - links: - - title: "迁移指引" - description: "一份帮你从 Scala 2 迁移到 Scala 3 的指引。" - icon: "fa fa-suitcase" - link: /scala3/guides/migration/compatibility-intro.html - - title: "导览" - description: "关于语言特别之处的详细导览。" - icon: "fa fa-map" - link: /zh-cn/scala3/guides.html - - title: "Scala 库 API" - description: "Scala 3 每一个版本的标准库API文档。" - icon: "fa fa-file-alt" - link: https://scala-lang.org/api/3.x/ - - title: "语言参考手册" - description: "Scala 3 语言参考手册。" - icon: "fa fa-book" - link: https://docs.scala-lang.org/scala3/reference - - title: "贡献指南" - description: "Scala 3 编译器指南及如何修复问题" - icon: "fa fa-cogs" - link: /scala3/guides/contribution/contribution-intro.html - - title: "Scala 3 全新的 Scaladoc" - description: "Scaladoc 新特性重点介绍" - icon: "fa fa-star" - link: /scala3/scaladoc.html - - title: "演讲" - description: "可在线观看的关于 Scala 3 的演讲" - icon: "fa fa-play-circle" - link: /scala3/talks.html - -scala2-sections: - +sections: - title: "第一步..." links: - title: "快速开始" - description: "在电脑上安装Scala然后开始写些Scala代码吧!" + description: "在电脑上安装 Scala 然后开始写些 Scala 代码吧!" icon: "fa fa-rocket" link: /getting-started.html - - title: "Scala之旅" + - title: "scala之旅" description: "核心语言特性简介" icon: "fa fa-flag" link: /zh-cn/tour/tour-of-scala.html - - title: "Java程序员Scala入门" - description: "为具有Java背景的程序员准备的Scala简介" - icon: "fa fa-coffee" - link: /zh-cn/tutorials/scala-for-java-programmers.html - more-resources: - - title: 在线课程、练习和博客 - url: /learn.html + - title: "Scala 3 册子" + description: "通过一系列小课程来学习 Scala。" + icon: "fa fa-book" + link: /zh-cn/scala3/book/introduction.html + - title: "在线课程" + description: "新手和有经验的程序员在 moocs 学习 Scala。" + icon: "fa fa-cloud" + link: /online-courses.html - title: 书籍 - url: /books.html + description: "有关 Scala 的印刷和数字化的书籍。" + icon: "fa fa-book" + link: /books.html + - title: 教程 + description: "通过一系列步骤,手把手教你创建 Scala 应用。" + icon: "fa fa-tasks" + link: /tutorials.html - - title: "回归用户" + - title: "回归用户" links: - - title: "API" - description: "各个Scala版本的API文档" + - title: "api" + description: "各个 Scala 版本的 api 文档" icon: "fa fa-file-alt" link: /api/all.html - - title: "总览" - description: "涵盖Scala各种特性的深度分析文档" + - title: "导引和总览" + description: "涵盖 Scala 各种特性的深度分析文档" icon: "fa fa-database" link: /zh-cn/overviews/index.html - title: "风格引导" - description: "深度指导如何写出地道的Scala代码" + description: "深度指导如何写出地道的 Scala 代码" icon: "fa fa-bookmark" link: /style/index.html - title: "速查" - description: "包含Scala基础语法的速查手册" + description: "包含 Scala 基础语法的速查手册" icon: "fa fa-list" link: /zh-cn/cheatsheets/index.html - - title: "Scala常见问题" - description: "Scala语言特性的常见问题及答案" + - title: "Scala 常见问题" + description: "Scala 语言特性的常见问题及答案。" icon: "fa fa-question-circle" link: /tutorials/FAQ/index.html - title: "语言规范" - description: "Scala正式语言规范" + description: "语言规范" icon: "fa fa-book" link: https://scala-lang.org/files/archive/spec/2.12/ + - title: "Scala 3 语言参考" + description: "Scala 3 语言参考" + icon: "fa fa-book" + link: https://docs.scala-lang.org/scala3/reference - - title: "Scala进展" + - title: "探索 Scala 3" links: - - title: "SIPs" - description: "Scala改进过程(Scala Improvement Process),语言及编译器进展" + - title: "迁移指引" + description: "一份帮你从 Scala 2 迁移到 Scala 3 的指引。" + icon: "fa fa-suitcase" + link: /scala3/guides/migration/compatibility-intro.html + - title: "Scala 3 中的新东西" + description: "Scala 3 中令人兴奋的新特性概览" + icon: "fa fa-star" + link: /zh-cn/scala3/new-in-scala3.html + - title: "Scala 3 全新的 Scaladoc" + description: "Scaladoc 新特性重点介绍" + icon: "fa fa-star" + link: /scala3/scaladoc.html + - title: "演讲" + description: "可在线观看的关于 Scala 3 的演讲" + icon: "fa fa-play-circle" + link: /scala3/talks.html + + - title: "Scala 进展" + links: + - title: "Scala 改进过程" + description: "描述涉及语言的过程,和所有 Scala 改进提案(SIPs)的列表。" icon: "fa fa-cogs" link: /sips/index.html - - title: "为 Scala 作贡献" - description: "为 Scala 项目作贡献的完整指南" - icon: "fa fa-cogs" + - title: "成为 Scala OSS 贡献者" + description: "从头到尾:发现你如何帮助 Scala 开源生态系统。" + icon: "fa fa-code-branch" link: /contribute/ --- From a30b60ebe7c5020f1192b8d1f63b717d7d8ee355 Mon Sep 17 00:00:00 2001 From: Ben Luo Date: Mon, 19 Sep 2022 15:07:33 +0800 Subject: [PATCH 2/2] correct language line in _zh-cn/index.md --- _zh-cn/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_zh-cn/index.md b/_zh-cn/index.md index 267d189899..4b0b3d0e34 100644 --- a/_zh-cn/index.md +++ b/_zh-cn/index.md @@ -1,6 +1,6 @@ --- layout: inner-page-documentation -languages: [ja, zh-cn, ru, uk] +language: zh-cn title: 学习 Scala namespace: root discourse: true