aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-12-05 18:17:23 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-12-05 18:17:23 +0300
commit3683c18f3ca302d7afb8f5076290c6bd44f91ce5 (patch)
tree57d43ad7155ce02c63fee4d1c8c4bb018170c648 /core/src/main
parent1bd0f642248e09cfa95fa19bf5a38316606401a2 (diff)
downloaddokka-3683c18f3ca302d7afb8f5076290c6bd44f91ce5.tar.gz
dokka-3683c18f3ca302d7afb8f5076290c6bd44f91ce5.tar.bz2
dokka-3683c18f3ca302d7afb8f5076290c6bd44f91ce5.zip
Fix PackageListService to use NodeLocationAwareGenerator for links
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/kotlin/Formats/PackageListService.kt5
1 files changed, 3 insertions, 2 deletions
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<String>()