aboutsummaryrefslogtreecommitdiff
path: root/src/Formats
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2014-12-30 17:41:14 +0100
committerDmitry Jemerov <yole@jetbrains.com>2014-12-30 17:41:47 +0100
commit716483c2f20e4af1951342f2acc9a231fcbeab3b (patch)
tree84cd1011021bb6ef38f9567d80805edf17ecc2d7 /src/Formats
parent0e70fa4ca021bff09e7d9ce64269a4e698512af5 (diff)
downloaddokka-716483c2f20e4af1951342f2acc9a231fcbeab3b.tar.gz
dokka-716483c2f20e4af1951342f2acc9a231fcbeab3b.tar.bz2
dokka-716483c2f20e4af1951342f2acc9a231fcbeab3b.zip
render annotation classes correctly
Diffstat (limited to 'src/Formats')
-rw-r--r--src/Formats/StructuredFormatService.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 2d326854..b75f39d1 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -188,7 +188,8 @@ public abstract class StructuredFormatService(val locationService: LocationServi
DocumentationNode.Kind.Class,
DocumentationNode.Kind.Interface,
DocumentationNode.Kind.Enum,
- DocumentationNode.Kind.Object)
+ DocumentationNode.Kind.Object,
+ DocumentationNode.Kind.AnnotationClass)
}, node, to)
appendSection(location, "Constructors", node.members(DocumentationNode.Kind.Constructor), node, to)
appendSection(location, "Properties", node.members(DocumentationNode.Kind.Property), node, to)
@@ -200,7 +201,9 @@ public abstract class StructuredFormatService(val locationService: LocationServi
it.kind !in setOf(
DocumentationNode.Kind.Class,
DocumentationNode.Kind.Interface,
+ DocumentationNode.Kind.Enum,
DocumentationNode.Kind.Object,
+ DocumentationNode.Kind.AnnotationClass,
DocumentationNode.Kind.Constructor,
DocumentationNode.Kind.Property,
DocumentationNode.Kind.Package,