aboutsummaryrefslogtreecommitdiff
path: root/plugins/android-documentation/src
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-07-08 15:14:48 +0200
committerGitHub <noreply@github.com>2022-07-08 15:14:48 +0200
commit393491918eb31fd1896c747e636965f917754b1b (patch)
treee04ceff74b3b6abd3619dd29eabcf0da44f2432f /plugins/android-documentation/src
parent3ee4fd840a93d976631535450f9b9402b3c89af8 (diff)
downloaddokka-393491918eb31fd1896c747e636965f917754b1b.tar.gz
dokka-393491918eb31fd1896c747e636965f917754b1b.tar.bz2
dokka-393491918eb31fd1896c747e636965f917754b1b.zip
Revise developer guides documentation (#2523)
Diffstat (limited to 'plugins/android-documentation/src')
-rw-r--r--plugins/android-documentation/src/main/kotlin/transformers/HideTagDocumentableFilter.kt3
1 files changed, 2 insertions, 1 deletions
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
+}