Skip to content

Commit

Permalink
Merge pull request scala#2700 from dotty-staging/fix-broken-links
Browse files Browse the repository at this point in the history
Fix more broken links
  • Loading branch information
felixmulder authored Jun 7, 2017
2 parents a527f3b + 66386ea commit 3ad624f
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 39 deletions.
6 changes: 3 additions & 3 deletions docs/blog/_posts/2017-05-31-first-dotty-milestone-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ using Dotty with sbt, see the
### Standalone installation

Releases are available for download on the _Releases_
section of the Dotty repository:
section of the Dotty repository:
https://github.com/lampepfl/dotty/releases

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

[Scastie], the online Scala playground,
supports Dotty.
supports Dotty.
You can try it out there without installing anything.

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

We also ship with tools that help you try out the Dotty platform:
Expand Down
10 changes: 5 additions & 5 deletions docs/docs/contributing/backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ title: Working with the Backend
---

The compiler backend is based on a fork of the Scala 2.11 `GenBCode` backend and
lives at
lives at

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

## Environment setup

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

2. Fork scala from github

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

Expand Down Expand Up @@ -65,7 +65,7 @@ in the root Dotty repository, not in the submodule:

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

git commit -am "Update backend to include ..."
Expand Down
10 changes: 0 additions & 10 deletions docs/docs/internals/benchmarks.md

This file was deleted.

10 changes: 5 additions & 5 deletions docs/docs/internals/dotc-scalac.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ title: "Differences between Scalac and Dotty"
---

Overview explanation how symbols, named types and denotations hang together:
[Denotations.scala:22]
[Denotations1]

### Denotation ###
Comment with a few details: [Denotations.scala:70]
Comment with a few details: [Denotations2]

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

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

`@todo`

[Denotations.scala:22]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Denotations.scala#L22
[Denotations.scala:70]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Denotations.scala#L70
[Signature.scala:7]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Signature.scala#L7
[Denotations1]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Denotations.scala#L27-L72
[Denotations2]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Denotations.scala#L77-L103
[Signature1]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Signature.scala#L9-L33
6 changes: 3 additions & 3 deletions docs/docs/internals/periods.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ object Period {

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

[runs]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/Run.scala
[phases]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Phases.scala
[period]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Periods.scala
[runs]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/Run.scala
[phases]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Phases.scala
[period]: https://github.com/lampepfl/dotty/blob/a527f3b1e49c0d48148ccfb2eb52e3302fc4a349/compiler/src/dotty/tools/dotc/core/Periods.scala
4 changes: 2 additions & 2 deletions docs/docs/internals/type-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ TODO
## Type inference via constraint solving ##
TODO

[1]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/Types.scala
[1]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/core/Types.scala
[2]: https://github.com/samuelgruetter/dotty/blob/classdiagrampdf/dotty-types.pdf
[3]: https://github.com/samuelgruetter/scaladiagrams/tree/print-descendants
[4]: https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/core/TypeComparer.scala
[4]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/core/TypeComparer.scala
[5]: https://github.com/lampepfl/dotty/blob/master/tests/pos/refinedSubtyping.scala
2 changes: 1 addition & 1 deletion docs/docs/reference/enums/adts.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ enum Color(val rgb: Int) {
### Syntax of Enums

Changes to the syntax fall in two categories: enum classes and cases inside enums.
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)
The changes are specified below as deltas with respect to the Scala syntax given [here](http://dotty.epfl.ch/docs/internals/syntax.html)

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

Expand Down
16 changes: 8 additions & 8 deletions docs/docs/release-notes/0.1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ title: 0.1.2 release notes
0.1.2 will be the first public release of Dotty.
Being the first one, these notes are incomplete.
This document is a work in progress until 0.1.2-final is released.
These notes are up-to-date based on 0.1.2-RC1 and will be updated
These notes are up-to-date based on 0.1.2-RC1 and will be updated
with changes that happen during the RC stabilization cycle.

# Required Java Version
Dotty 0.1.2 targets Java 8. We don't have plans to add support for earlier versions of Java.

Dotty 0.1.2 targets Java 8. We don't have plans to add support for earlier versions of Java.

# IDE support for Dotty

# Reporting Bugs / Known Issues

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

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

# Contributors
The Dotty team and contributors have closed 750 issues and have merged a total of 1258 pull requests.

Concretely, according to

```
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
```
Expand Down
2 changes: 0 additions & 2 deletions docs/sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ sidebar:
subsection:
- title: Backend
url: docs/internals/backend.html
- title: Benchmarks
url: docs/internals/benchmarks.html
- title: Classpaths
url: docs/internals/classpaths.html
- title: Core Data Structrues
Expand Down

0 comments on commit 3ad624f

Please sign in to comment.