diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-23 19:18:39 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-23 19:18:39 +0100 |
commit | d9f135d0a783461cd8650440230a5c0c8613ea29 (patch) | |
tree | 5cdff74fdfdbd028e68caaf1830f33b7b555a292 /src/Kotlin/KotlinLanguageService.kt | |
parent | a19e05b7dc915ca534416e4a8532df8db72b3499 (diff) | |
download | dokka-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.kt | 2 |
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, |