aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/plugability
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2020-02-06 15:51:07 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-02-12 13:33:10 +0100
commit1e0271e4e2888022f2ac93366c397d7315008c45 (patch)
treefa6c9726fb0b2dbb0a7eebfa4a1b968164f14d9a /core/src/main/kotlin/plugability
parent2a60f8adbab66e7b671949960c7cd90ea86992d7 (diff)
downloaddokka-1e0271e4e2888022f2ac93366c397d7315008c45.tar.gz
dokka-1e0271e4e2888022f2ac93366c397d7315008c45.tar.bz2
dokka-1e0271e4e2888022f2ac93366c397d7315008c45.zip
page merger strategy
Diffstat (limited to 'core/src/main/kotlin/plugability')
-rw-r--r--core/src/main/kotlin/plugability/DefaultExtensions.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/main/kotlin/plugability/DefaultExtensions.kt b/core/src/main/kotlin/plugability/DefaultExtensions.kt
index b7ab1af1..3f630ee3 100644
--- a/core/src/main/kotlin/plugability/DefaultExtensions.kt
+++ b/core/src/main/kotlin/plugability/DefaultExtensions.kt
@@ -9,6 +9,7 @@ import org.jetbrains.dokka.resolvers.DefaultLocationProviderFactory
import org.jetbrains.dokka.transformers.descriptors.DefaultDescriptorToDocumentationTranslator
import org.jetbrains.dokka.transformers.documentation.DefaultDocumentationNodeMerger
import org.jetbrains.dokka.transformers.documentation.DefaultDocumentationToPageTranslator
+import org.jetbrains.dokka.transformers.pages.DefaultPageMergerStrategy
import org.jetbrains.dokka.transformers.psi.DefaultPsiToDocumentationTranslator
import org.jetbrains.dokka.transformers.pages.DefaultPageNodeMerger
@@ -32,10 +33,11 @@ internal object DefaultExtensions {
CoreExtensions.documentationMerger -> DefaultDocumentationNodeMerger
CoreExtensions.commentsToContentConverter -> converter.get(fullContext)
CoreExtensions.documentationToPageTranslator -> DefaultDocumentationToPageTranslator
- CoreExtensions.pageTransformer -> DefaultPageNodeMerger
+ CoreExtensions.pageTransformer -> DefaultPageNodeMerger(fullContext)
CoreExtensions.renderer -> renderer.get(fullContext)
CoreExtensions.locationProviderFactory -> providerFactory.get(fullContext)
CoreExtensions.outputWriter -> outputWriter.get(fullContext)
+ CoreExtensions.pageMergerStrategy -> DefaultPageMergerStrategy
else -> null
}.let { listOfNotNull( it ) as List<T> }
} \ No newline at end of file