Skip to content

Commit 57f9d60

Browse files
authored
Merge pull request #14055 from BarkingBad/scaladoc/clean-preprocessing-leftovers
Scaladoc - clean preprocessing leftovers
2 parents 0367d6b + fc8abc6 commit 57f9d60

File tree

147 files changed

+496
-998
lines changed

Some content is hidden

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

147 files changed

+496
-998
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,8 @@ jobs:
473473
DOTTY_WEBSITE_BOT_TOKEN: ${{ secrets.BOT_TOKEN }} # If you need to change this:
474474
# Generate one at https://github.com/settings/tokens
475475
# Make sure you have the write permissions to the repo: https://github.com/lampepfl/dotty-website
476-
DOCS_SCALALANG_BOT_TOKEN: ${{ secrets.DOCS_SCALALANG_BOT_TOKEN }} # If you need to change this:
476+
# Currently unused token, no need to deploy anything to docs.scala-lang
477+
# DOCS_SCALALANG_BOT_TOKEN: ${{ secrets.DOCS_SCALALANG_BOT_TOKEN }} # If you need to change this:
477478
# Generate one at https://github.com/settings/tokens
478479
# Make sure you have the write permissions to the repo: https://github.com/scala/docs.scala-lang
479480

.gitignore

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ cs
103103
# Coursier test product
104104
compiler/test-coursier/run/*.jar
105105

106-
# Docs
107-
docs-for-dotty-page/*
108-
109-
# docs.scala-lang deplyment temp dir
110-
docsScalaLang/
111-
docs/_site/
106+
# docs related
107+
contributors.js
108+
content-contributors.css

build.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ val scaladoc = Build.scaladoc
2222
val `scaladoc-testcases` = Build.`scaladoc-testcases`
2323
val `scaladoc-js-common` = Build.`scaladoc-js-common`
2424
val `scaladoc-js-main` = Build.`scaladoc-js-main`
25-
val `scaladoc-js-markdown` = Build.`scaladoc-js-markdown`
2625
val `scaladoc-js-contributors` = Build.`scaladoc-js-contributors`
2726
val `scala3-bench-run` = Build.`scala3-bench-run`
2827
val dist = Build.dist

docs/README.md

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

docs/docs/reference/changed-features.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: doc-page
3+
title: "Other Changed Features"
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features.html
5+
---
6+
7+
The following pages document the features that have changed in Scala 3, compared to Scala 2.

docs/docs/reference/changed-features/compiler-plugins.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2+
layout: doc-page
23
title: "Changes in Compiler Plugins"
3-
type: section
4-
num: 68
5-
previous-page: /scala3/reference/changed-features/eta-expansion
6-
next-page: /scala3/reference/changed-features/lazy-vals-init
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/compiler-plugins.html
75
---
86

97
Compiler plugins are supported by Dotty (and Scala 3) since 0.9. There are two notable changes

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
layout: singlepage-overview
3-
scala3: true
2+
layout: doc-page
43
title: "Automatic Eta Expansion - More Details"
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/eta-expansion-spec.html
55
---
66

77
## Motivation

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2+
layout: doc-page
23
title: "Automatic Eta Expansion"
3-
type: section
4-
num: 67
5-
previous-page: /scala3/reference/changed-features/pattern-matching
6-
next-page: /scala3/reference/changed-features/compiler-plugins
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/eta-expansion.html
75
---
86

97
The conversion of _methods_ into _functions_ has been improved and happens automatically for methods with one or more parameters.
@@ -38,7 +36,7 @@ rather than `next _`.
3836
The reason for excluding nullary methods from automatic eta expansion
3937
is that Scala implicitly inserts the `()` argument, which would
4038
conflict with eta expansion. Automatic `()` insertion is
41-
[limited](../dropped-features/auto-apply.html) in Scala 3, but the fundamental ambiguity
39+
[limited](../dropped-features/auto-apply.md) in Scala 3, but the fundamental ambiguity
4240
remains.
4341

44-
[More details](eta-expansion-spec.html)
42+
[More details](eta-expansion-spec.md)

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
layout: singlepage-overview
3-
scala3: true
2+
layout: doc-page
43
title: "Implicit Conversions - More Details"
4+
movedTo: https://docs.scala-lang.org/scala3/reference/changed-features/implicit-conversions-spec.html
55
---
66

77
## Implementation
@@ -82,7 +82,7 @@ implicit val myConverter: Int => String = _.toString
8282
implicit val myConverter: Conversion[Int, String] = _.toString
8383
```
8484

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

8787
## Motivation for the changes
8888

@@ -109,9 +109,9 @@ will report a type error, because `Map` isn't an instance of
109109
Implicit values that are used as views should see their type changed to `Conversion`.
110110

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

114114
## Reference
115115

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

0 commit comments

Comments
 (0)