From 21afcb40ad5265d2214c05179614eb2f070526f2 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Fri, 7 Apr 2023 00:20:47 +0200 Subject: Move the `Properties` block to be above `Functions` (#2908) --- .../src/main/kotlin/translators/documentables/DefaultPageCreator.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/base/src/main/kotlin/translators') diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt index a9c6dcca..98cf6ab6 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt @@ -318,10 +318,10 @@ open class DefaultPageCreator( "Inherited functions", inheritedFunctions + inheritedExtensionFunctions ) } else { - functionsBlock("Functions", functions + extensionFuns) propertiesBlock( "Properties", properties + extensionProps ) + functionsBlock("Functions", functions + extensionFuns) } } @@ -740,4 +740,4 @@ internal inline fun GroupedTags.withTypeNamed(): M // Annotations might have constructors to substitute reflection invocations // and for internal/compiler purposes, but they are not expected to be documented // and instantiated directly under normal circumstances, so constructors should not be rendered. -internal fun List.shouldDocumentConstructors() = !this.any { it is DAnnotation } \ No newline at end of file +internal fun List.shouldDocumentConstructors() = !this.any { it is DAnnotation } -- cgit