aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-28 17:34:44 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-10-29 11:57:24 +0100
commitc81053d3677d9e99c99935cdaab710f8746d44f2 (patch)
tree2a08b5cf77e05b72863a5064fd91399299cb8949 /src
parentd1177b3e3ca5935329c36fb5617861dabbd0cd3a (diff)
downloaddokka-c81053d3677d9e99c99935cdaab710f8746d44f2.tar.gz
dokka-c81053d3677d9e99c99935cdaab710f8746d44f2.tar.bz2
dokka-c81053d3677d9e99c99935cdaab710f8746d44f2.zip
move the list of enum values above the list of properties/functions of the enum class
Diffstat (limited to 'src')
-rw-r--r--src/Formats/StructuredFormatService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index d6a167d5..f83f4aa4 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -312,6 +312,7 @@ public abstract class StructuredFormatService(locationService: LocationService,
DocumentationNode.Kind.AnnotationClass)
}, node, to)
appendSection(location, "Extensions for External Classes", node.members(DocumentationNode.Kind.ExternalClass), node, to)
+ appendSection(location, "Enum Values", node.members(DocumentationNode.Kind.EnumItem), node, to)
appendSection(location, "Constructors", node.members(DocumentationNode.Kind.Constructor), node, to)
appendSection(location, "Properties", node.members(DocumentationNode.Kind.Property), node, to)
appendSection(location, "Inherited Properties", node.inheritedMembers(DocumentationNode.Kind.Property), node, to)
@@ -319,7 +320,6 @@ public abstract class StructuredFormatService(locationService: LocationService,
appendSection(location, "Inherited Functions", node.inheritedMembers(DocumentationNode.Kind.Function), node, to)
appendSection(location, "Companion Object Properties", node.members(DocumentationNode.Kind.CompanionObjectProperty), node, to)
appendSection(location, "Companion Object Functions", node.members(DocumentationNode.Kind.CompanionObjectFunction), node, to)
- appendSection(location, "Enum Values", node.members(DocumentationNode.Kind.EnumItem), node, to)
appendSection(location, "Other members", node.members.filter {
it.kind !in setOf(
DocumentationNode.Kind.Class,