From 3683c18f3ca302d7afb8f5076290c6bd44f91ce5 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Tue, 5 Dec 2017 18:17:23 +0300 Subject: Fix PackageListService to use NodeLocationAwareGenerator for links --- core/src/main/kotlin/Formats/PackageListService.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/src/main') diff --git a/core/src/main/kotlin/Formats/PackageListService.kt b/core/src/main/kotlin/Formats/PackageListService.kt index be50fac4..7b68098e 100644 --- a/core/src/main/kotlin/Formats/PackageListService.kt +++ b/core/src/main/kotlin/Formats/PackageListService.kt @@ -8,8 +8,9 @@ interface PackageListService { } class DefaultPackageListService @Inject constructor( - val generator: FileGenerator, - val formatService: FormatService) : PackageListService { + val generator: NodeLocationAwareGenerator, + val formatService: FormatService +) : PackageListService { override fun formatPackageList(module: DocumentationModule): String { val packages = mutableSetOf() -- cgit