aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/resolvers
diff options
context:
space:
mode:
authorvmishenev <vad-mishenev@yandex.ru>2021-09-25 02:15:22 +0300
committervmishenev <vad-mishenev@yandex.ru>2021-10-15 00:24:39 +0300
commitb2663070490d6ad31a0e7ba7ae80d16dbde43aef (patch)
treecce72017295c1cffc97af090541131821550b681 /plugins/base/src/main/kotlin/resolvers
parent7e3f6b256585a8592e32ab9d8e01161f32e33aa6 (diff)
downloaddokka-b2663070490d6ad31a0e7ba7ae80d16dbde43aef.tar.gz
dokka-b2663070490d6ad31a0e7ba7ae80d16dbde43aef.tar.bz2
dokka-b2663070490d6ad31a0e7ba7ae80d16dbde43aef.zip
Fix adding new custom stylesheets in submodules (#2168)
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 69a851ed..c4c46331 100644
--- a/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt
+++ b/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt
@@ -140,7 +140,7 @@ open class DokkaLocationProvider(
private fun PageNode.parent() = pageGraphRoot.parentMap[this]
private val PageNode.pathName: String
- get() = if (this is PackagePageNode) name else identifierToFilename(name)
+ get() = if (this is PackagePageNode || this is RendererSpecificResourcePage) name else identifierToFilename(name)
protected data class DRIWithSourceSets(val dri: DRI, val sourceSet: Set<DisplaySourceSet>)