Skip to content

Commit

Permalink
Merge pull request #14475 from dotty-staging/scaladoc/fix-links
Browse files Browse the repository at this point in the history
Scaladoc: Repair links
  • Loading branch information
pikinier20 committed Feb 14, 2022
2 parents fd97aee + db1efc8 commit 7285ea9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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

0 comments on commit 7285ea9

Please sign in to comment.