aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-03-11 19:38:47 +0100
committerKamil Doległo <kamilok1965@users.noreply.github.com>2020-03-11 21:53:02 +0100
commit03fef66d5516f14e8c3a63784ccdc1a9fa492934 (patch)
tree85c1b6bbb8fad530d30d18a7b420f6905d0a901b /plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
parent78992dab91853ac2323b504955db3a89a109dc1b (diff)
downloaddokka-03fef66d5516f14e8c3a63784ccdc1a9fa492934.tar.gz
dokka-03fef66d5516f14e8c3a63784ccdc1a9fa492934.tar.bz2
dokka-03fef66d5516f14e8c3a63784ccdc1a9fa492934.zip
Fix searching in HTML format by appending js
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
index 787f2b69..a72c77ea 100644
--- a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
@@ -20,7 +20,7 @@ object SearchPageInstaller : PageTransformer {
name = "Search",
children = emptyList(),
strategy = RenderingStrategy<HtmlRenderer> {
- buildHtml(it, listOf("styles/style.css", "scripts/pages.js")) {
+ buildHtml(it, listOf("styles/style.css", "scripts/pages.js", "scripts/search.js")) {
h1 {
id = "searchTitle"
text("Search results for ")