From 25e90a1bd8f4a5121239b07be1f1dc3b786e1918 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Mon, 24 Aug 2020 16:17:26 +0200 Subject: Make all modules page look the same as module page #1335 --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin/renderers') diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index 878432b4..d95d8f2a 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -393,7 +393,7 @@ open class HtmlRenderer( } it.filter { it !is ContentLink }.takeIf { it.isNotEmpty() }?.let { - if(pageContext is ModulePage){ + if(pageContext is ModulePage || pageContext is MultimoduleRootPage){ it.forEach { span(classes = if(it.dci.kind == ContentKind.Comment) "brief-comment" else "") { it.build(this, pageContext, sourceSetRestriction) -- cgit