diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-04-21 00:06:34 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-04-22 12:01:58 +0200 |
commit | fd6505c1523ad95587b76e3f7e394cbf8f23683b (patch) | |
tree | a7c682076b9c3488e9bd8ddba28f29f2cb624a18 /plugins/base/src | |
parent | 8ee246fe89011506d8456c48c5dfc04d92ef88cf (diff) | |
download | dokka-fd6505c1523ad95587b76e3f7e394cbf8f23683b.tar.gz dokka-fd6505c1523ad95587b76e3f7e394cbf8f23683b.tar.bz2 dokka-fd6505c1523ad95587b76e3f7e394cbf8f23683b.zip |
Fix a bug with relative paths when generating documentation on Windows
Diffstat (limited to 'plugins/base/src')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/FileWriter.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> = 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)) { |