From 37db297bfc00a12114122db06f34091528ed03e3 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Tue, 8 Sep 2020 17:03:31 +0200 Subject: Fix presentation of typealiases --- plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin/resolvers') diff --git a/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt b/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt index 14111a3b..43ffff85 100644 --- a/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt +++ b/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt @@ -68,7 +68,7 @@ open class DokkaLocationProvider( private fun getLocalLocation(dri: Pair, context: PageNode?): String? = pagesIndex[dri]?.let { resolve(it, context) } - ?: anchorsIndex[dri]?.let { resolve(it, context) + "#$dri" } + ?: anchorsIndex[dri]?.let { resolve(it, context) + "#${dri.first}" } override fun pathToRoot(from: PageNode): String = -- cgit