Skip to content

Commit d7c3fa4

Browse files
authored
Merge pull request #15170 from dotty-staging/scaladoc/hide-pages
Fix documentation regressions
2 parents 68765c2 + 9d79b0d commit d7c3fa4

File tree

7 files changed

+213
-173
lines changed

7 files changed

+213
-173
lines changed

docs/_docs/internals/syntax-3.1.md

+163-163
Large diffs are not rendered by default.

docs/_docs/reference/experimental/explicit-nulls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ val c = new C()
8686
```
8787

8888
The unsoundness above can be caught by the compiler with the option `-Ysafe-init`.
89-
More details can be found in [safe initialization](./safe-initialization.md).
89+
More details can be found in [safe initialization](../other-new-features/safe-initialization.md).
9090

9191
## Equality
9292

docs/_docs/reference/other-new-features/indentation-experimental.md renamed to docs/_docs/reference/experimental/fewer-braces.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: doc-page
33
title: "Fewer Braces"
4-
movedTo: https://docs.scala-lang.org/scala3/reference/other-new-features/indentation-experimental.html
4+
movedTo: https://docs.scala-lang.org/scala3/reference/experimental/fewer-braces.html
55
---
66

77
By and large, the possible indentation regions coincide with those regions where braces `{...}` are also legal, no matter whether the braces enclose an expression or a set of definitions. There is one exception, though: Arguments to function can be enclosed in braces but they cannot be simply indented instead. Making indentation always significant for function arguments would be too restrictive and fragile.

docs/_docs/release-notes-0.1.2.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,19 @@ This release ships with the following features:
7777

7878
[1]: https://docs.google.com/document/d/1h3KUMxsSSjyze05VecJGQ5H2yh7fNADtIf3chD3_wr0/edit
7979
[2]: https://infoscience.epfl.ch/record/222780?ln=en
80-
[3]: ../reference/new-types/intersection-types.html
81-
[4]: ../reference/new-types/union-types.html
82-
[5]: ../reference/enums/adts.html
83-
[6]: ../reference/enums/desugarEnums.html
84-
[7]: ../reference/contextual/by-name-context-parameters.html
80+
[3]: reference/new-types/intersection-types.html
81+
[4]: reference/new-types/union-types.html
82+
[5]: reference/enums/adts.html
83+
[6]: reference/enums/desugarEnums.html
84+
[7]: reference/contextual/by-name-context-parameters.html
8585
[8]: https://infoscience.epfl.ch/record/228518
8686
[9]: http://docs.scala-lang.org/sips/pending/static-members.html
8787
[10]: http://docs.scala-lang.org/sips/pending/improved-lazy-val-initialization.html
8888
[11]: http://magarciaepfl.github.io/scala/
8989
[12]: https://github.com/lampepfl/dotty/commit/b2215ed23311b2c99ea638f9d7fcad9737dba588
9090
[13]: https://github.com/lampepfl/dotty/pull/187
9191
[14]: https://github.com/lampepfl/dotty/pull/217
92-
[15]: ../reference/other-new-features/trait-parameters.html
92+
[15]: reference/other-new-features/trait-parameters.html
9393
[16]: https://github.com/lampepfl/dotty/commit/89540268e6c49fb92b9ca61249e46bb59981bf5a
9494
[17]: https://github.com/lampepfl/dotty/pull/174
9595
[18]: https://github.com/lampepfl/dotty/pull/488
@@ -104,10 +104,10 @@ This release ships with the following features:
104104
[27]: https://github.com/lampepfl/dotty/pull/2513
105105
[28]: https://github.com/lampepfl/dotty/pull/2361
106106
[29]: https://github.com/lampepfl/dotty/pull/1453
107-
[30]: ../reference/contextual/context-functions.html
107+
[30]: reference/contextual/context-functions.html
108108
[31]: https://github.com/lampepfl/dotty/pull/2136
109109
[32]: https://github.com/lampepfl/dotty/pull/1758
110-
[33]: ../reference/metaprogramming/inline.html
110+
[33]: reference/metaprogramming/inline.html
111111

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

docs/sidebar.yml

+18
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@ subsection:
2525
subsection:
2626
- page: reference/new-types/intersection-types.md
2727
- page: reference/new-types/intersection-types-spec.md
28+
hidden: true
2829
- page: reference/new-types/union-types.md
2930
- page: reference/new-types/union-types-spec.md
31+
hidden: true
3032
- page: reference/new-types/type-lambdas.md
3133
- page: reference/new-types/type-lambdas-spec.md
34+
hidden: true
3235
- page: reference/new-types/match-types.md
3336
- page: reference/new-types/dependent-function-types.md
3437
- page: reference/new-types/dependent-function-types-spec.md
38+
hidden: true
3539
- page: reference/new-types/polymorphic-function-types.md
3640
- title: Enums
3741
index: reference/enums/enums-index.md
@@ -55,6 +59,7 @@ subsection:
5559
- page: reference/contextual/multiversal-equality.md
5660
- page: reference/contextual/context-functions.md
5761
- page: reference/contextual/context-functions-spec.md
62+
hidden: true
5863
- page: reference/contextual/conversions.md
5964
- page: reference/contextual/by-name-context-parameters.md
6065
- page: reference/contextual/relationship-implicits.md
@@ -65,9 +70,11 @@ subsection:
6570
- page: reference/metaprogramming/compiletime-ops.md
6671
- page: reference/metaprogramming/macros.md
6772
- page: reference/metaprogramming/macros-spec.md
73+
hidden: true
6874
- page: reference/metaprogramming/staging.md
6975
- page: reference/metaprogramming/reflection.md
7076
- page: reference/metaprogramming/tasty-inspect.md
77+
- page: reference/metaprogramming/simple-smp.md
7178
- title: Other New Features
7279
index: reference/other-new-features/other-new-features.md
7380
subsection:
@@ -80,6 +87,7 @@ subsection:
8087
- page: reference/other-new-features/open-classes.md
8188
- page: reference/other-new-features/parameter-untupling.md
8289
- page: reference/other-new-features/parameter-untupling-spec.md
90+
hidden: true
8391
- page: reference/other-new-features/kind-polymorphism.md
8492
- page: reference/other-new-features/matchable.md
8593
- page: reference/other-new-features/threadUnsafe-annotation.md
@@ -96,6 +104,7 @@ subsection:
96104
- page: reference/changed-features/numeric-literals.md
97105
- page: reference/changed-features/structural-types.md
98106
- page: reference/changed-features/structural-types-spec.md
107+
hidden: true
99108
- page: reference/changed-features/operators.md
100109
- page: reference/changed-features/wildcards.md
101110
- page: reference/changed-features/imports.md
@@ -104,16 +113,19 @@ subsection:
104113
- page: reference/changed-features/implicit-resolution.md
105114
- page: reference/changed-features/implicit-conversions.md
106115
- page: reference/changed-features/implicit-conversions-spec.md
116+
hidden: true
107117
- page: reference/changed-features/overload-resolution.md
108118
- page: reference/changed-features/match-syntax.md
109119
- page: reference/changed-features/vararg-splices.md
110120
- page: reference/changed-features/pattern-bindings.md
111121
- page: reference/changed-features/pattern-matching.md
112122
- page: reference/changed-features/eta-expansion.md
113123
- page: reference/changed-features/eta-expansion-spec.md
124+
hidden: true
114125
- page: reference/changed-features/compiler-plugins.md
115126
- page: reference/changed-features/lazy-vals-init.md
116127
- page: reference/changed-features/main-functions.md
128+
- page: reference/changed-features/interpolation-escapes.md
117129
- title: Dropped Features
118130
index: reference/dropped-features/dropped-features.md
119131
subsection:
@@ -127,24 +139,29 @@ subsection:
127139
- page: reference/dropped-features/early-initializers.md
128140
- page: reference/dropped-features/class-shadowing.md
129141
- page: reference/dropped-features/class-shadowing-spec.md
142+
hidden: true
130143
- page: reference/dropped-features/limit22.md
131144
- page: reference/dropped-features/xml.md
132145
- page: reference/dropped-features/symlits.md
133146
- page: reference/dropped-features/auto-apply.md
134147
- page: reference/dropped-features/weak-conformance.md
135148
- page: reference/dropped-features/weak-conformance-spec.md
149+
hidden: true
136150
- page: reference/dropped-features/nonlocal-returns.md
137151
- page: reference/dropped-features/this-qualifier.md
138152
- page: reference/dropped-features/wildcard-init.md
139153
- title: Experimental Features
140154
directory: experimental
141155
index: reference/experimental/overview.md
142156
subsection:
157+
- page: reference/experimental/fewer-braces.md
143158
- page: reference/experimental/canthrow.md
144159
- page: reference/experimental/erased-defs.md
145160
- page: reference/experimental/erased-defs-spec.md
161+
hidden: true
146162
- page: reference/experimental/named-typeargs.md
147163
- page: reference/experimental/named-typeargs-spec.md
164+
hidden: true
148165
- page: reference/experimental/numeric-literals.md
149166
- page: reference/experimental/explicit-nulls.md
150167
- page: reference/experimental/main-annotation.md
@@ -188,6 +205,7 @@ subsection:
188205
- page: internals/dotc-scalac.md
189206
- page: internals/higher-kinded-v2.md
190207
- page: internals/overall-structure.md
208+
- page: internals/explicit-nulls.md
191209
- page: internals/periods.md
192210
- page: internals/syntax.md
193211
- page: internals/type-system.md

project/resources/referenceReplacements/sidebar.yml

+18
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ subsection:
55
subsection:
66
- page: reference/new-types/intersection-types.md
77
- page: reference/new-types/intersection-types-spec.md
8+
hidden: true
89
- page: reference/new-types/union-types.md
910
- page: reference/new-types/union-types-spec.md
11+
hidden: true
1012
- page: reference/new-types/type-lambdas.md
1113
- page: reference/new-types/type-lambdas-spec.md
14+
hidden: true
1215
- page: reference/new-types/match-types.md
1316
- page: reference/new-types/dependent-function-types.md
1417
- page: reference/new-types/dependent-function-types-spec.md
18+
hidden: true
1519
- page: reference/new-types/polymorphic-function-types.md
1620
- title: Enums
1721
index: reference/enums/enums-index.md
@@ -35,6 +39,7 @@ subsection:
3539
- page: reference/contextual/multiversal-equality.md
3640
- page: reference/contextual/context-functions.md
3741
- page: reference/contextual/context-functions-spec.md
42+
hidden: true
3843
- page: reference/contextual/conversions.md
3944
- page: reference/contextual/by-name-context-parameters.md
4045
- page: reference/contextual/relationship-implicits.md
@@ -45,9 +50,11 @@ subsection:
4550
- page: reference/metaprogramming/compiletime-ops.md
4651
- page: reference/metaprogramming/macros.md
4752
- page: reference/metaprogramming/macros-spec.md
53+
hidden: true
4854
- page: reference/metaprogramming/staging.md
4955
- page: reference/metaprogramming/reflection.md
5056
- page: reference/metaprogramming/tasty-inspect.md
57+
- page: reference/metaprogramming/simple-smp.md
5158
- title: Other New Features
5259
index: reference/other-new-features/other-new-features.md
5360
subsection:
@@ -60,6 +67,7 @@ subsection:
6067
- page: reference/other-new-features/open-classes.md
6168
- page: reference/other-new-features/parameter-untupling.md
6269
- page: reference/other-new-features/parameter-untupling-spec.md
70+
hidden: true
6371
- page: reference/other-new-features/kind-polymorphism.md
6472
- page: reference/other-new-features/matchable.md
6573
- page: reference/other-new-features/threadUnsafe-annotation.md
@@ -76,6 +84,7 @@ subsection:
7684
- page: reference/changed-features/numeric-literals.md
7785
- page: reference/changed-features/structural-types.md
7886
- page: reference/changed-features/structural-types-spec.md
87+
hidden: true
7988
- page: reference/changed-features/operators.md
8089
- page: reference/changed-features/wildcards.md
8190
- page: reference/changed-features/imports.md
@@ -84,16 +93,19 @@ subsection:
8493
- page: reference/changed-features/implicit-resolution.md
8594
- page: reference/changed-features/implicit-conversions.md
8695
- page: reference/changed-features/implicit-conversions-spec.md
96+
hidden: true
8797
- page: reference/changed-features/overload-resolution.md
8898
- page: reference/changed-features/match-syntax.md
8999
- page: reference/changed-features/vararg-splices.md
90100
- page: reference/changed-features/pattern-bindings.md
91101
- page: reference/changed-features/pattern-matching.md
92102
- page: reference/changed-features/eta-expansion.md
93103
- page: reference/changed-features/eta-expansion-spec.md
104+
hidden: true
94105
- page: reference/changed-features/compiler-plugins.md
95106
- page: reference/changed-features/lazy-vals-init.md
96107
- page: reference/changed-features/main-functions.md
108+
- page: reference/changed-features/interpolation-escapes.md
97109
- title: Dropped Features
98110
index: reference/dropped-features/dropped-features.md
99111
subsection:
@@ -107,28 +119,34 @@ subsection:
107119
- page: reference/dropped-features/early-initializers.md
108120
- page: reference/dropped-features/class-shadowing.md
109121
- page: reference/dropped-features/class-shadowing-spec.md
122+
hidden: true
110123
- page: reference/dropped-features/limit22.md
111124
- page: reference/dropped-features/xml.md
112125
- page: reference/dropped-features/symlits.md
113126
- page: reference/dropped-features/auto-apply.md
114127
- page: reference/dropped-features/weak-conformance.md
115128
- page: reference/dropped-features/weak-conformance-spec.md
129+
hidden: true
116130
- page: reference/dropped-features/nonlocal-returns.md
117131
- page: reference/dropped-features/this-qualifier.md
118132
- page: reference/dropped-features/wildcard-init.md
119133
- title: Experimental Features
120134
directory: experimental
121135
index: reference/experimental/overview.md
122136
subsection:
137+
- page: reference/experimental/fewer-braces.md
123138
- page: reference/experimental/canthrow.md
124139
- page: reference/experimental/erased-defs.md
125140
- page: reference/experimental/erased-defs-spec.md
141+
hidden: true
126142
- page: reference/experimental/named-typeargs.md
127143
- page: reference/experimental/named-typeargs-spec.md
144+
hidden: true
128145
- page: reference/experimental/numeric-literals.md
129146
- page: reference/experimental/explicit-nulls.md
130147
- page: reference/experimental/main-annotation.md
131148
- page: reference/experimental/cc.md
149+
- page: reference/experimental/tupled-function.md
132150
- page: reference/syntax.md
133151
- title: Language Versions
134152
index: reference/language-versions/language-versions.md

project/scripts/expected-links/reference-expected-links.txt

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
./changed-features/implicit-resolution.html
88
./changed-features/imports.html
99
./changed-features/index.html
10+
./changed-features/interpolation-escapes.html
1011
./changed-features/lazy-vals-init.html
1112
./changed-features/main-functions.html
1213
./changed-features/match-syntax.html
@@ -70,12 +71,14 @@
7071
./experimental/erased-defs-spec.html
7172
./experimental/erased-defs.html
7273
./experimental/explicit-nulls.html
74+
./experimental/fewer-braces.html
7375
./experimental/index.html
7476
./experimental/main-annotation.html
7577
./experimental/named-typeargs-spec.html
7678
./experimental/named-typeargs.html
7779
./experimental/numeric-literals.html
7880
./experimental/overview.html
81+
./experimental/tupled-function.html
7982
./features-classification.html
8083
./index.html
8184
./language-versions/binary-compatibility.html
@@ -88,6 +91,7 @@
8891
./metaprogramming/macros-spec.html
8992
./metaprogramming/macros.html
9093
./metaprogramming/reflection.html
94+
./metaprogramming/simple-smp.html
9195
./metaprogramming/staging.html
9296
./metaprogramming/tasty-inspect.html
9397
./new-types/dependent-function-types-spec.html

0 commit comments

Comments
 (0)