aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/renderers/html/SearchbarDataInstaller.kt
diff options
context:
space:
mode:
authorDenis Ambatenne <75973078+d-ambatenne@users.noreply.github.com>2023-07-06 14:46:12 +0200
committerGitHub <noreply@github.com>2023-07-06 14:46:12 +0200
commitc075c9570777d0946ba48ad88171379b52733416 (patch)
treea78872456b7248e2b1d0e5d716578d5a6aacc4ab /plugins/base/src/main/kotlin/renderers/html/SearchbarDataInstaller.kt
parent9559158bfeeb274e9ccf1b4563f1b23b42afc493 (diff)
downloaddokka-c075c9570777d0946ba48ad88171379b52733416.tar.gz
dokka-c075c9570777d0946ba48ad88171379b52733416.tar.bz2
dokka-c075c9570777d0946ba48ad88171379b52733416.zip
HTML: fix of redundant dot and related autotest (#2289) (#3057)
* HTML: fix of redundant dot and related autotest (#2289) * Update plugins/base/src/test/kotlin/renderers/html/SearchbarDataInstallerTest.kt Change after the PR #3057 review Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com> * Change after the PR #3057 review Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com> --------- Co-authored-by: Denis Ambatenne <denis.ambatenne@jetbrains.com> Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com>
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers/html/SearchbarDataInstaller.kt')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/SearchbarDataInstaller.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/SearchbarDataInstaller.kt b/plugins/base/src/main/kotlin/renderers/html/SearchbarDataInstaller.kt
index b3d40ca0..20b412a7 100644
--- a/plugins/base/src/main/kotlin/renderers/html/SearchbarDataInstaller.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/SearchbarDataInstaller.kt
@@ -30,7 +30,7 @@ open class SearchbarDataInstaller(val context: DokkaContext) : PageTransformer {
val id: String
get() = with(driWithSourceSets.dri) {
listOfNotNull(
- packageName,
+ packageName?.takeIf { it.isNotBlank() },
classNames,
callable?.name
).joinToString(".")