Skip to content

Commit 32012f7

Browse files
Merge pull request #6811 from sideeffffect/doc-typo-fix
Make links relative and to `.md` (instead of `.html`)
2 parents 83cb7e7 + ebc1b42 commit 32012f7

Some content is hidden

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

50 files changed

+163
-163
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ conflict with eta expansion. Automatic `()` insertion is
3838
[limited](../dropped-features/auto-apply.md) in Dotty, but the fundamental ambiguity
3939
remains.
4040

41-
[More details](eta-expansion-spec.html)
41+
[More details](eta-expansion-spec.md)
4242

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ implicit val myConverter: Conversion[Int, String] = _.toString
8181
```
8282

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

8787
## Motivation for the changes
@@ -111,12 +111,12 @@ to `Conversion`.
111111

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

116116
## Reference
117117

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ implicitly[Ordering[A]] // Ok, will use the implicit conversion from
6161
// `A` to `Int` and the `Ordering` for `Int`.
6262
```
6363

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ resolution yields several competing alternatives when `n >= 1` parameter lists a
4141
into account, then resolution re-tried using `n + 1` argument lists.
4242

4343
This change is motivated by the new language feature [extension
44-
methods](../contextual/extension-methods.html), where emerges the need to do
44+
methods](../contextual/extension-methods.md), where emerges the need to do
4545
overload resolution based on additional argument blocks.
4646

4747
## Parameter Types of Function Values

docs/docs/reference/changed-features/structural-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ differences.
7474
`ClassTag` indicating the method's formal parameter types. `Dynamic`
7575
comes with `updateDynamic`.
7676

77-
[More details](structural-types-spec.html)
77+
[More details](structural-types-spec.md)

docs/docs/reference/contextual/delegates.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Given Instances"
44
---
55

66
Given instances (or, simply, "givens") define "canonical" values of certain types
7-
that serve for synthesizing arguments to [given clauses](./given-clauses.html). Example:
7+
that serve for synthesizing arguments to [given clauses](./given-clauses.md). Example:
88

99
```scala
1010
trait Ord[T] {
@@ -34,7 +34,7 @@ This code defines a trait `Ord` with two given instances. `IntOrd` defines
3434
a given for the type `Ord[Int]` whereas `ListOrd[T]` defines givens
3535
for `Ord[List[T]]` for all types `T` that come with a given instance for `Ord[T]` themselves.
3636
The `given (ord: Ord[T])` clause in `ListOrd` defines an implicit parameter.
37-
Given clauses are further explained in the [next section](./given-clauses.html).
37+
Given clauses are further explained in the [next section](./given-clauses.md).
3838

3939
## Anonymous Given Instances
4040

@@ -74,7 +74,7 @@ If a `given` definition has type parameters or a given clause, a fresh instance
7474

7575
## Syntax
7676

77-
Here is the new syntax of given instances, seen as a delta from the [standard context free syntax of Scala 3](http://dotty.epfl.ch/docs/internals/syntax.html).
77+
Here is the new syntax of given instances, seen as a delta from the [standard context free syntax of Scala 3](../../internals/syntax.md).
7878
```
7979
TmplDef ::= ...
8080
| ‘given’ GivenDef

docs/docs/reference/contextual/extension-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ As usual, type parameters of the extension method follow the defined method name
139139
### Syntax
140140

141141
The required syntax extension just adds one clause for extension methods relative
142-
to the [current syntax](https://github.com/lampepfl/dotty/blob/master/docs/docs/internals/syntax.md).
142+
to the [current syntax](../../internals/syntax.md).
143143
```
144144
DefSig ::= ...
145145
| ‘(’ DefParam ‘)’ [nl] id [DefTypeParamClause] DefParamClauses

docs/docs/reference/contextual/given-clauses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def the[T] given (x: T): x.type = x
9898

9999
## Syntax
100100

101-
Here is the new syntax of parameters and arguments seen as a delta from the [standard context free syntax of Scala 3](http://dotty.epfl.ch/docs/internals/syntax.html).
101+
Here is the new syntax of parameters and arguments seen as a delta from the [standard context free syntax of Scala 3](../../internals/syntax.md).
102102
```
103103
ClsParamClauses ::= ...
104104
| {ClsParamClause} {GivenClsParamClause}

docs/docs/reference/contextual/implicit-function-types-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ itself a implicit function literal. This is analogous to the automatic
6565
insertion of `scala.Function0` around expressions in by-name argument position.
6666

6767
Implicit function types generalize to `N > 22` in the same way that function types do, see [the corresponding
68-
documentation](https://dotty.epfl.ch/docs/reference/dropped-features/limit22.html).
68+
documentation](../dropped-features/limit22.md).
6969

7070
## Examples
7171

docs/docs/reference/contextual/implicit-function-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ as the best possible code one could write by hand:
148148
For more info, see the [blog article](https://www.scala-lang.org/blog/2016/12/07/implicit-function-types.html),
149149
(which uses a different syntax that has been superseded).
150150

151-
[More details](./implicit-function-types-spec.html)
151+
[More details](./implicit-function-types-spec.md)

0 commit comments

Comments
 (0)