aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/pages
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/pages')
-rw-r--r--core/src/main/kotlin/pages/ContentNodes.kt5
1 files changed, 3 insertions, 2 deletions
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
}