aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin/KotlinLanguageService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-23 19:18:39 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-23 19:18:39 +0100
commitd9f135d0a783461cd8650440230a5c0c8613ea29 (patch)
tree5cdff74fdfdbd028e68caaf1830f33b7b555a292 /src/Kotlin/KotlinLanguageService.kt
parenta19e05b7dc915ca534416e4a8532df8db72b3499 (diff)
downloaddokka-d9f135d0a783461cd8650440230a5c0c8613ea29.tar.gz
dokka-d9f135d0a783461cd8650440230a5c0c8613ea29.tar.bz2
dokka-d9f135d0a783461cd8650440230a5c0c8613ea29.zip
don't show redundant signatures for packages
Diffstat (limited to 'src/Kotlin/KotlinLanguageService.kt')
-rw-r--r--src/Kotlin/KotlinLanguageService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt
index 8626e7e1..a8c9bc64 100644
--- a/src/Kotlin/KotlinLanguageService.kt
+++ b/src/Kotlin/KotlinLanguageService.kt
@@ -11,7 +11,7 @@ class KotlinLanguageService : LanguageService {
override fun render(node: DocumentationNode, renderMode: RenderMode): ContentNode {
return content {
when (node.kind) {
- DocumentationNode.Kind.Package -> renderPackage(node)
+ DocumentationNode.Kind.Package -> if (renderMode == RenderMode.FULL) renderPackage(node)
DocumentationNode.Kind.Class,
DocumentationNode.Kind.Interface,
DocumentationNode.Kind.Enum,