From 2f7ee2b82cda39f6bd94c5200b83563418b68dd7 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 17 Dec 2020 10:17:45 +0100 Subject: Navigate to root after logo click, add data to searchbars on multimodule (#1631) --- .../all-modules-page/src/main/kotlin/AllModulesPagePlugin.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'plugins/all-modules-page/src/main/kotlin/AllModulesPagePlugin.kt') diff --git a/plugins/all-modules-page/src/main/kotlin/AllModulesPagePlugin.kt b/plugins/all-modules-page/src/main/kotlin/AllModulesPagePlugin.kt index 95a94cf4..c99293ef 100644 --- a/plugins/all-modules-page/src/main/kotlin/AllModulesPagePlugin.kt +++ b/plugins/all-modules-page/src/main/kotlin/AllModulesPagePlugin.kt @@ -54,6 +54,18 @@ class AllModulesPagePlugin : DokkaPlugin() { templateProcessingStrategy providing ::FallbackTemplateProcessingStrategy } + val navigationSearchTemplateStrategy by extending { + templateProcessingStrategy providing ::NavigationSearchTemplateStrategy order { + before(fallbackProcessingStrategy) + } + } + + val pagesSearchTemplateStrategy by extending { + templateProcessingStrategy providing ::PagesSearchTemplateStrategy order { + before(fallbackProcessingStrategy) + } + } + val pathToRootSubstitutor by extending { substitutor providing ::PathToRootSubstitutor } -- cgit