From 02db40bb00bd9a874bcca20cb2d1836b98846659 Mon Sep 17 00:00:00 2001 From: Ji Sungbin Date: Fri, 5 Jul 2024 18:14:22 +0900 Subject: [PATCH] Added missing pluginApiPreviewAcknowledgement for `hide-internal-api` sample project (#3671) --- .../kotlin/org/example/dokka/plugin/HideInternalApiPlugin.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/plugin/hide-internal-api/src/main/kotlin/org/example/dokka/plugin/HideInternalApiPlugin.kt b/examples/plugin/hide-internal-api/src/main/kotlin/org/example/dokka/plugin/HideInternalApiPlugin.kt index e0edac4bbf..570116121c 100644 --- a/examples/plugin/hide-internal-api/src/main/kotlin/org/example/dokka/plugin/HideInternalApiPlugin.kt +++ b/examples/plugin/hide-internal-api/src/main/kotlin/org/example/dokka/plugin/HideInternalApiPlugin.kt @@ -7,11 +7,16 @@ import org.jetbrains.dokka.model.Documentable import org.jetbrains.dokka.model.properties.WithExtraProperties import org.jetbrains.dokka.plugability.DokkaContext import org.jetbrains.dokka.plugability.DokkaPlugin +import org.jetbrains.dokka.plugability.DokkaPluginApiPreview +import org.jetbrains.dokka.plugability.PluginApiPreviewAcknowledgement class HideInternalApiPlugin : DokkaPlugin() { val myFilterExtension by extending { plugin().preMergeDocumentableTransformer providing ::HideInternalApiTransformer } + + @DokkaPluginApiPreview + override fun pluginApiPreviewAcknowledgement() = PluginApiPreviewAcknowledgement } class HideInternalApiTransformer(context: DokkaContext) : SuppressedByConditionDocumentableFilterTransformer(context) {