aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/translators/documentables
diff options
context:
space:
mode:
authorAndrzej Ratajczak <32793002+BarkingBad@users.noreply.github.com>2021-12-23 17:43:13 +0100
committerGitHub <noreply@github.com>2021-12-23 19:43:13 +0300
commit1f82c97e90c160a1cd37ed28d3a57b0e77cc6a1c (patch)
treec3fe4839a2e876a0c572cfc75d71e204f356bd16 /plugins/base/src/main/kotlin/translators/documentables
parentbfd41ce2a0d43419a671961c19b7d755cffdcfc8 (diff)
downloaddokka-1f82c97e90c160a1cd37ed28d3a57b0e77cc6a1c.tar.gz
dokka-1f82c97e90c160a1cd37ed28d3a57b0e77cc6a1c.tar.bz2
dokka-1f82c97e90c160a1cd37ed28d3a57b0e77cc6a1c.zip
Remove filtering out primary constructors from constructors tab (#2277)
Diffstat (limited to 'plugins/base/src/main/kotlin/translators/documentables')
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
index 06bc550b..c16996a0 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
@@ -256,7 +256,7 @@ open class DefaultPageCreator(
"Constructors",
2,
ContentKind.Constructors,
- c.constructors.filter { it.extra[PrimaryConstructorExtra] == null || it.documentation.isNotEmpty() },
+ c.constructors,
c.sourceSets,
needsAnchors = true,
extra = PropertyContainer.empty<ContentNode>() + SimpleAttr.header("Constructors")