From 02f30b142aa467d3a24cc52a1fe3f2fed7ea1e33 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Thu, 31 Aug 2023 20:16:01 +0200 Subject: Enable explicit API mode (#3139) --- plugins/templating/src/main/kotlin/templates/PathToRootSubstitutor.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/templating/src/main/kotlin/templates/PathToRootSubstitutor.kt') diff --git a/plugins/templating/src/main/kotlin/templates/PathToRootSubstitutor.kt b/plugins/templating/src/main/kotlin/templates/PathToRootSubstitutor.kt index 883568ef..2ba290cf 100644 --- a/plugins/templating/src/main/kotlin/templates/PathToRootSubstitutor.kt +++ b/plugins/templating/src/main/kotlin/templates/PathToRootSubstitutor.kt @@ -9,7 +9,9 @@ import org.jetbrains.dokka.base.templating.SubstitutionCommand import org.jetbrains.dokka.plugability.DokkaContext import java.io.File -class PathToRootSubstitutor(private val dokkaContext: DokkaContext) : Substitutor { +public class PathToRootSubstitutor( + private val dokkaContext: DokkaContext +) : Substitutor { override fun trySubstitute(context: TemplatingContext, match: MatchResult): String? = if (context.command is PathToRootSubstitutionCommand) { -- cgit