From d6fd04521ba4c4c430286078dd56309111c180e6 Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Fri, 3 Oct 2014 20:20:02 +0400 Subject: Cross-reference links on types, relative locations. --- src/Generation/FileGenerator.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Generation/FileGenerator.kt') 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)) } } } -- cgit