Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaladoc: Repair links #14475

Merged
merged 1 commit into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/_docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: doc-page
redirectFrom: docs/index.html
---

Dotty is the project name for technologies that are considered for inclusion in Scala 3. Scala has
Expand Down
4 changes: 4 additions & 0 deletions docs/sidebar.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
index: index.md
subsection:
- title: Usage
directory: docs/usage
subsection:
- page: usage/sbt-projects.md
- page: usage/ide-support.md
Expand All @@ -15,6 +16,7 @@ subsection:
- page: usage/scaladoc/site-versioning.md
- page: usage/scaladoc/static-site.md
- title: Reference
directory: docs/reference
subsection:
- page: reference/overview.md
- title: New Types
Expand Down Expand Up @@ -154,6 +156,7 @@ subsection:
- page: reference/soft-modifier.md
- page: reference/features-classification.md
- title: Contributing
directory: docs/contributing
subsection:
- page: contributing/contribute-knowledge.md
- page: contributing/getting-started.md
Expand All @@ -171,6 +174,7 @@ subsection:
- page: contributing/procedures/release.md
- page: contributing/procedures/vulpix.md
- title: Internals
directory: docs/internals
subsection:
- page: internals/backend.md
- page: internals/classpaths.md
Expand Down
2 changes: 1 addition & 1 deletion scaladoc/src/dotty/tools/scaladoc/site/common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.vladsch.flexmark.formatter.Formatter

import scala.collection.JavaConverters._

val docsRootDRI: DRI = DRI(location = "docs/index", symbolUUID = staticFileSymbolUUID)
val docsRootDRI: DRI = DRI(location = "_docs/index", symbolUUID = staticFileSymbolUUID)
val apiPageDRI: DRI = DRI(location = "api/index")

def defaultMarkdownOptions(using ctx: StaticSiteContext): DataHolder =
Expand Down