From a1866dd98d291a6a2a538e88348c53ff08c812eb Mon Sep 17 00:00:00 2001 From: Błażej Kardyś Date: Wed, 1 Apr 2020 02:19:40 +0200 Subject: Integrating fuzzy search into dokka --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index 08bfae1f..c2960694 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -306,12 +306,9 @@ open class HtmlRenderer( id = "main" div { id = "searchBar" - form(action = page.root("-search.html"), method = FormMethod.get) { - id = "searchForm" - input(type = InputType.search, name = "query") - input(type = InputType.submit) { value = "Search" } - } } + script(type = ScriptType.textJavaScript, src = page.root("scripts/pages.js")) {} + script(type = ScriptType.textJavaScript, src = page.root("scripts/main.js")) {} content() } } -- cgit