We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a1399 commit b12befcCopy full SHA for b12befc
scala3doc/src/dotty/dokka/site/processors.scala
@@ -34,7 +34,7 @@ class SiteResourceManager(ctx: Option[StaticSiteContext]) extends BaseStaticSite
34
35
val resources = listResources(input.getChildren.asScala.toList) ++ images
36
val resourcePages = resources.map { path =>
37
- val content = Files.readString(ctx.root.toPath.resolve(path))
+ val content = Files.readAllLines(ctx.root.toPath.resolve(path)).asScala.mkString("\n")
38
new RendererSpecificResourcePage(path, JList(), new RenderingStrategy.Write(content))
39
}.toList
40
0 commit comments