From a86c859eba6154524f3b42461aad6b45f26e3650 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Wed, 3 May 2017 13:45:30 +0300 Subject: Support linking of external documentation Introduce PackageListService #KT-16309 fixed --- core/src/main/kotlin/Utilities/DokkaModules.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/src/main/kotlin/Utilities') diff --git a/core/src/main/kotlin/Utilities/DokkaModules.kt b/core/src/main/kotlin/Utilities/DokkaModules.kt index e213c0fc..28c5dc45 100644 --- a/core/src/main/kotlin/Utilities/DokkaModules.kt +++ b/core/src/main/kotlin/Utilities/DokkaModules.kt @@ -79,6 +79,8 @@ class DokkaOutputModule(val options: DocumentationOptions, binder.bind().to(descriptor.generatorServiceClass.java) + descriptor.packageListServiceClass?.let { binder.bind().to(it.java) } + binder.bind().toInstance(options) binder.bind().toInstance(logger) binder.bind(StringListType).annotatedWith(Names.named(impliedPlatformsName)).toInstance(options.impliedPlatforms) -- cgit