Skip to content

Commit b12befc

Browse files
committed
Fix support for java 8
1 parent 92a1399 commit b12befc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scala3doc/src/dotty/dokka/site/processors.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class SiteResourceManager(ctx: Option[StaticSiteContext]) extends BaseStaticSite
3434

3535
val resources = listResources(input.getChildren.asScala.toList) ++ images
3636
val resourcePages = resources.map { path =>
37-
val content = Files.readString(ctx.root.toPath.resolve(path))
37+
val content = Files.readAllLines(ctx.root.toPath.resolve(path)).asScala.mkString("\n")
3838
new RendererSpecificResourcePage(path, JList(), new RenderingStrategy.Write(content))
3939
}.toList
4040

0 commit comments

Comments
 (0)