diff options
Diffstat (limited to 'plugins/all-module-page/src/main/kotlin/AllModulesPagePlugin.kt')
-rw-r--r-- | plugins/all-module-page/src/main/kotlin/AllModulesPagePlugin.kt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/all-module-page/src/main/kotlin/AllModulesPagePlugin.kt b/plugins/all-module-page/src/main/kotlin/AllModulesPagePlugin.kt index 584de32f..f1ed8c1e 100644 --- a/plugins/all-module-page/src/main/kotlin/AllModulesPagePlugin.kt +++ b/plugins/all-module-page/src/main/kotlin/AllModulesPagePlugin.kt @@ -1,15 +1,15 @@ package org.jetbrains.dokka.allModulesPage import org.jetbrains.dokka.CoreExtensions -import org.jetbrains.dokka.allModulesPage.templates.DefaultTemplateProcessor -import org.jetbrains.dokka.allModulesPage.templates.DirectiveBasedTemplateProcessingStrategy -import org.jetbrains.dokka.allModulesPage.templates.TemplateProcessor +import org.jetbrains.dokka.allModulesPage.templates.* import org.jetbrains.dokka.base.DokkaBase import org.jetbrains.dokka.plugability.DokkaPlugin class AllModulesPagePlugin : DokkaPlugin() { val templateProcessor by extensionPoint<TemplateProcessor>() + val substitutor by extensionPoint<Substitutor>() + val allModulePageCreators by extending { (CoreExtensions.allModulePageCreator providing ::MultimodulePageCreator) @@ -31,4 +31,8 @@ class AllModulesPagePlugin : DokkaPlugin() { val defaultTemplateProcessor by extending { templateProcessor providing { DefaultTemplateProcessor(it, DirectiveBasedTemplateProcessingStrategy(it)) } } + + val pathToRootSubstitutor by extending { + substitutor providing ::PathToRootSubstitutor + } }
\ No newline at end of file |