Skip to content

Commit 7285ea9

Browse files
authored
Merge pull request #14475 from dotty-staging/scaladoc/fix-links
Scaladoc: Repair links
2 parents fd97aee + db1efc8 commit 7285ea9

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

docs/_docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: doc-page
3+
redirectFrom: docs/index.html
34
---
45

56
Dotty is the project name for technologies that are considered for inclusion in Scala 3. Scala has

docs/sidebar.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
index: index.md
22
subsection:
33
- title: Usage
4+
directory: docs/usage
45
subsection:
56
- page: usage/sbt-projects.md
67
- page: usage/ide-support.md
@@ -15,6 +16,7 @@ subsection:
1516
- page: usage/scaladoc/site-versioning.md
1617
- page: usage/scaladoc/static-site.md
1718
- title: Reference
19+
directory: docs/reference
1820
subsection:
1921
- page: reference/overview.md
2022
- title: New Types
@@ -154,6 +156,7 @@ subsection:
154156
- page: reference/soft-modifier.md
155157
- page: reference/features-classification.md
156158
- title: Contributing
159+
directory: docs/contributing
157160
subsection:
158161
- page: contributing/contribute-knowledge.md
159162
- page: contributing/getting-started.md
@@ -171,6 +174,7 @@ subsection:
171174
- page: contributing/procedures/release.md
172175
- page: contributing/procedures/vulpix.md
173176
- title: Internals
177+
directory: docs/internals
174178
subsection:
175179
- page: internals/backend.md
176180
- page: internals/classpaths.md

scaladoc/src/dotty/tools/scaladoc/site/common.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import com.vladsch.flexmark.formatter.Formatter
1818

1919
import scala.collection.JavaConverters._
2020

21-
val docsRootDRI: DRI = DRI(location = "docs/index", symbolUUID = staticFileSymbolUUID)
21+
val docsRootDRI: DRI = DRI(location = "_docs/index", symbolUUID = staticFileSymbolUUID)
2222
val apiPageDRI: DRI = DRI(location = "api/index")
2323

2424
def defaultMarkdownOptions(using ctx: StaticSiteContext): DataHolder =

0 commit comments

Comments
 (0)