aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/resolvers
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-09-08 17:03:31 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-09-10 13:11:02 +0200
commit37db297bfc00a12114122db06f34091528ed03e3 (patch)
tree17c4140d6286fbee1e312be952a5af6512a5d232 /plugins/base/src/main/kotlin/resolvers
parent79ab595fe44c3588ae07cd5130bb9d63d6085f07 (diff)
downloaddokka-37db297bfc00a12114122db06f34091528ed03e3.tar.gz
dokka-37db297bfc00a12114122db06f34091528ed03e3.tar.bz2
dokka-37db297bfc00a12114122db06f34091528ed03e3.zip
Fix presentation of typealiases
Diffstat (limited to 'plugins/base/src/main/kotlin/resolvers')
-rw-r--r--plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt2
1 files changed, 1 insertions, 1 deletions
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<DRI, DisplaySourceSet?>, 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 =