From 46b615b49fd9af994fc85c84596aa73bebed476c Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 11 May 2017 21:37:33 +0300 Subject: Resolve links in package docs in whole module #KT-16485 fixed --- core/src/main/kotlin/Generation/DokkaGenerator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/main/kotlin/Generation') diff --git a/core/src/main/kotlin/Generation/DokkaGenerator.kt b/core/src/main/kotlin/Generation/DokkaGenerator.kt index c0b631e4..e1b5a880 100644 --- a/core/src/main/kotlin/Generation/DokkaGenerator.kt +++ b/core/src/main/kotlin/Generation/DokkaGenerator.kt @@ -145,7 +145,7 @@ fun buildDocumentationModule(injector: Injector, val packageDocs = injector.getInstance(PackageDocs::class.java) for (include in includes) { - packageDocs.parse(include, fragments.firstOrNull()) + packageDocs.parse(include, fragments) } if (documentationModule.content.isEmpty()) { documentationModule.updateContent { -- cgit