Skip to content

Remove redirect_from from zh-cn tour, fixes #1149 #1152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions _zh-cn/tour/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ language: zh-cn

next-page: unified-types
previous-page: tour-of-scala

redirect_from: "/tutorials/tour/basics.html"
---

这篇文章涵盖了Scala的基础知识。
Expand Down
2 changes: 0 additions & 2 deletions _zh-cn/tour/classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ next-page: traits
previous-page: unified-types
topics: classes
prerequisite-knowledge: no-return-keyword, type-declaration-syntax, string-interpolation, procedures

redirect_from: "/tutorials/tour/classes.html"
---

Scala中的类是用于创建对象的蓝图,其中包含了方法、常量、变量、类型、对象、特质、类,这些统称为成员。类型、对象和特质将在后面的文章中介绍。
Expand Down
2 changes: 0 additions & 2 deletions _zh-cn/tour/traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ next-page: tuples
previous-page: classes
topics: traits
prerequisite-knowledge: expressions, classes, generics, objects, companion-objects

redirect_from: "/tutorials/tour/traits.html"
---

特质 (Traits) 用于在类 (Class)之间共享程序接口 (Interface)和字段 (Fields)。 它们类似于Java 8的接口。 类和对象 (Objects)可以扩展特质,但是特质不能被实例化,因此特质没有参数。
Expand Down
2 changes: 0 additions & 2 deletions _zh-cn/tour/unified-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ language: zh-cn
next-page: classes
previous-page: basics
prerequisite-knowledge: classes, basics

redirect_from: "/tutorials/tour/unified-types.html"
---

在Scala中,所有的值都有类型,包括数值和函数。下图阐述了类型层次结构的一个子集。
Expand Down