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 | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/plugins/all-module-page/src/main/kotlin/AllModulesPagePlugin.kt b/plugins/all-module-page/src/main/kotlin/AllModulesPagePlugin.kt deleted file mode 100644 index bcc43043..00000000 --- a/plugins/all-module-page/src/main/kotlin/AllModulesPagePlugin.kt +++ /dev/null @@ -1,53 +0,0 @@ -package org.jetbrains.dokka.allModulesPage - -import org.jetbrains.dokka.CoreExtensions -import org.jetbrains.dokka.allModulesPage.templates.* -import org.jetbrains.dokka.base.DokkaBase -import org.jetbrains.dokka.plugability.DokkaPlugin -import org.jetbrains.dokka.transformers.pages.PageCreator -import org.jetbrains.dokka.transformers.pages.PageTransformer - -class AllModulesPagePlugin : DokkaPlugin() { - - val templateProcessor by extensionPoint<TemplateProcessor>() - val templateProcessingStrategy by extensionPoint<TemplateProcessingStrategy>() - val allModulePageCreator by extensionPoint<PageCreator>() - val allModulePageTransformer by extensionPoint<PageTransformer>() - - val substitutor by extensionPoint<Substitutor>() - - val allModulePageCreators by extending { - allModulePageCreator providing ::MultimodulePageCreator - } - - val multimoduleLocationProvider by extending { - (plugin<DokkaBase>().locationProviderFactory - providing MultimoduleLocationProvider::Factory - override plugin<DokkaBase>().locationProvider - applyIf { modules.size > 1 }) - } - - val allModulesPageGeneration by extending { - (CoreExtensions.generation - providing ::AllModulesPageGeneration - override plugin<DokkaBase>().singleGeneration) - } - - val defaultTemplateProcessor by extending { - templateProcessor providing ::DefaultTemplateProcessor - } - - val directiveBasedHtmlTemplateProcessingStrategy by extending { - templateProcessingStrategy providing ::DirectiveBasedHtmlTemplateProcessingStrategy order { - before(fallbackProcessingStrategy) - } - } - - val fallbackProcessingStrategy by extending { - templateProcessingStrategy providing ::FallbackTemplateProcessingStrategy - } - - val pathToRootSubstitutor by extending { - substitutor providing ::PathToRootSubstitutor - } -}
\ No newline at end of file |