From 393491918eb31fd1896c747e636965f917754b1b Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Fri, 8 Jul 2022 15:14:48 +0200 Subject: Revise developer guides documentation (#2523) --- .../src/main/kotlin/transformers/HideTagDocumentableFilter.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/android-documentation/src/main/kotlin/transformers') diff --git a/plugins/android-documentation/src/main/kotlin/transformers/HideTagDocumentableFilter.kt b/plugins/android-documentation/src/main/kotlin/transformers/HideTagDocumentableFilter.kt index a8db6668..9128e2fa 100644 --- a/plugins/android-documentation/src/main/kotlin/transformers/HideTagDocumentableFilter.kt +++ b/plugins/android-documentation/src/main/kotlin/transformers/HideTagDocumentableFilter.kt @@ -8,6 +8,7 @@ import org.jetbrains.dokka.plugability.DokkaContext class HideTagDocumentableFilter(val dokkaContext: DokkaContext) : SuppressedByConditionDocumentableFilterTransformer(dokkaContext) { + override fun shouldBeSuppressed(d: Documentable): Boolean = d.documentation.any { (_, docs) -> docs.dfs { it is CustomTagWrapper && it.name.trim() == "hide" } != null } -} \ No newline at end of file +} -- cgit