Skip to content

Commit 0d357b2

Browse files
committed
Revert headers and links
1 parent 097356d commit 0d357b2

File tree

129 files changed

+445
-654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+445
-654
lines changed

.gitignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,3 @@ cs
102102

103103
# Coursier test product
104104
compiler/test-coursier/run/*.jar
105-
106-
# Docs
107-
docs-for-dotty-page/*
108-
109-
# docs.scala-lang deplyment temp dir
110-
docsScalaLang/
111-
docs/_site/

docs/README.md

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2+
layout: doc-page
23
title: "Other Changed Features"
3-
type: chapter
4-
num: 52
5-
previous-page: /scala3/reference/other-new-features/experimental-defs
6-
next-page: /scala3/reference/changed-features/numeric-literals
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features.html
75
---
86

97
The following pages document the features that have changed in Scala 3, compared to Scala 2.

docs/docs/reference/changed-features/compiler-plugins.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2+
layout: doc-page
23
title: "Changes in Compiler Plugins"
3-
type: section
4-
num: 68
5-
previous-page: /scala3/reference/changed-features/eta-expansion
6-
next-page: /scala3/reference/changed-features/lazy-vals-init
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/compiler-plugins.html
75
---
86

97
Compiler plugins are supported by Dotty (and Scala 3) since 0.9. There are two notable changes

docs/docs/reference/changed-features/eta-expansion-spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
layout: singlepage-overview
3-
scala3: true
2+
layout: doc-page
43
title: "Automatic Eta Expansion - More Details"
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/eta-expansion-spec.html
55
---
66

77
## Motivation

docs/docs/reference/changed-features/eta-expansion.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2+
layout: doc-page
23
title: "Automatic Eta Expansion"
3-
type: section
4-
num: 67
5-
previous-page: /scala3/reference/changed-features/pattern-matching
6-
next-page: /scala3/reference/changed-features/compiler-plugins
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/eta-expansion.html
75
---
86

97
The conversion of _methods_ into _functions_ has been improved and happens automatically for methods with one or more parameters.
@@ -38,7 +36,7 @@ rather than `next _`.
3836
The reason for excluding nullary methods from automatic eta expansion
3937
is that Scala implicitly inserts the `()` argument, which would
4038
conflict with eta expansion. Automatic `()` insertion is
41-
[limited](../dropped-features/auto-apply.html) in Scala 3, but the fundamental ambiguity
39+
[limited](../dropped-features/auto-apply.md) in Scala 3, but the fundamental ambiguity
4240
remains.
4341

44-
[More details](eta-expansion-spec.html)
42+
[More details](eta-expansion-spec.md)

docs/docs/reference/changed-features/implicit-conversions-spec.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
layout: singlepage-overview
3-
scala3: true
2+
layout: doc-page
43
title: "Implicit Conversions - More Details"
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/implicit-conversions-spec.html
55
---
66

77
## Implementation
@@ -82,7 +82,7 @@ implicit val myConverter: Int => String = _.toString
8282
implicit val myConverter: Conversion[Int, String] = _.toString
8383
```
8484

85-
Note that implicit conversions are also affected by the [changes to implicit resolution](implicit-resolution.html) between Scala 2 and Scala 3.
85+
Note that implicit conversions are also affected by the [changes to implicit resolution](implicit-resolution.md) between Scala 2 and Scala 3.
8686

8787
## Motivation for the changes
8888

@@ -109,9 +109,9 @@ will report a type error, because `Map` isn't an instance of
109109
Implicit values that are used as views should see their type changed to `Conversion`.
110110

111111
For the migration of implicit conversions that are affected by the
112-
changes to implicit resolution, refer to the [Changes in Implicit Resolution](implicit-resolution.html) for more information.
112+
changes to implicit resolution, refer to the [Changes in Implicit Resolution](implicit-resolution.md) for more information.
113113

114114
## Reference
115115

116-
For more information about implicit resolution, see [Changes in Implicit Resolution](implicit-resolution.html).
116+
For more information about implicit resolution, see [Changes in Implicit Resolution](implicit-resolution.md).
117117
Other details are available in [PR #2065](https://github.com/lampepfl/dotty/pull/2065).

docs/docs/reference/changed-features/implicit-conversions.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2+
layout: doc-page
23
title: "Implicit Conversions"
3-
type: section
4-
num: 61
5-
previous-page: /scala3/reference/changed-features/implicit-resolution
6-
next-page: /scala3/reference/changed-features/overload-resolution
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/implicit-conversions.html
75
---
86

97
An _implicit conversion_, also called _view_, is a conversion that
@@ -63,4 +61,4 @@ implicitly[Ordering[A]] // Ok, will use the implicit conversion from
6361
// `A` to `Int` and the `Ordering` for `Int`.
6462
```
6563

66-
[More details](implicit-conversions-spec.html)
64+
[More details](implicit-conversions-spec.md)

docs/docs/reference/changed-features/implicit-resolution.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2+
layout: doc-page
23
title: "Changes in Implicit Resolution"
3-
type: section
4-
num: 60
5-
previous-page: /scala3/reference/changed-features/type-inference
6-
next-page: /scala3/reference/changed-features/implicit-conversions
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/implicit-resolution.html
75
---
86

97
This section describes changes to the implicit resolution that apply both to the new `given`s and to the old-style `implicit`s in Scala 3.

docs/docs/reference/changed-features/imports.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2+
layout: doc-page
23
title: "Imports"
3-
type: section
4-
num: 57
5-
previous-page: /scala3/reference/changed-features/wildcards
6-
next-page: /scala3/reference/changed-features/type-checking
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/imports.html
75
---
86

97
The syntax of wildcard and renaming imports (and exports) has changed.

0 commit comments

Comments
 (0)