aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt b/plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt
index 61e72abf..6cb7f603 100644
--- a/plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt
+++ b/plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt
@@ -15,8 +15,7 @@ class SourceSetMergingPageTransformer(context: DokkaContext) : PageTransformer {
override fun invoke(input: RootPageNode): RootPageNode {
return input.transformContentPagesTree { contentPage ->
val content: ContentNode = contentPage.content
- val newContent = transformWithMergedSourceSets(content)
- contentPage.modified(content = newContent)
+ contentPage.modified(content = transformWithMergedSourceSets(content))
}
}