From b24c5b23f55a03608d46848623eb2ff0f3575605 Mon Sep 17 00:00:00 2001 From: Philippus Date: Sun, 7 Jul 2019 17:36:40 +0200 Subject: [PATCH] Remove redirect_from from ja tour --- _ja/tour/abstract-type-members.md | 2 -- _ja/tour/annotations.md | 1 - _ja/tour/basics.md | 1 - _ja/tour/by-name-parameters.md | 1 - _ja/tour/case-classes.md | 1 - _ja/tour/classes.md | 1 - _ja/tour/compound-types.md | 1 - _ja/tour/default-parameter-values.md | 1 - _ja/tour/extractor-objects.md | 1 - _ja/tour/for-comprehensions.md | 1 - _ja/tour/generic-classes.md | 1 - _ja/tour/higher-order-functions.md | 1 - _ja/tour/implicit-conversions.md | 1 - _ja/tour/implicit-parameters.md | 1 - _ja/tour/inner-classes.md | 1 - _ja/tour/lower-type-bounds.md | 1 - _ja/tour/mixin-class-composition.md | 1 - _ja/tour/multiple-parameter-lists.md | 1 - _ja/tour/named-arguments.md | 1 - _ja/tour/nested-functions.md | 1 - _ja/tour/operators.md | 1 - _ja/tour/pattern-matching.md | 1 - _ja/tour/polymorphic-methods.md | 1 - _ja/tour/regular-expression-patterns.md | 1 - _ja/tour/self-types.md | 1 - _ja/tour/singleton-objects.md | 1 - _ja/tour/tour-of-scala.md | 1 - _ja/tour/traits.md | 1 - _ja/tour/tuples.md | 1 - _ja/tour/unified-types.md | 1 - _ja/tour/upper-type-bounds.md | 1 - _ja/tour/variances.md | 1 - 32 files changed, 33 deletions(-) diff --git a/_ja/tour/abstract-type-members.md b/_ja/tour/abstract-type-members.md index f5821a7b74..0a0a61f387 100644 --- a/_ja/tour/abstract-type-members.md +++ b/_ja/tour/abstract-type-members.md @@ -12,8 +12,6 @@ previous-page: inner-classes topics: abstract type members prerequisite-knowledge: variance, upper-type-bound -redirect_from: "/tutorials/tour/abstract-types.html" -redirect_from: "/tour/abstract-types.html" --- トレイトや抽象クラスのような抽象型は抽象型メンバーを持つことができます。 diff --git a/_ja/tour/annotations.md b/_ja/tour/annotations.md index 88114954f1..5858105b01 100644 --- a/_ja/tour/annotations.md +++ b/_ja/tour/annotations.md @@ -11,7 +11,6 @@ num: 32 next-page: default-parameter-values previous-page: by-name-parameters -redirect_from: "/tutorials/tour/annotations.html" --- アノテーションはメタ情報と定義を関連づけます。例えば、メソッドの前のアノテーション`@deprecated`はメソッドが使われたらコンパイラに警告を出力させます。 diff --git a/_ja/tour/basics.md b/_ja/tour/basics.md index b14330f2b3..8eb67a0ddb 100644 --- a/_ja/tour/basics.md +++ b/_ja/tour/basics.md @@ -11,7 +11,6 @@ num: 2 next-page: unified-types previous-page: tour-of-scala -redirect_from: "/tutorials/tour/basics.html" --- このページでは、Scalaの基本を取り扱います。 diff --git a/_ja/tour/by-name-parameters.md b/_ja/tour/by-name-parameters.md index 86325795ba..411afa5957 100644 --- a/_ja/tour/by-name-parameters.md +++ b/_ja/tour/by-name-parameters.md @@ -11,7 +11,6 @@ num: 31 next-page: annotations previous-page: operators -redirect_from: "/tutorials/tour/by-name-parameters.html" --- *名前渡しのパラメータ*は使用された時に評価されます。それらは*値渡しパラメータ*とは対照的です。名前渡しのパラメータを作るには、単純に`=>`を型の前につけます。 diff --git a/_ja/tour/case-classes.md b/_ja/tour/case-classes.md index 99a1b6e6f0..5493a00790 100644 --- a/_ja/tour/case-classes.md +++ b/_ja/tour/case-classes.md @@ -12,7 +12,6 @@ next-page: pattern-matching previous-page: multiple-parameter-lists prerequisite-knowledge: classes, basics, mutability -redirect_from: "/tutorials/tour/case-classes.html" --- ケースクラスはこれから論じるいくつかの差異はあるものの普通のクラスと似ています。 diff --git a/_ja/tour/classes.md b/_ja/tour/classes.md index 0253f210f5..36cf3ec851 100644 --- a/_ja/tour/classes.md +++ b/_ja/tour/classes.md @@ -13,7 +13,6 @@ previous-page: unified-types topics: classes prerequisite-knowledge: no-return-keyword, type-declaration-syntax, string-interpolation, procedures -redirect_from: "/tutorials/tour/classes.html" --- Scalaにおけるクラスはオブジェクトを作るための設計図です。 diff --git a/_ja/tour/compound-types.md b/_ja/tour/compound-types.md index 6eeadc481d..061a5dc331 100644 --- a/_ja/tour/compound-types.md +++ b/_ja/tour/compound-types.md @@ -11,7 +11,6 @@ num: 24 next-page: self-types previous-page: abstract-type-members -redirect_from: "/tutorials/tour/compound-types.html" --- ときどき、あるオブジェクトの型が、複数の他の型のサブタイプであると表現する必要が生じます。 Scalaでは、これは*複合型*を用いて表現できます。複合型とはオブジェクトの型同士を重ねることです。 diff --git a/_ja/tour/default-parameter-values.md b/_ja/tour/default-parameter-values.md index fe2da78c75..dde76cdeaf 100644 --- a/_ja/tour/default-parameter-values.md +++ b/_ja/tour/default-parameter-values.md @@ -12,7 +12,6 @@ next-page: named-arguments previous-page: annotations prerequisite-knowledge: named-arguments, function syntax -redirect_from: "/tutorials/tour/default-parameter-values.html" --- Scalaはパラメータのデフォルト値を与えることができ、呼び出す側はこれらのパラメータを省略できます。 diff --git a/_ja/tour/extractor-objects.md b/_ja/tour/extractor-objects.md index 2b12283764..d3af5a18e7 100644 --- a/_ja/tour/extractor-objects.md +++ b/_ja/tour/extractor-objects.md @@ -11,7 +11,6 @@ num: 16 next-page: for-comprehensions previous-page: regular-expression-patterns -redirect_from: "/tutorials/tour/extractor-objects.html" --- 抽出子オブジェクトは`unapply`メソッドを持つオブジェクトです。 diff --git a/_ja/tour/for-comprehensions.md b/_ja/tour/for-comprehensions.md index 89bce4d42a..eccd124c8c 100644 --- a/_ja/tour/for-comprehensions.md +++ b/_ja/tour/for-comprehensions.md @@ -11,7 +11,6 @@ num: 17 next-page: generic-classes previous-page: extractor-objects -redirect_from: "/tutorials/tour/for-comprehensions.html" --- Scalaは*シーケンス内包表記*を表現するための軽量な記法を提供します。 diff --git a/_ja/tour/generic-classes.md b/_ja/tour/generic-classes.md index 2535e31695..7912d2be21 100644 --- a/_ja/tour/generic-classes.md +++ b/_ja/tour/generic-classes.md @@ -12,7 +12,6 @@ next-page: variances previous-page: for-comprehensions assumed-knowledge: classes unified-types -redirect_from: "/tutorials/tour/generic-classes.html" --- ジェネリッククラスはパラメータとして型を1つ受け取るクラスです。それらはコレクションクラスで特に役立ちます。 diff --git a/_ja/tour/higher-order-functions.md b/_ja/tour/higher-order-functions.md index 57714202e8..88d432aaf5 100644 --- a/_ja/tour/higher-order-functions.md +++ b/_ja/tour/higher-order-functions.md @@ -11,7 +11,6 @@ num: 8 next-page: nested-functions previous-page: mixin-class-composition -redirect_from: "/tutorials/tour/higher-order-functions.html" --- 高階関数は他の関数をパラメーターとして受け取る、もしくは結果として関数を返します。 diff --git a/_ja/tour/implicit-conversions.md b/_ja/tour/implicit-conversions.md index 386ed3c500..107979e2dc 100644 --- a/_ja/tour/implicit-conversions.md +++ b/_ja/tour/implicit-conversions.md @@ -11,7 +11,6 @@ num: 27 next-page: polymorphic-methods previous-page: implicit-parameters -redirect_from: "/tutorials/tour/implicit-conversions.html" --- 型`S`から型`T`への暗黙の変換は`S => T`という型のimplicit値や、その型に一致するimplicitメソッドで定義されます。 diff --git a/_ja/tour/implicit-parameters.md b/_ja/tour/implicit-parameters.md index 38067f9e27..53613be8ee 100644 --- a/_ja/tour/implicit-parameters.md +++ b/_ja/tour/implicit-parameters.md @@ -11,7 +11,6 @@ num: 26 next-page: implicit-conversions previous-page: self-types -redirect_from: "/tutorials/tour/implicit-parameters.html" --- メソッドは _暗黙の_ パラメータのリストを持つことができ、パラメータリストの先頭には _implicit_ キーワードで印をつけます。 diff --git a/_ja/tour/inner-classes.md b/_ja/tour/inner-classes.md index 4bc373d8c8..03450fdc14 100644 --- a/_ja/tour/inner-classes.md +++ b/_ja/tour/inner-classes.md @@ -11,7 +11,6 @@ num: 22 next-page: abstract-type-members previous-page: lower-type-bounds -redirect_from: "/tutorials/tour/inner-classes.html" --- Scalaではクラスが他のクラスをメンバーとして保持することが可能です。 diff --git a/_ja/tour/lower-type-bounds.md b/_ja/tour/lower-type-bounds.md index d461e31e5d..b6b98cebdb 100644 --- a/_ja/tour/lower-type-bounds.md +++ b/_ja/tour/lower-type-bounds.md @@ -12,7 +12,6 @@ next-page: inner-classes previous-page: upper-type-bounds prerequisite-knowledge: upper-type-bounds, generics, variance -redirect_from: "/tutorials/tour/lower-type-bounds.html" --- [上限型境界](upper-type-bounds.html) は型を別の型のサブタイプに制限しますが、*下限型境界*は型が別の型のスーパータイプであることを宣言します。表現`B >: A`はパラメータ`B`または抽象型`B`が型`A`のスーパータイプであることを表します。ほとんどのケースで`A`はそのクラスの型パラメータであり、`B`はメソッドの型パラメータになります。 diff --git a/_ja/tour/mixin-class-composition.md b/_ja/tour/mixin-class-composition.md index 9ec9fd65f4..c5d40ebe16 100644 --- a/_ja/tour/mixin-class-composition.md +++ b/_ja/tour/mixin-class-composition.md @@ -12,7 +12,6 @@ next-page: higher-order-functions previous-page: tuples prerequisite-knowledge: inheritance, traits, abstract-classes, unified-types -redirect_from: "/tutorials/tour/mixin-class-composition.html" --- ミックスインはクラスを構成するのに使われるトレイトです。 diff --git a/_ja/tour/multiple-parameter-lists.md b/_ja/tour/multiple-parameter-lists.md index a35bccf615..3cddffe859 100644 --- a/_ja/tour/multiple-parameter-lists.md +++ b/_ja/tour/multiple-parameter-lists.md @@ -11,7 +11,6 @@ num: 10 next-page: case-classes previous-page: nested-functions -redirect_from: "/tutorials/tour/multiple-parameter-lists.html" --- メソッドは複数のパラメータリストを持てます。 diff --git a/_ja/tour/named-arguments.md b/_ja/tour/named-arguments.md index b7f0ca82a2..eda94a0c8c 100644 --- a/_ja/tour/named-arguments.md +++ b/_ja/tour/named-arguments.md @@ -12,7 +12,6 @@ next-page: packages-and-imports previous-page: default-parameter-values prerequisite-knowledge: function-syntax -redirect_from: "/tutorials/tour/named-arguments.html" --- メソッドを呼ぶ時、以下のように引数にパラメータ名でラベル付が可能です。 diff --git a/_ja/tour/nested-functions.md b/_ja/tour/nested-functions.md index 05a57a2fae..2769c20674 100644 --- a/_ja/tour/nested-functions.md +++ b/_ja/tour/nested-functions.md @@ -11,7 +11,6 @@ num: 9 next-page: multiple-parameter-lists previous-page: higher-order-functions -redirect_from: "/tutorials/tour/nested-functions.html" --- Scalaではメソッドの定義をネストする(_訳注:入れ子にする_)ことができます。 diff --git a/_ja/tour/operators.md b/_ja/tour/operators.md index b61b229558..e6c2352ef2 100644 --- a/_ja/tour/operators.md +++ b/_ja/tour/operators.md @@ -12,7 +12,6 @@ next-page: by-name-parameters previous-page: type-inference prerequisite-knowledge: case-classes -redirect_from: "/tutorials/tour/operators.html" --- Scalaでは演算子はメソッドです。パラメータを1つだけ持つメソッドであれば*中置演算子*として使えます。例えば、`+`はドット記法で呼び出せます。 diff --git a/_ja/tour/pattern-matching.md b/_ja/tour/pattern-matching.md index d44d13e41b..dd032ed48e 100644 --- a/_ja/tour/pattern-matching.md +++ b/_ja/tour/pattern-matching.md @@ -13,7 +13,6 @@ next-page: singleton-objects previous-page: case-classes prerequisite-knowledge: case-classes, string-interpolation, subtyping -redirect_from: "/tutorials/tour/pattern-matching.html" --- パターンマッチングは値をパターンに照合するための仕組みです。 diff --git a/_ja/tour/polymorphic-methods.md b/_ja/tour/polymorphic-methods.md index 0770657246..7eac75ff39 100644 --- a/_ja/tour/polymorphic-methods.md +++ b/_ja/tour/polymorphic-methods.md @@ -13,7 +13,6 @@ next-page: type-inference previous-page: implicit-conversions prerequisite-knowledge: unified-types -redirect_from: "/tutorials/tour/polymorphic-methods.html" --- Scalaのメソッドは値と同様に型によってパラメータ化することができます。構文はジェネリッククラスの構文と似ています。 diff --git a/_ja/tour/regular-expression-patterns.md b/_ja/tour/regular-expression-patterns.md index 21068d1de1..a81168544c 100644 --- a/_ja/tour/regular-expression-patterns.md +++ b/_ja/tour/regular-expression-patterns.md @@ -12,7 +12,6 @@ num: 15 next-page: extractor-objects previous-page: singleton-objects -redirect_from: "/tutorials/tour/regular-expression-patterns.html" --- 正規表現はデータの中からパターン(またはその欠如)を探すために使うことができる文字列です。 どんな文字列も`.r`メソッドを使うことで、正規表現に変換できます。 diff --git a/_ja/tour/self-types.md b/_ja/tour/self-types.md index 836e4459ec..1bffbfe63c 100644 --- a/_ja/tour/self-types.md +++ b/_ja/tour/self-types.md @@ -13,7 +13,6 @@ previous-page: compound-types topics: self-types prerequisite-knowledge: nested-classes, mixin-class-composition -redirect_from: "/tutorials/tour/self-types.html" --- 自分型は、直接継承していなくてもトレイトが他のトレイトにミックスインされていることを宣言する方法です。 これにより依存先のメンバーをimportなしで利用できます。 diff --git a/_ja/tour/singleton-objects.md b/_ja/tour/singleton-objects.md index e920e884c9..feea0e5171 100644 --- a/_ja/tour/singleton-objects.md +++ b/_ja/tour/singleton-objects.md @@ -11,7 +11,6 @@ num: 13 next-page: regular-expression-patterns previous-page: pattern-matching -redirect_from: "/tutorials/tour/singleton-objects.html" prerequisite-knowledge: classes, methods, private-methods, packages, option --- オブジェクトは丁度1つのインスタンスを持つクラスです。 diff --git a/_ja/tour/tour-of-scala.md b/_ja/tour/tour-of-scala.md index 775c66557f..46658101bf 100644 --- a/_ja/tour/tour-of-scala.md +++ b/_ja/tour/tour-of-scala.md @@ -11,7 +11,6 @@ num: 1 next-page: basics -redirect_from: "/tutorials/tour/tour-of-scala.html" --- ## ようこそツアーへ diff --git a/_ja/tour/traits.md b/_ja/tour/traits.md index 1ea0b11809..5152af0fb0 100644 --- a/_ja/tour/traits.md +++ b/_ja/tour/traits.md @@ -13,7 +13,6 @@ previous-page: classes topics: traits prerequisite-knowledge: expressions, classes, generics, objects, companion-objects -redirect_from: "/tutorials/tour/traits.html" --- トレイトはクラス間でインターフェースとフィールドを共有するために使います。それらはJava 8のインターフェースと似ています。 diff --git a/_ja/tour/tuples.md b/_ja/tour/tuples.md index 0d67f6c5c1..822a6f5a72 100644 --- a/_ja/tour/tuples.md +++ b/_ja/tour/tuples.md @@ -12,7 +12,6 @@ next-page: mixin-class-composition previous-page: traits topics: tuples -redirect_from: "/tutorials/tour/tuples.html" --- Scalaではタプルは決まった数の要素を含む値であり、各要素はそれぞれの型を持ちます。 diff --git a/_ja/tour/unified-types.md b/_ja/tour/unified-types.md index 98482b1c95..c694663c59 100644 --- a/_ja/tour/unified-types.md +++ b/_ja/tour/unified-types.md @@ -12,7 +12,6 @@ next-page: classes previous-page: basics prerequisite-knowledge: classes, basics -redirect_from: "/tutorials/tour/unified-types.html" --- Scalaでは数値や関数を含め、全ての値は型を持ちます。 以下の図は型階層の一部を説明しています。 diff --git a/_ja/tour/upper-type-bounds.md b/_ja/tour/upper-type-bounds.md index 427dbe429f..ac6b1f2440 100644 --- a/_ja/tour/upper-type-bounds.md +++ b/_ja/tour/upper-type-bounds.md @@ -11,7 +11,6 @@ num: 20 next-page: lower-type-bounds previous-page: variances -redirect_from: "/tutorials/tour/upper-type-bounds.html" --- Scalaでは [型パラメータ](generic-classes.html)と[抽象型メンバー](abstract-type-members.html) は型境界による制約をかけることができます。 diff --git a/_ja/tour/variances.md b/_ja/tour/variances.md index 35f0d01de8..523820403f 100644 --- a/_ja/tour/variances.md +++ b/_ja/tour/variances.md @@ -11,7 +11,6 @@ num: 19 next-page: upper-type-bounds previous-page: generic-classes -redirect_from: "/tutorials/tour/variances.html" --- 変位指定は複合型の間の継承関係とそれらの型パラメータ間の継承関係の相関です。