aboutsummaryrefslogtreecommitdiff
path: root/plugins/templating/src/test/kotlin/templates/TestTemplatingPlugin.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/templating/src/test/kotlin/templates/TestTemplatingPlugin.kt')
-rw-r--r--plugins/templating/src/test/kotlin/templates/TestTemplatingPlugin.kt16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/templating/src/test/kotlin/templates/TestTemplatingPlugin.kt b/plugins/templating/src/test/kotlin/templates/TestTemplatingPlugin.kt
new file mode 100644
index 00000000..1ed961b8
--- /dev/null
+++ b/plugins/templating/src/test/kotlin/templates/TestTemplatingPlugin.kt
@@ -0,0 +1,16 @@
+package org.jetbrains.dokka.templates
+
+import org.jetbrains.dokka.CoreExtensions
+import org.jetbrains.dokka.base.DokkaBase
+import org.jetbrains.dokka.plugability.DokkaPlugin
+
+class TestTemplatingPlugin: DokkaPlugin() {
+
+ val dokkaBase by lazy { plugin<DokkaBase>() }
+
+ val allModulesPageGeneration by extending {
+ (CoreExtensions.generation
+ providing ::TestTemplatingGeneration
+ override dokkaBase.singleGeneration)
+ }
+} \ No newline at end of file