aboutsummaryrefslogtreecommitdiff
path: root/src/Generation/FileGenerator.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-10-03 20:20:02 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-10-03 20:20:02 +0400
commitd6fd04521ba4c4c430286078dd56309111c180e6 (patch)
treecd02584ade5cd0c0cfa8da30da5ccb0ea7b2131c /src/Generation/FileGenerator.kt
parent7c6da4babd01da31c57c5c6c827eb2957c989b1c (diff)
downloaddokka-d6fd04521ba4c4c430286078dd56309111c180e6.tar.gz
dokka-d6fd04521ba4c4c430286078dd56309111c180e6.tar.bz2
dokka-d6fd04521ba4c4c430286078dd56309111c180e6.zip
Cross-reference links on types, relative locations.
Diffstat (limited to 'src/Generation/FileGenerator.kt')
-rw-r--r--src/Generation/FileGenerator.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generation/FileGenerator.kt b/src/Generation/FileGenerator.kt
index 6419d06d..ac146503 100644
--- a/src/Generation/FileGenerator.kt
+++ b/src/Generation/FileGenerator.kt
@@ -16,7 +16,7 @@ public class FileGenerator(val signatureGenerator: LanguageService,
file.getParentFile()?.mkdirs()
FileOutputStream(file).use {
OutputStreamWriter(it, Charsets.UTF_8).use {
- it.write(formatService.format(items))
+ it.write(formatService.format(location, items))
}
}
buildPages(items.flatMap { it.members })
@@ -29,7 +29,7 @@ public class FileGenerator(val signatureGenerator: LanguageService,
file.getParentFile()?.mkdirs()
FileOutputStream(file).use {
OutputStreamWriter(it, Charsets.UTF_8).use {
- it.write(formatService.formatOutline(items))
+ it.write(formatService.formatOutline(location, items))
}
}
}