aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/DokkaBase.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main/kotlin/DokkaBase.kt')
-rw-r--r--plugins/base/src/main/kotlin/DokkaBase.kt11
1 files changed, 9 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/DokkaBase.kt b/plugins/base/src/main/kotlin/DokkaBase.kt
index a5d45282..e92759ff 100644
--- a/plugins/base/src/main/kotlin/DokkaBase.kt
+++ b/plugins/base/src/main/kotlin/DokkaBase.kt
@@ -39,7 +39,6 @@ class DokkaBase : DokkaPlugin() {
val kotlinAnalysis by extensionPoint<KotlinAnalysis>()
val tabSortingStrategy by extensionPoint<TabSortingStrategy>()
-
val descriptorToDocumentableTranslator by extending {
CoreExtensions.sourceToDocumentableTranslator providing ::DefaultDescriptorToDocumentableTranslator
}
@@ -169,7 +168,11 @@ class DokkaBase : DokkaPlugin() {
}
val navigationPageInstaller by extending {
- htmlPreprocessors with NavigationPageInstaller order { after(rootCreator) }
+ htmlPreprocessors providing ::NavigationPageInstaller order { after(rootCreator) }
+ }
+
+ val navigationSearchInstaller by extending {
+ htmlPreprocessors providing ::NavigationSearchInstaller order { after(rootCreator) }
}
val scriptsInstaller by extending {
@@ -207,4 +210,8 @@ class DokkaBase : DokkaPlugin() {
MultimodulePageCreator(it)
}
}
+
+ val baseSearchbarDataInstaller by extending {
+ htmlPreprocessors providing ::SearchbarDataInstaller order { after(sourceLinksTransformer) }
+ }
}