From 3cb4702a68139788de6e1f7b087ced345f2b71ba Mon Sep 17 00:00:00 2001 From: Błażej Kardyś Date: Fri, 20 Nov 2020 17:23:10 +0100 Subject: Changing how multimodule location provider works and improving gfm link substitution --- plugins/all-modules-page/src/main/kotlin/templates/Substitutor.kt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plugins/all-modules-page/src/main/kotlin/templates/Substitutor.kt (limited to 'plugins/all-modules-page/src/main/kotlin/templates/Substitutor.kt') diff --git a/plugins/all-modules-page/src/main/kotlin/templates/Substitutor.kt b/plugins/all-modules-page/src/main/kotlin/templates/Substitutor.kt new file mode 100644 index 00000000..98f1d88e --- /dev/null +++ b/plugins/all-modules-page/src/main/kotlin/templates/Substitutor.kt @@ -0,0 +1,7 @@ +package org.jetbrains.dokka.allModulesPage.templates + +import org.jetbrains.dokka.base.templating.SubstitutionCommand + +fun interface Substitutor { + fun trySubstitute(context: TemplatingContext, match: MatchResult): String? +} \ No newline at end of file -- cgit