aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/pages/ContentNodes.kt
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-04-02 18:20:34 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-04-07 11:43:41 +0200
commitaf1ea32aa3f1e71cd47851a4a06344431801c8fd (patch)
tree906f1d7751780ba82dee91a4dbd7c29c585c52f9 /core/src/main/kotlin/pages/ContentNodes.kt
parentfe24837fb51d5004ec3d7d728ce4c325a192e426 (diff)
downloaddokka-af1ea32aa3f1e71cd47851a4a06344431801c8fd.tar.gz
dokka-af1ea32aa3f1e71cd47851a4a06344431801c8fd.tar.bz2
dokka-af1ea32aa3f1e71cd47851a4a06344431801c8fd.zip
Add Typealiases rendering and merging
Diffstat (limited to 'core/src/main/kotlin/pages/ContentNodes.kt')
-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
}