diff options
author | Marcin Aman <maman@virtuslab.com> | 2020-08-24 16:17:26 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-28 16:07:02 +0200 |
commit | 25e90a1bd8f4a5121239b07be1f1dc3b786e1918 (patch) | |
tree | 4e7744409a728413960bda001a42876227f1caf0 /plugins/base/src/main/kotlin/renderers | |
parent | 0e38d64aa84a90668f6e0e4e346e447f2349aa54 (diff) | |
download | dokka-25e90a1bd8f4a5121239b07be1f1dc3b786e1918.tar.gz dokka-25e90a1bd8f4a5121239b07be1f1dc3b786e1918.tar.bz2 dokka-25e90a1bd8f4a5121239b07be1f1dc3b786e1918.zip |
Make all modules page look the same as module page #1335
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |