From fd6505c1523ad95587b76e3f7e394cbf8f23683b Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Tue, 21 Apr 2020 00:06:34 +0200 Subject: Fix a bug with relative paths when generating documentation on Windows --- plugins/base/src/main/kotlin/renderers/FileWriter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src') diff --git a/plugins/base/src/main/kotlin/renderers/FileWriter.kt b/plugins/base/src/main/kotlin/renderers/FileWriter.kt index 6519a4af..bf2426fe 100644 --- a/plugins/base/src/main/kotlin/renderers/FileWriter.kt +++ b/plugins/base/src/main/kotlin/renderers/FileWriter.kt @@ -9,7 +9,7 @@ import java.nio.file.* class FileWriter(val context: DokkaContext): OutputWriter { private val createdFiles: MutableSet = mutableSetOf() private val jarUriPrefix = "jar:file:" - private val root = context.configuration.outputDir + private val root = File(context.configuration.outputDir).absolutePath override fun write(path: String, text: String, ext: String) { if (createdFiles.contains(path)) { -- cgit