Skip to content

Commit d1072f0

Browse files
committed
Remove source files in _scala3-reference/
1 parent c247790 commit d1072f0

File tree

145 files changed

+64
-13935
lines changed

Some content is hidden

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

145 files changed

+64
-13935
lines changed

_config.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ collections:
4545
getting-started:
4646
output: true
4747
permalink: /:collection/:path.html
48-
scala3-reference: # not really a collection, but this is the only way I found to be able to generate the navigation bar on the right
49-
output: true
5048
ja: # Japanese translations
5149
output: true
5250
permalink: /:collection/:path.html
@@ -152,16 +150,6 @@ defaults:
152150
overview-name: "Scaladoc"
153151
layout: multipage-overview
154152
permalink: "/scala3/guides/scaladoc/:title.html"
155-
-
156-
scope:
157-
path: "_scala3-reference"
158-
values:
159-
scala3: true
160-
partof: scala3-reference
161-
type: section
162-
overview-name: "Scala 3 Language Reference"
163-
layout: multipage-overview
164-
permalink: "/scala3/reference/:path.html"
165153
-
166154
scope:
167155
path: "scala3"
@@ -172,7 +160,7 @@ defaults:
172160
highlighter: rouge
173161
permalink: /:categories/:title.html:output_ext
174162
baseurl:
175-
scala3ref: "/scala3/reference"
163+
scala3ref: "https://docs.scala-lang.org/scala3/reference"
176164
exclude: ["vendor"]
177165
plugins:
178166
- jekyll-redirect-from

_data/scala3-doc-nav-header.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- title: Guides
1818
url: '/scala3/guides.html'
1919
- title: Language Specification
20-
url: "/scala3/reference/overview.html"
20+
url: "https://docs.scala-lang.org/scala3/reference"
2121
- title: Scala Library API
2222
url: "https://scala-lang.org/api/3.x/"
2323
- title: Contributing Guide

_ja/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ scala3-sections:
4040
- title: "Language Reference"
4141
description: "Scala 3 の言語仕様"
4242
icon: "fa fa-book"
43-
link: /scala3/reference/overview.html
43+
link: https://docs.scala-lang.org/scala3/reference
4444

4545
scala2-sections:
4646

_ja/scala3/contribute-to-docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ Scala 3 コンパイラとライブラリへの貢献と内部に関する包括
5353
- [Issues](https://github.com/scala/docs.scala-lang/issues)
5454

5555
## Scala 3 Language Reference
56-
The [Dotty reference](/scala3/reference/overview.html) は Scala 3 になる予定である。これにはさまざまな言語仕様に関する公式のプレゼンテーションや技術的情報が含まれている。
56+
The [Dotty reference]({{ site.scala3ref }}/overview.html) は Scala 3 になる予定である。これにはさまざまな言語仕様に関する公式のプレゼンテーションや技術的情報が含まれている。
5757

58-
- [Sources](https://github.com/lampepfl/dotty/tree/master/docs/docs/reference)
58+
- [Sources](https://github.com/lampepfl/dotty/tree/main/docs/_docs)
5959
- [Issues](https://github.com/lampepfl/dotty/issues)
6060

6161

_ja/scala3/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ sections:
4040
- title: "Language Reference"
4141
description: "Scala 3 の言語仕様"
4242
icon: "fa fa-book"
43-
link: /scala3/reference/overview.html
43+
link: https://docs.scala-lang.org/scala3/reference
4444
---

_overviews/FAQ/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ and a [summary with practical differences](https://tpolecat.github.io/2014/06/09
216216

217217
Note that in **Scala 3** the differences are fewer;
218218
for example, they will be able to
219-
[accept implicit parameters](/scala3/reference/contextual/context-functions.html)
220-
as well as [type parameters](/scala3/reference/new-types/polymorphic-function-types.html).
219+
[accept implicit parameters]({{ site.scala3ref }}/contextual/context-functions.html)
220+
as well as [type parameters]({{ site.scala3ref }}/new-types/polymorphic-function-types.html).
221221

222222
Nevertheless, it is still recommended to use methods most of the time,
223223
unless you absolutely need a function. And, thanks to

_overviews/contribute/add-guides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,4 +257,4 @@ above. Here is an example using the various modifiers.
257257
[why-contribute]: {% link contribute.md %}
258258
[home]: {% link index.md %}
259259
[overviews-index]: {% link _overviews/index.md %}
260-
[scala-3-reference]: https://docs.scala-lang.org/scala3/reference/overview.html
260+
[scala-3-reference]: {{ site.scala3ref }}

_overviews/scala3-book/why-scala-3.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,10 @@ Hopefully you’ll discover more great Scala features as you use the language.
427427
[java]: {% link _overviews/scala3-book/interacting-with-java.md %}
428428
[given]: {% link _overviews/scala3-book/ca-given-using-clauses.md %}
429429
[contextual]: {% link _overviews/scala3-book/ca-contextual-abstractions-intro.md %}
430-
[reference]: {{ site.scala3ref }}/overview.html
431-
[dropped]: https://docs.scala-lang.org/scala3/reference/dropped-features.html
432-
[changed]: https://docs.scala-lang.org/scala3/reference/changed-features.html
433-
[added]: https://docs.scala-lang.org/scala3/reference/other-new-features.html
430+
[reference]: {{ site.scala3ref }}
431+
[dropped]: {{ site.scala3ref }}/dropped-features.html
432+
[changed]: {{ site.scala3ref }}/changed-features.html
433+
[added]:{{ site.scala3ref }}/other-new-features.html
434434

435435
[union-types]: {% link _overviews/scala3-book/types-union.md %}
436436
[opaque-types]: {% link _overviews/scala3-book/types-opaque-types.md %}

_overviews/scala3-contribution/arch-lifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ tools // contains helpers and the `scala` generic runner
8888
[dotty.tools]: https://github.com/lampepfl/dotty/tree/master/compiler/src/dotty/tools
8989
[ScalaSettings]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
9090
[phase-categories]: {% link _overviews/scala3-contribution/arch-phases.md %}#phase-categories
91-
[syntax]: {% link _scala3-reference/syntax.md %}
91+
[syntax]: {{ site.scala3ref }}/syntax.html
9292
[Main]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Main.scala
9393
[Driver]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Driver.scala
9494
[Compiler]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Compiler.scala

_overviews/scala3-contribution/arch-phases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ These map the transformed trees to Java classfiles or SJSIR files.
110110
[patternMatcher]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala
111111
[erasure]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/transform/Erasure.scala
112112
[Mirror]: https://github.com/lampepfl/dotty/blob/master/library/src/scala/deriving/Mirror.scala
113-
[PCP]: {% link _scala3-reference/metaprogramming/macros.md %}#the-phase-consistency-principle
113+
[PCP]: {{ site.scala3ref }}/metaprogramming/macros.html#the-phase-consistency-principle

0 commit comments

Comments
 (0)