From af1ea32aa3f1e71cd47851a4a06344431801c8fd Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Thu, 2 Apr 2020 18:20:34 +0200 Subject: Add Typealiases rendering and merging --- core/src/main/kotlin/pages/ContentNodes.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/src/main/kotlin/pages') diff --git a/core/src/main/kotlin/pages/ContentNodes.kt b/core/src/main/kotlin/pages/ContentNodes.kt index c1792759..61bc3dfc 100644 --- a/core/src/main/kotlin/pages/ContentNodes.kt +++ b/core/src/main/kotlin/pages/ContentNodes.kt @@ -167,10 +167,11 @@ interface Style interface Kind enum class ContentKind : Kind { - Comment, Constructors, Functions, Parameters, Properties, Classlikes, Packages, Symbol, Sample, Main, BriefComment, Empty; + Comment, Constructors, Functions, Parameters, Properties, Classlikes, Packages, Symbol, Sample, Main, BriefComment, + Empty, TypeAliases; companion object{ - private val platformTagged = setOf(Constructors, Functions, Properties, Classlikes, Packages) + private val platformTagged = setOf(Constructors, Functions, Properties, Classlikes, Packages, TypeAliases) fun shouldBePlatformTagged(kind: Kind) : Boolean = kind in platformTagged } -- cgit