diff options
Diffstat (limited to 'plugins/templating/src/test/kotlin/templates/TestTemplatingGeneration.kt')
-rw-r--r-- | plugins/templating/src/test/kotlin/templates/TestTemplatingGeneration.kt | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/plugins/templating/src/test/kotlin/templates/TestTemplatingGeneration.kt b/plugins/templating/src/test/kotlin/templates/TestTemplatingGeneration.kt deleted file mode 100644 index 5dbe2bbe..00000000 --- a/plugins/templating/src/test/kotlin/templates/TestTemplatingGeneration.kt +++ /dev/null @@ -1,30 +0,0 @@ -package org.jetbrains.dokka.templates - -import org.jetbrains.dokka.Timer -import org.jetbrains.dokka.generation.Generation -import org.jetbrains.dokka.plugability.DokkaContext -import org.jetbrains.dokka.plugability.plugin -import org.jetbrains.dokka.plugability.query -import org.jetbrains.dokka.plugability.querySingle - -class TestTemplatingGeneration(private val context: DokkaContext) : Generation { - - val templatingPlugin by lazy { context.plugin<TemplatingPlugin>() } - - override fun Timer.generate() { - report("Processing submodules") - processSubmodules() - - report("Finishing processing") - finishProcessing() - } - - fun processSubmodules() = - templatingPlugin.querySingle { submoduleTemplateProcessor }.process(context.configuration.modules) - - fun finishProcessing() = - templatingPlugin.query { templateProcessingStrategy }.forEach { it.finish(context.configuration.outputDir) } - - - override val generationName = "test template generation" -}
\ No newline at end of file |