Skip to content

Commit fa60d7e

Browse files
authored
Merge branch 'scala:main' into main
2 parents cf7171d + e36fb38 commit fa60d7e

File tree

162 files changed

+5078
-1106
lines changed

Some content is hidden

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

162 files changed

+5078
-1106
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/_ja @scala/docs-ja

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: bundler
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
ignore:
9+
- dependency-name: html-proofer
10+
versions:
11+
- "> 3.15.3"

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
run: bundle exec jekyll build
2323
- name: HTMLProofer
2424
run: |
25-
# # Checking for docs.scala-lang/blob/master leads to a chicken and egg problem because of the edit links of new pages.
25+
# # Checking for docs.scala-lang/blob/main leads to a chicken and egg problem because of the edit links of new pages.
2626
bundle exec htmlproofer ./_site/\
2727
--only-4xx\
2828
--http-status-ignore "400,401,429"\
2929
--empty-alt-ignore\
3030
--allow-hash-href\
31-
--url-ignore '/https://github.com/scala/docs.scala-lang/blob/master/.*/,/www.oracle.com/'
31+
--url-ignore '/https://github.com/scala/docs.scala-lang/blob/main/.*/,/www.oracle.com/'
3232

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ _site
88
vendor/bundle
99
.idea/
1010
/coursier
11-
/tut-tmp/
1211
.sass-cache/

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ruby:2.5
2+
3+
RUN gem install bundler jekyll
4+
5+
WORKDIR /srv/jekyll
6+
7+
COPY Gemfile .
8+
COPY Gemfile.lock .
9+
10+
RUN bundle install
11+

Gemfile.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ GEM
44
addressable (2.7.0)
55
public_suffix (>= 2.0.2, < 5.0)
66
colorator (1.1.0)
7-
concurrent-ruby (1.1.7)
8-
em-websocket (0.5.1)
7+
concurrent-ruby (1.1.8)
8+
em-websocket (0.5.2)
99
eventmachine (>= 0.12.9)
1010
http_parser.rb (~> 0.6.0)
1111
ethon (0.12.0)
1212
ffi (>= 1.3.0)
1313
eventmachine (1.2.7)
14-
ffi (1.13.1)
14+
ffi (1.15.0)
1515
forwardable-extended (2.6.0)
1616
html-proofer (3.15.3)
1717
addressable (~> 2.3)
@@ -24,7 +24,7 @@ GEM
2424
http_parser.rb (0.6.0)
2525
i18n (0.9.5)
2626
concurrent-ruby (~> 1.0)
27-
jekyll (3.9.0)
27+
jekyll (3.9.1)
2828
addressable (~> 2.4)
2929
colorator (~> 1.0)
3030
em-websocket (~> 0.5)
@@ -37,7 +37,7 @@ GEM
3737
pathutil (~> 0.9)
3838
rouge (>= 1.7, < 4)
3939
safe_yaml (~> 1.0)
40-
jekyll-redirect-from (0.15.0)
40+
jekyll-redirect-from (0.16.0)
4141
jekyll (>= 3.3, < 5.0)
4242
jekyll-sass-converter (1.5.2)
4343
sass (~> 3.4)
@@ -50,27 +50,27 @@ GEM
5050
kramdown-parser-gfm (1.1.0)
5151
kramdown (~> 2.0)
5252
liquid (4.0.3)
53-
listen (3.2.1)
53+
listen (3.5.1)
5454
rb-fsevent (~> 0.10, >= 0.10.3)
5555
rb-inotify (~> 0.9, >= 0.9.10)
5656
mercenary (0.3.6)
57-
mini_portile2 (2.5.0)
58-
nokogiri (1.11.1)
57+
mini_portile2 (2.5.1)
58+
nokogiri (1.11.4)
5959
mini_portile2 (~> 2.5.0)
6060
racc (~> 1.4)
6161
nokogumbo (2.0.2)
6262
nokogiri (~> 1.8, >= 1.8.4)
6363
parallel (1.19.2)
6464
pathutil (0.16.2)
6565
forwardable-extended (~> 2.6)
66-
public_suffix (4.0.5)
66+
public_suffix (4.0.6)
6767
racc (1.5.2)
6868
rainbow (3.0.0)
69-
rb-fsevent (0.10.4)
69+
rb-fsevent (0.11.0)
7070
rb-inotify (0.10.1)
7171
ffi (~> 1.0)
72-
rexml (3.2.4)
73-
rouge (3.22.0)
72+
rexml (3.2.5)
73+
rouge (3.26.0)
7474
safe_yaml (1.0.5)
7575
sass (3.7.4)
7676
sass-listen (~> 4.0.0)

_books/2-programming-scala.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: "Programming Scala"
3-
link: https://shop.oreilly.com/product/0636920033073.do
3+
link: http://programming-scala.com
44
image: /resources/img/books/ProgrammingScala-final-border.gif
5-
status: Updated for Scala 2.12
6-
authors: ["Alex Payne", "Dean Wampler"]
5+
status: Updated for Scala 3
6+
authors: ["Dean Wampler"]
77
publisher: O’Reilly
88
publisherLink: https://www.oreilly.com/
99
---
1010

11-
Both are industry experts, Alex Payne being the lead API programmer at Twitter, a social networking service based on Scala. O’Reilly, the publisher, writes: "Learn how to be more productive with Scala, a new multi-paradigm language for the Java Virtual Machine (JVM) that integrates features of both object-oriented and functional programming. With this book, you'll discover why Scala is ideal for highly scalable, component-based applications that support concurrency and distribution. You'll also learn how to leverage the wealth of Java class libraries to meet the practical needs of enterprise and Internet projects more easily."
11+
Dean is a well-known member of the Scala community, using Scala recently for streaming data systems at Lightbend and now at Domino Data Lab. This edition covers the new features of Scala 3, with comparisons to Scala 2, both to explain why the changes were made and how they improve Scala, and also to enable developers using mixed Scala 2 and 3 code bases to work effectively. The book is aimed at professional programmers who want a comprehensive, in-depth, yet pragmatic tour of Scala and best practices for using it.

_config.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ keywords:
1515
- Document
1616
- Guide
1717

18-
scala-version: 2.13.5
19-
scala-212-version: 2.12.13
20-
scala-3-version: 3.0.0-RC1
18+
scala-version: 2.13.6
19+
scala-212-version: 2.12.14
20+
scala-3-version: 3.0.0
2121
scala-3-plugin-version: 0.5.1
2222

2323
collections:
@@ -103,6 +103,17 @@ defaults:
103103
overview-name: "Scala 3 — Book"
104104
layout: multipage-overview
105105
permalink: "/scala3/book/:title.html"
106+
-
107+
scope:
108+
path: "_overviews/scala3-migration"
109+
values:
110+
scala3: true
111+
# num: 99 # to list them in the TOC, should be overwritten individually
112+
partof: scala3-migration
113+
type: section
114+
overview-name: "Scala 3 Migration Guide"
115+
layout: multipage-overview
116+
permalink: "/scala3/guides/migration/:title.html"
106117
-
107118
scope:
108119
path: "_overviews/scala3-macros"

_data/compiler-options.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,9 +611,22 @@
611611
- option: "-Vimplicits"
612612
schema:
613613
type: "Boolean"
614-
description: "Show more detail on why some implicits are not applicable."
614+
description: "Print dependent missing implicits."
615615
abbreviations:
616616
- "-Xlog-implicits"
617+
- option: "-Vimplicits-verbose-tree"
618+
schema:
619+
type: "Boolean"
620+
description: "Display all intermediate implicits in a chain."
621+
- option: "-Vimplicits-max-refined"
622+
schema:
623+
type: "Int"
624+
default: "0"
625+
description: "max chars for printing refined types, abbreviate to `F {...}`"
626+
- option: "-Vtype-diffs"
627+
schema:
628+
type: "Boolean"
629+
description: "Print found/required error messages as colored diffs."
617630
- option: "-Vinline"
618631
schema:
619632
type: "String"

_data/overviews.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,11 @@
254254
icon: cog
255255
url: "compiler-options/index.html"
256256
description: "Various options to control how scalac compiles your code."
257+
- title: Error Formatting
258+
by: Torsten Schmits
259+
icon: cog
260+
url: "compiler-options/errors.html"
261+
description: "A new engine for more user-friendly error messages, printing chains of dependent implicits and colored found/required type diffs."
257262

258263

259264
- category: Legacy

_data/scala3-doc-nav-header.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- title: Macro Tutorial
1111
url: "/scala3/guides/macros/index.html"
1212
- title: Migrate
13-
url: "https://scalacenter.github.io/scala-3-migration-guide"
13+
url: "/scala3/guides/migration/compatibility-intro.html"
1414
- title: Reference
1515
url: "https://dotty.epfl.ch/docs/reference/overview.html"
1616
- title: API

_getting-started/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The Scala installer is a tool named `cs` that ensures that a JVM and standard Sc
2222

2323
<div class="main-download">
2424
<div id="download-step-one">
25-
<p>Follow <a href="https://get-coursier.io/docs/cli-overview.html#install-native-launcher" target="_blank">the instructions to install the <code>cs</code> launcher</a> then run:</p>
25+
<p>Follow <a href="https://get-coursier.io/docs/cli-installation.html#native-launcher" target="_blank">the instructions to install the <code>cs</code> launcher</a> then run:</p>
2626
<p><code>$ ./cs setup</code></p>
2727
</div>
2828
</div>

_includes/footer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
<script src="{{ site.baseurl }}/resources/js/vendor/unslider.js" type="text/javascript"></script>
4040

4141
<!-- Highlight -->
42-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" type="text/javascript"></script>
43-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/scala.min.js" type="text/javascript"></script>
44-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/java.min.js" type="text/javascript"></script>
42+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/highlight.min.js" type="text/javascript"></script>
43+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/languages/scala.min.js" type="text/javascript"></script>
44+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/languages/java.min.js" type="text/javascript"></script>
4545

4646
<!-- CodeMirror -->
4747
<script src="{{ site.baseurl }}/resources/js/vendor/codemirror/codemirror.js" type="text/javascript"></script>

_includes/sidebar-toc-glossary.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ <h5 class="contents">Terms</h5>
55
<div id="toc"></div>
66
</div>
77
<hr>
8-
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/master/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
8+
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/main/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
99
</div>
1010
</div>

_includes/sidebar-toc-multipage-overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ <h5 class="contents">Contents</h5>
6262
{% endif %}
6363
</div>
6464
<hr>
65-
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/master/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
65+
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/main/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
6666
</div>
6767
</div>

_includes/sidebar-toc-singlepage-overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ <h5 class="contents">Contents</h5>
2626
{% endif %}
2727
</div>
2828
<hr>
29-
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/master/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
29+
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/main/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
3030
</div>
3131
</div>

_includes/sidebar-toc-style.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h5 class="contents">Contents</h5>
5252
{% endif %}
5353
</div>
5454
<hr>
55-
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/master/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
55+
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/main/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
5656
</div>
5757
</div>
5858
{% endif %}

_includes/sidebar-toc-tour-overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ <h5 class="contents">Contents</h5>
4343
{% endif %}
4444
</div>
4545
<hr>
46-
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/master/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
46+
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/main/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
4747
</div>
4848
</div>

_includes/sidebar-toc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h5 class="contents">Contents</h5>
5252
{% endif %}
5353
</div>
5454
<hr>
55-
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/master/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
55+
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/main/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
5656
</div>
5757
</div>
5858
{% endif %}

_includes/tutorial-toc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ <h5>Contents</h5>
2424
{% include tutorial-tour-list.txt %}
2525
</div>
2626
<hr>
27-
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/master/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
27+
<div class="help-us"><a href="https://github.com/scala/docs.scala-lang/blob/main/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
2828
</div>
2929
</div>

_includes/upcoming-training.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ <h4>{{training.title}}</h4>
3333
{% endfor %}
3434
</div>
3535
<div class="call-to-action action-medium">
36-
<p class="align-top">See <a href="/training/">more training</a> or <a href="https://github.com/scala/scala-lang/tree/master/training">add one to our feed</a></p>
36+
<p class="align-top">See <a href="/training/">more training</a> or <a href="https://github.com/scala/scala-lang/tree/main/training">add one to our feed</a></p>
3737
</div>
38-
</div>
38+
</div>

_ja/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ scala3-sections:
2727
- title: "Migration Guide"
2828
description: "Scala 2 から Scala 3 へ移行するためのガイド"
2929
icon: "fa fa-suitcase"
30-
link: https://scalacenter.github.io/scala-3-migration-guide/
30+
link: /scala3/guides/migration/compatibility-intro.html
3131
- title: "Guides"
3232
description: "Scala 3 の言語仕様からピックアップして解説"
3333
icon: "fa fa-map"

_ja/scala3/contribute-to-docs.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,20 @@ Scala 3 の高品質なドキュメンテーションを作るためのいくつ
3030
## Scala 3 Book
3131
[Scala 3 Book][scala3-book] は Alvin Alexander 氏 が書いている。 この本は Scala 3 のすべての重要な機能の概説書である。これから Scala を使いはじめる読者を対象にしている。
3232

33-
- [Sources](https://github.com/scala/docs.scala-lang/tree/master/_overviews/scala3-book)
33+
- [Sources](https://github.com/scala/docs.scala-lang/tree/main/_overviews/scala3-book)
3434
- [Issues](https://github.com/scala/docs.scala-lang/issues)
3535

3636
## Macros Tutorial
3737
[Macros Tutorial](/scala3/guides/macros)は Nicolas Stucki 氏 が書いている。この本では Scala 3 のマクロとそのベストプラクティスについて詳しく説明している。
3838

39-
- [Sources](https://github.com/scala/docs.scala-lang/tree/master/_overviews/scala3-macros)
39+
- [Sources](https://github.com/scala/docs.scala-lang/tree/main/_overviews/scala3-macros)
4040
- [Issues](https://github.com/scala/docs.scala-lang/issues)
4141

4242
## Migration Guide
43-
[Scala 3 Migration Guide](https://scalacenter.github.io/scala-3-migration-guide/) は Scala 2 と Scala 3 の互換性、移行に役立つツールの紹介、そして詳しい移行のガイドを含んだ包括的なドキュメントである。
43+
[Scala 3 Migration Guide](/scala3/guides/migration/compatibility-intro.html) は Scala 2 と Scala 3 の互換性、移行に役立つツールの紹介、そして詳しい移行のガイドを含んだ包括的なドキュメントである。
4444

45-
- [Contribution Overview](https://scalacenter.github.io/scala-3-migration-guide/docs/contributing.html)
46-
- [Source](https://github.com/scalacenter/scala-3-migration-guide)
47-
- [Issues](https://github.com/scalacenter/scala-3-migration-guide/issues)
45+
- [Source](https://github.com/scala/docs.scala-lang/tree/main/_overviews/scala3-migration)
46+
- [Issues](https://github.com/scalacenter/docs.scala-lang/issues)
4847

4948

5049
## Scala 3 Language Reference
@@ -56,12 +55,3 @@ The [Dotty reference](https://dotty.epfl.ch/docs/reference/overview.html) は Sc
5655

5756
[scala3-book]: {% link _overviews/scala3-book/introduction.md %}
5857

59-
[best-practices]: {% link _overviews/scala3-macros/best-practices.md %}
60-
[compiletime]: {% link _overviews/scala3-macros/tutorial/compiletime.md %}
61-
[cross-compilation]: https://scalacenter.github.io/scala-3-migration-guide/docs/macros/migration-tutorial.html#cross-building
62-
[inline]: {% link _overviews/scala3-macros/tutorial/inline.md %}
63-
[macros]: {% link _overviews/scala3-macros/tutorial/macros.md %}
64-
[migration-status]: https://scalacenter.github.io/scala-3-migration-guide/docs/macros/macro-libraries.html#macro-libraries
65-
[quotes]: {% link _overviews/scala3-macros/tutorial/quotes.md %}
66-
[tasty]: {% link _overviews/scala3-macros/tutorial/reflection.md %}
67-
[reflection-api]: https://dotty.epfl.ch/api/scala/quoted.html

_ja/scala3/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Scala 3 を使った 最初の “Hello world” プロジェクトを作れた
216216
以下の記事をチェックしよう:
217217

218218
- [The Scala 3 Book](/scala3/book/introduction.html), Scala の主要な機能の導入となる一連の短いレッスンが用意されている。
219-
- [The migration guide](https://scalacenter.github.io/scala-3-migration-guide/) 既にある Scala 2 で書かれたコードベースを Scala 3 に移行する際に役立つ情報がまとめてある。
219+
- [The migration guide](/scala3/guides/migration/compatibility-intro.html) 既にある Scala 2 で書かれたコードベースを Scala 3 に移行する際に役立つ情報がまとめてある。
220220

221221
他の Scala ユーザーと交流したいなら、いくつかのメーリングリストやリアルタイムチャットルームがある。
222222
これらのリソースのリストや助けを求める場所を探すには、[Scala community page](https://scala-lang.org/community/) をチェックしよう。

_ja/scala3/guides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ scala3: true
88
guides:
99
- title: "Scala 2 から Scala 3 への移行"
1010
icon: suitcase
11-
url: "https://scalacenter.github.io/scala-3-migration-guide"
11+
url: "/scala3/guides/migration/compatibility-intro.html"
1212
description: "Scala 3 との互換性と移行について知っておくべきことすべて"
1313
- title: マクロ
1414
by: Nicolas Stucki

_ja/scala3/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sections:
2828
- title: "Migration Guide"
2929
description: "Scala 2 から Scala 3 へ移行するためのガイド"
3030
icon: "fa fa-suitcase"
31-
link: https://scalacenter.github.io/scala-3-migration-guide/
31+
link: /scala3/guides/migration/compatibility-intro.html
3232
- title: "Guides"
3333
description: "Scala 3 の言語仕様からピックアップして解説"
3434
icon: "fa fa-map"

0 commit comments

Comments
 (0)