aboutsummaryrefslogtreecommitdiff
path: root/src/Generation/FileGenerator.kt
diff options
context:
space:
mode:
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))
}
}
}