aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/renderers
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2020-10-14 09:27:11 +0200
committerKamil Doległo <9080183+kamildoleglo@users.noreply.github.com>2020-10-15 03:05:14 +0200
commit7e2678e5e182afc10c3ca98107aae3c7590b909b (patch)
tree15d18e86d31c288b04f5778e9eda1b9ad8237390 /plugins/base/src/main/kotlin/renderers
parentcb5dbf7fd35d023d29cc00fefb0182bada323b7c (diff)
downloaddokka-7e2678e5e182afc10c3ca98107aae3c7590b909b.tar.gz
dokka-7e2678e5e182afc10c3ca98107aae3c7590b909b.tar.bz2
dokka-7e2678e5e182afc10c3ca98107aae3c7590b909b.zip
Make names resulting from clashing DRI-s appear only in navigatable components
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
index 43c26dc5..b34d3d6e 100644
--- a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
@@ -72,7 +72,7 @@ object NavigationPageInstaller : PageTransformer {
}.sortedBy { it.name.toLowerCase() }
private val ContentPage.displayableName: String
- get() = if(documentable is DFunction){
+ get() = if (documentable is DFunction) {
"$name()"
} else {
name