diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-04-07 00:20:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 00:20:47 +0200 |
commit | 21afcb40ad5265d2214c05179614eb2f070526f2 (patch) | |
tree | f1fec88d9b8a87fa0a37e7f2030a1641f27f5653 /plugins/base/src/main/kotlin/translators/documentables | |
parent | f5789ed721c1609899d9197a34d73b223289fc96 (diff) | |
download | dokka-21afcb40ad5265d2214c05179614eb2f070526f2.tar.gz dokka-21afcb40ad5265d2214c05179614eb2f070526f2.tar.bz2 dokka-21afcb40ad5265d2214c05179614eb2f070526f2.zip |
Move the `Properties` block to be above `Functions` (#2908)
Diffstat (limited to 'plugins/base/src/main/kotlin/translators/documentables')
-rw-r--r-- | plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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 <reified T : NamedTagWrapper> 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<Documentable>.shouldDocumentConstructors() = !this.any { it is DAnnotation }
\ No newline at end of file +internal fun List<Documentable>.shouldDocumentConstructors() = !this.any { it is DAnnotation } |