aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-08-28 15:50:10 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-28 16:09:12 +0200
commit9fe95458fff1abf711884abc3ec2f6da1b802a2b (patch)
treefffa281230b63399134c2116a35d0aba7691b732 /plugins/base/src/main/kotlin
parent25e90a1bd8f4a5121239b07be1f1dc3b786e1918 (diff)
downloaddokka-9fe95458fff1abf711884abc3ec2f6da1b802a2b.tar.gz
dokka-9fe95458fff1abf711884abc3ec2f6da1b802a2b.tar.bz2
dokka-9fe95458fff1abf711884abc3ec2f6da1b802a2b.zip
Hide navigation pane search on multimodule page
Diffstat (limited to 'plugins/base/src/main/kotlin')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index d95d8f2a..83af968d 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -691,8 +691,10 @@ open class HtmlRenderer(
div {
id = "logo"
}
- div {
- id = "paneSearch"
+ if(page !is MultimoduleRootPage) {
+ div {
+ id = "paneSearch"
+ }
}
div {
id = "sideMenu"