aboutsummaryrefslogtreecommitdiff
path: root/plugins/all-module-page/src/main/kotlin/templates/TemplateProcessor.kt
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-09-24 14:16:13 +0200
committerBłażej Kardyś <bkardys@virtuslab.com>2020-11-27 03:15:02 +0100
commitdc179bf9a649d925e7e64dbcaf52a2187416a1d5 (patch)
treec86de1bd76fae760e21380b5e99767ec45c82f32 /plugins/all-module-page/src/main/kotlin/templates/TemplateProcessor.kt
parent52f64c664573567259f8f678d32924f86b4f147c (diff)
downloaddokka-dc179bf9a649d925e7e64dbcaf52a2187416a1d5.tar.gz
dokka-dc179bf9a649d925e7e64dbcaf52a2187416a1d5.tar.bz2
dokka-dc179bf9a649d925e7e64dbcaf52a2187416a1d5.zip
Implement basic link resolution
Diffstat (limited to 'plugins/all-module-page/src/main/kotlin/templates/TemplateProcessor.kt')
-rw-r--r--plugins/all-module-page/src/main/kotlin/templates/TemplateProcessor.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/all-module-page/src/main/kotlin/templates/TemplateProcessor.kt b/plugins/all-module-page/src/main/kotlin/templates/TemplateProcessor.kt
index cd144046..eafc3669 100644
--- a/plugins/all-module-page/src/main/kotlin/templates/TemplateProcessor.kt
+++ b/plugins/all-module-page/src/main/kotlin/templates/TemplateProcessor.kt
@@ -1,7 +1,9 @@
package org.jetbrains.dokka.allModulesPage.templates
import kotlinx.coroutines.*
+import org.jetbrains.dokka.base.templating.Command
import org.jetbrains.dokka.plugability.DokkaContext
+import org.jsoup.nodes.Element
import java.io.File
import java.nio.file.Files
import java.nio.file.Path
@@ -44,3 +46,9 @@ class DefaultTemplateProcessor(
}
}
+data class TemplatingContext<out T: Command>(
+ val input: File,
+ val output: File,
+ val element: Element,
+ val command: T,
+) \ No newline at end of file