aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/DokkaGenerator.kt
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2019-11-05 20:33:14 +0100
committerPaweł Marks <pmarks@virtuslab.com>2019-11-05 20:33:14 +0100
commit508afa4fa2bddf4b05cb888340d0dbfc0ec40d9b (patch)
tree94d867c468e5e0f2c99cfcef2bed4eb0b63573db /core/src/main/kotlin/DokkaGenerator.kt
parentab02494e6daa029ace3c9ef003aca681a739c3b5 (diff)
downloaddokka-508afa4fa2bddf4b05cb888340d0dbfc0ec40d9b.tar.gz
dokka-508afa4fa2bddf4b05cb888340d0dbfc0ec40d9b.tar.bz2
dokka-508afa4fa2bddf4b05cb888340d0dbfc0ec40d9b.zip
Actual-Expected merger
Diffstat (limited to 'core/src/main/kotlin/DokkaGenerator.kt')
-rw-r--r--core/src/main/kotlin/DokkaGenerator.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/kotlin/DokkaGenerator.kt b/core/src/main/kotlin/DokkaGenerator.kt
index ed429fe2..79585413 100644
--- a/core/src/main/kotlin/DokkaGenerator.kt
+++ b/core/src/main/kotlin/DokkaGenerator.kt
@@ -1,6 +1,7 @@
package org.jetbrains.dokka
import org.jetbrains.dokka.Model.Module
+import org.jetbrains.dokka.Model.transformers.ActualExpectedMerger
import org.jetbrains.dokka.Utilities.pretty
import org.jetbrains.dokka.links.DRI
import org.jetbrains.dokka.pages.MarkdownToContentConverter
@@ -46,6 +47,7 @@ class DokkaGenerator(
.map { DokkaDescriptorVisitor.visitPackageFragmentDescriptor(it, DRI.topLevel) }
.toList()
.let { Module(it) }
+ .let { ActualExpectedMerger(it) }
.also { println("${pass.analysisPlatform}:\n${it.pretty()}\n\n") }
DefaultDocumentationToPageTransformer(markdownConverter, logger).transform(pass, module)