Skip to content

Commit 3a4d2c1

Browse files
[chore] Synchronize sidebar.yml entries replacements with 3.7.0 (#23127)
Some of the new pages were not shown in latest reference documentation
2 parents d53b097 + 7e36054 commit 3a4d2c1

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed

docs/_docs/reference/other-new-features/toplevel-definitions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: doc-page
33
title: "Toplevel Definitions"
4-
nightlyOf: https://docs.scala-lang.org/scala3/reference/dropped-features/toplevel-definitions.html
4+
nightlyOf: https://docs.scala-lang.org/scala3/reference/other-new-features/toplevel-definitions.html
55
---
66

77
All kind of definitions can now be written at the top-level.

docs/sidebar.yml

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ subsection:
8888
- page: reference/other-new-features/experimental-defs.md
8989
- page: reference/other-new-features/preview-defs.md
9090
- page: reference/other-new-features/binary-literals.md
91+
- page: reference/other-new-features/toplevel-definitions.md
9192
- title: Other Changed Features
9293
directory: changed-features
9394
index: reference/changed-features/changed-features.md

project/resources/referenceReplacements/sidebar.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ subsection:
6767
- page: reference/other-new-features/export.md
6868
- page: reference/other-new-features/opaques.md
6969
- page: reference/other-new-features/opaques-details.md
70+
- page: reference/other-new-features/named-tuples.md
7071
- page: reference/other-new-features/open-classes.md
7172
- page: reference/other-new-features/parameter-untupling.md
7273
- page: reference/other-new-features/parameter-untupling-spec.md
@@ -80,7 +81,9 @@ subsection:
8081
- page: reference/other-new-features/safe-initialization.md
8182
- page: reference/other-new-features/type-test.md
8283
- page: reference/other-new-features/experimental-defs.md
84+
- page: reference/other-new-features/preview-defs.md
8385
- page: reference/other-new-features/binary-literals.md
86+
- page: reference/other-new-features/toplevel-definitions.md
8487
- title: Other Changed Features
8588
directory: changed-features
8689
index: reference/changed-features/changed-features.md
@@ -118,7 +121,6 @@ subsection:
118121
- page: reference/dropped-features/type-projection.md
119122
- page: reference/dropped-features/do-while.md
120123
- page: reference/dropped-features/procedure-syntax.md
121-
- page: reference/dropped-features/package-objects.md
122124
- page: reference/dropped-features/early-initializers.md
123125
- page: reference/dropped-features/class-shadowing.md
124126
- page: reference/dropped-features/class-shadowing-spec.md
@@ -133,6 +135,11 @@ subsection:
133135
- page: reference/dropped-features/nonlocal-returns.md
134136
- page: reference/dropped-features/this-qualifier.md
135137
- page: reference/dropped-features/wildcard-init.md
138+
- title: Preview Features
139+
directory: preview
140+
index: reference/preview/overview.md
141+
subsection:
142+
- page: reference/preview/better-fors.md
136143
- title: Experimental Features
137144
directory: experimental
138145
index: reference/experimental/overview.md
@@ -149,8 +156,15 @@ subsection:
149156
- page: reference/experimental/numeric-literals.md
150157
- page: reference/experimental/explicit-nulls.md
151158
- page: reference/experimental/main-annotation.md
159+
- page: reference/experimental/into-modifier.md
152160
- page: reference/experimental/cc.md
161+
- page: reference/experimental/purefuns.md
153162
- page: reference/experimental/tupled-function.md
163+
- page: reference/experimental/modularity.md
164+
- page: reference/experimental/typeclasses.md
165+
- page: reference/experimental/runtimeChecked.md
166+
- page: reference/experimental/unrolled-defs.md
167+
- page: reference/experimental/package-object-values.md
154168
- page: reference/syntax.md
155169
- title: Language Versions
156170
index: reference/language-versions/language-versions.md

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

+14-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
./contextual/right-associative-extension-methods.html
4242
./contextual/type-classes.html
4343
./contextual/using-clauses.html
44+
./docs/reference/experimental/package-object-values.html
45+
./docs/reference/other-new-features/into-modifier.html
4446
./docs/reference/other-new-features/named-typeargs.html
4547
./dropped-features.html
4648
./dropped-features/auto-apply.html
@@ -54,7 +56,6 @@
5456
./dropped-features/limit22.html
5557
./dropped-features/macros.html
5658
./dropped-features/nonlocal-returns.html
57-
./dropped-features/package-objects.html
5859
./dropped-features/procedure-syntax.html
5960
./dropped-features/symlits.html
6061
./dropped-features/this-qualifier.html
@@ -74,12 +75,19 @@
7475
./experimental/explicit-nulls.html
7576
./experimental/fewer-braces.html
7677
./experimental/index.html
78+
./experimental/into-modifier.html
7779
./experimental/main-annotation.html
80+
./experimental/modularity.html
7881
./experimental/named-typeargs-spec.html
7982
./experimental/named-typeargs.html
8083
./experimental/numeric-literals.html
8184
./experimental/overview.html
85+
./experimental/package-object-values.html
86+
./experimental/purefuns.html
87+
./experimental/runtimeChecked.html
8288
./experimental/tupled-function.html
89+
./experimental/typeclasses.html
90+
./experimental/unrolled-defs.html
8391
./features-classification.html
8492
./index.html
8593
./language-versions/binary-compatibility.html
@@ -116,17 +124,22 @@
116124
./other-new-features/index.html
117125
./other-new-features/kind-polymorphism.html
118126
./other-new-features/matchable.html
127+
./other-new-features/named-tuples.html
119128
./other-new-features/opaques-details.html
120129
./other-new-features/opaques.html
121130
./other-new-features/open-classes.html
122131
./other-new-features/parameter-untupling-spec.html
123132
./other-new-features/parameter-untupling.html
133+
./other-new-features/preview-defs.html
124134
./other-new-features/safe-initialization.html
125135
./other-new-features/targetName.html
126136
./other-new-features/threadUnsafe-annotation.html
137+
./other-new-features/toplevel-definitions.html
127138
./other-new-features/trait-parameters.html
128139
./other-new-features/transparent-traits.html
129140
./other-new-features/type-test.html
130141
./overview.html
142+
./preview/better-fors.html
143+
./preview/index.html
131144
./soft-modifier.html
132145
./syntax.html

0 commit comments

Comments
 (0)