Skip to content

Commit 66386ea

Browse files
Fix more broken links
I also removed the Benchmarks section for now since it's outdated.
1 parent a527f3b commit 66386ea

File tree

9 files changed

+27
-39
lines changed

9 files changed

+27
-39
lines changed

docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ using Dotty with sbt, see the
4545
### Standalone installation
4646

4747
Releases are available for download on the _Releases_
48-
section of the Dotty repository:
48+
section of the Dotty repository:
4949
https://github.com/lampepfl/dotty/releases
5050

5151
We also provide a [homebrew](https://brew.sh/) package that can be installed by running
@@ -57,7 +57,7 @@ brew install lampepfl/brew/dotty
5757
### Scastie
5858

5959
[Scastie], the online Scala playground,
60-
supports Dotty.
60+
supports Dotty.
6161
You can try it out there without installing anything.
6262

6363
# What’s in the 0.1.2-RC1 technology preview?
@@ -67,7 +67,7 @@ This technology preview demonstrates new language features planned for Scala 3:
6767
- [Union Types](http://dotty.epfl.ch/docs/reference/union-types.html)
6868
- [Trait Parameters](http://dotty.epfl.ch/docs/reference/trait-parameters.html)
6969
- [Enumerations](http://dotty.epfl.ch/docs/reference/enums/enums.html)
70-
- [Algebraic Data Types](http://dotty.epfl.ch/docs/reference/adts.html)
70+
- [Algebraic Data Types](http://dotty.epfl.ch/docs/reference/enums/adts.html)
7171
- [By-Name Implicits](http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html)
7272

7373
We also ship with tools that help you try out the Dotty platform:

docs/docs/contributing/backend.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ title: Working with the Backend
44
---
55

66
The compiler backend is based on a fork of the Scala 2.11 `GenBCode` backend and
7-
lives at
7+
lives at
88

99
> https://github.com/lampepfl/scala/tree/sharing-backend
1010
1111
The Dotty source tree contains a git submodule in the directory
12-
[scala-backend](https://github.com/lampepfl/dotty/tree/master/scala-backend)
12+
[scala-backend](https://github.com/lampepfl/scala/tree/sharing-backend)
1313
that points to this fork. We do not compile every file in this submodule,
1414
instead we add the subset of files we need to the dotty-compiler project in the
1515
sbt build.
@@ -24,7 +24,7 @@ $ git submodule update --init
2424

2525
## Environment setup
2626

27-
1. Set the following git configuration options to make working with submodules easier,
27+
1. Set the following git configuration options to make working with submodules easier,
2828
see the [Git Book](https://git-scm.com/book/en/v2/Git-Tools-Submodules)
2929
for more information:
3030
``` shell
@@ -35,7 +35,7 @@ $ git config --global push.recurseSubmodules check
3535

3636
2. Fork scala from github
3737

38-
> https://github.com/lampepfl/scala
38+
> https://github.com/lampepfl/scala
3939
4040
(in the following commands, `dotty-staging/scala` is used as a placeholder for your own fork).
4141

@@ -65,7 +65,7 @@ in the root Dotty repository, not in the submodule:
6565

6666
``` shell
6767
# The --remote option will update the submodule to the latest commit in the
68-
# https://github.com/lampepfl/dotty/tree/master/scala-backend branch
68+
# https://github.com/lampepfl/scala/tree/sharing-backend branch
6969
git submodule update --init --remote
7070

7171
git commit -am "Update backend to include ..."

docs/docs/internals/benchmarks.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/docs/internals/dotc-scalac.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ title: "Differences between Scalac and Dotty"
44
---
55

66
Overview explanation how symbols, named types and denotations hang together:
7-
[Denotations.scala:22]
7+
[Denotations1]
88

99
### Denotation ###
10-
Comment with a few details: [Denotations.scala:70]
10+
Comment with a few details: [Denotations2]
1111

1212
A `Denotation` is the result of a name lookup during a given period
1313

@@ -97,6 +97,6 @@ if (sym is Flags.PackageClass) // dotc (*)
9797

9898
`@todo`
9999

100-
[Denotations.scala:22]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Denotations.scala#L22
101-
[Denotations.scala:70]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Denotations.scala#L70
102-
[Signature.scala:7]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Signature.scala#L7
100+
[Denotations1]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Denotations.scala#L27-L72
101+
[Denotations2]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Denotations.scala#L77-L103
102+
[Signature1]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Signature.scala#L9-L33

docs/docs/internals/periods.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ object Period {
8888

8989
As a sentinel value there's `Nowhere`, a period that is empty.
9090

91-
[runs]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/Run.scala
92-
[phases]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Phases.scala
93-
[period]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Periods.scala
91+
[runs]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/Run.scala
92+
[phases]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Phases.scala
93+
[period]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Periods.scala

docs/docs/internals/type-system.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ TODO
131131
## Type inference via constraint solving ##
132132
TODO
133133

134-
[1]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Types.scala
134+
[1]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/core/Types.scala
135135
[2]: https://github.com/samuelgruetter/dotty/blob/classdiagrampdf/dotty-types.pdf
136136
[3]: https://github.com/samuelgruetter/scaladiagrams/tree/print-descendants
137-
[4]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/TypeComparer.scala
137+
[4]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/core/TypeComparer.scala
138138
[5]: https://github.com/lampepfl/dotty/blob/master/tests/pos/refinedSubtyping.scala

docs/docs/reference/enums/adts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ enum Color(val rgb: Int) {
9999
### Syntax of Enums
100100

101101
Changes to the syntax fall in two categories: enum classes and cases inside enums.
102-
The changes are specified below as deltas with respect to the Scala syntax given [here](https://github.com/lampepfl/dotty/blob/master/docs/docs/internals/syntax.md)
102+
The changes are specified below as deltas with respect to the Scala syntax given [here](http://dotty.epfl.ch/docs/internals/syntax.html)
103103

104104
1. Enum definitions and enum classes are defined as follows:
105105

docs/docs/release-notes/0.1.2.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ title: 0.1.2 release notes
66
0.1.2 will be the first public release of Dotty.
77
Being the first one, these notes are incomplete.
88
This document is a work in progress until 0.1.2-final is released.
9-
These notes are up-to-date based on 0.1.2-RC1 and will be updated
9+
These notes are up-to-date based on 0.1.2-RC1 and will be updated
1010
with changes that happen during the RC stabilization cycle.
1111

1212
# Required Java Version
13-
14-
Dotty 0.1.2 targets Java 8. We don't have plans to add support for earlier versions of Java.
13+
14+
Dotty 0.1.2 targets Java 8. We don't have plans to add support for earlier versions of Java.
1515

1616
# IDE support for Dotty
1717

1818
# Reporting Bugs / Known Issues
1919

20-
Please [file](https://github.com/lampepfl/dotty/issues) any bugs you encounter. If you’re unsure whether something is a bug,
20+
Please [file](https://github.com/lampepfl/dotty/issues) any bugs you encounter. If you’re unsure whether something is a bug,
2121
please ask on the Dotty [gitter channel](https://github.com/lampepfl/dotty).
2222

2323
# Dotty Doc
@@ -78,8 +78,8 @@ This release ships with the following features:
7878
[2]: https://infoscience.epfl.ch/record/222780?ln=en
7979
[3]: http://dotty.epfl.ch/docs/reference/intersection-types.html
8080
[4]: http://dotty.epfl.ch/docs/reference/union-types.html
81-
[5]: http://dotty.epfl.ch/docs/reference/adts.html
82-
[6]: http://dotty.epfl.ch/docs/reference/desugarEnums.html
81+
[5]: http://dotty.epfl.ch/docs/reference/enums/adts.html
82+
[6]: http://dotty.epfl.ch/docs/reference/enums/desugarEnums.html
8383
[7]: http://dotty.epfl.ch/docs/reference/implicit-by-name-parameters.html
8484
[8]: https://infoscience.epfl.ch/record/228518
8585
[9]: http://docs.scala-lang.org/sips/pending/static-members.html
@@ -110,9 +110,9 @@ This release ships with the following features:
110110

111111
# Contributors
112112
The Dotty team and contributors have closed 750 issues and have merged a total of 1258 pull requests.
113-
113+
114114
Concretely, according to
115-
115+
116116
```
117117
git ls-tree -r -z --name-only HEAD -- |egrep -z -Z -E '\.(scala)$'| xargs -0 -n1 git blame --line-porcelain |grep "^author "|sort|uniq -c|sort -nr
118118
```

docs/sidebar.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ sidebar:
105105
subsection:
106106
- title: Backend
107107
url: docs/internals/backend.html
108-
- title: Benchmarks
109-
url: docs/internals/benchmarks.html
110108
- title: Classpaths
111109
url: docs/internals/classpaths.html
112110
- title: Core Data Structrues

0 commit comments

Comments
 (0)