aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2020-02-06 10:45:56 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-02-06 10:49:24 +0100
commit1a8c57abd0bf21e53d580f166bedbf2fa6988db1 (patch)
tree5f89a7484bca39f9012c2c5ec8300be8c598790c /core
parentf46ddecdd1fa2afc6275e5f4379a5bd855314e36 (diff)
downloaddokka-1a8c57abd0bf21e53d580f166bedbf2fa6988db1.tar.gz
dokka-1a8c57abd0bf21e53d580f166bedbf2fa6988db1.tar.bz2
dokka-1a8c57abd0bf21e53d580f166bedbf2fa6988db1.zip
missing first
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/renderers/html/htmlPreprocessors.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/renderers/html/htmlPreprocessors.kt b/core/src/main/kotlin/renderers/html/htmlPreprocessors.kt
index 22856368..4ee67448 100644
--- a/core/src/main/kotlin/renderers/html/htmlPreprocessors.kt
+++ b/core/src/main/kotlin/renderers/html/htmlPreprocessors.kt
@@ -43,7 +43,7 @@ object NavigationPageInstaller : PageNodeTransformer {
private fun visit(page: ContentPage): NavigationNode = NavigationNode(
page.name,
- page.dri,
+ page.dri.first(),
page.platforms(),
page.children.filterIsInstance<ContentPage>().map { visit(it) })
}