From 04cf1cdd3a909fa62e5ffda5b7d04695c749177e Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 9 Jul 2020 10:45:06 +0200 Subject: Implement javadoc search --- .../src/main/resources/views/components/base.korte | 5 ++--- .../src/main/resources/views/components/head.korte | 16 +++++++--------- .../src/main/resources/views/components/pageStart.korte | 1 - .../src/main/resources/views/components/subNav.korte | 2 +- 4 files changed, 10 insertions(+), 14 deletions(-) (limited to 'plugins/javadoc/src/main/resources/views/components') diff --git a/plugins/javadoc/src/main/resources/views/components/base.korte b/plugins/javadoc/src/main/resources/views/components/base.korte index 528bb40e..786f007c 100644 --- a/plugins/javadoc/src/main/resources/views/components/base.korte +++ b/plugins/javadoc/src/main/resources/views/components/base.korte @@ -11,9 +11,8 @@ try { } catch (err) { } //--> -var pathtoroot = "../"; -var useModuleDirectories = true; -loadScripts(document, 'script'); +var pathtoroot = "{{ pathToRoot }}"; + diff --git a/plugins/javadoc/src/main/resources/views/components/head.korte b/plugins/javadoc/src/main/resources/views/components/head.korte index d742a7a9..a3c74f12 100644 --- a/plugins/javadoc/src/main/resources/views/components/head.korte +++ b/plugins/javadoc/src/main/resources/views/components/head.korte @@ -1,19 +1,17 @@ - {{ title }} ({{ docName }} {{ version }}) - - - - - - + + + + + + + \ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/pageStart.korte b/plugins/javadoc/src/main/resources/views/components/pageStart.korte index f369044c..56cf243e 100644 --- a/plugins/javadoc/src/main/resources/views/components/pageStart.korte +++ b/plugins/javadoc/src/main/resources/views/components/pageStart.korte @@ -28,7 +28,6 @@ } //--> var pathtoroot = "{{ pathToRoot }}"; -var useModuleDirectories = true; loadScripts(document, 'script');