Skip to content

Commit

Permalink
Move the Properties block to be above Functions
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatBeresnev committed Mar 8, 2023
1 parent e8f16a5 commit 57686db
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -318,10 +318,10 @@ open class DefaultPageCreator(
"Inherited functions", inheritedFunctions + inheritedExtensionFunctions
)
} else {
functionsBlock("Functions", functions + extensionFuns)
propertiesBlock(
"Properties", properties + extensionProps
)
functionsBlock("Functions", functions + extensionFuns)
}
}

Expand Down Expand Up @@ -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 }
internal fun List<Documentable>.shouldDocumentConstructors() = !this.any { it is DAnnotation }

0 comments on commit 57686db

Please sign in to comment.