diff options
Diffstat (limited to 'plugins/base/src')
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt index 0706d387..3e06dc20 100644 --- a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt +++ b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt @@ -48,7 +48,7 @@ class KotlinSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLog private fun signature(f: Function) = contentBuilder.contentFor(f, ContentKind.Symbol) { platformText(f.visibility) { it.externalDisplayName + " " } - text(f.modifier.toString() + " ") + text(f.modifier.toString().toLowerCase() + " ") text("fun ") f.receiver?.also { type(it.type) diff --git a/plugins/base/src/test/resources/expect/test/out/root/fn.html b/plugins/base/src/test/resources/expect/test/out/root/fn.html index 806730da..cc0ae002 100644 --- a/plugins/base/src/test/resources/expect/test/out/root/fn.html +++ b/plugins/base/src/test/resources/expect/test/out/root/fn.html @@ -14,7 +14,7 @@ </div> <div id="content">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="fn.html">fn</a> <h1>fn</h1> -fun <a href="fn.html">fn</a>() +public final fun <a href="fn.html">fn</a>() <h3>Description</h3> Function fn </div> diff --git a/plugins/base/src/test/resources/expect/test/out/root/index.html b/plugins/base/src/test/resources/expect/test/out/root/index.html index fa51a24a..81f2bcc2 100644 --- a/plugins/base/src/test/resources/expect/test/out/root/index.html +++ b/plugins/base/src/test/resources/expect/test/out/root/index.html @@ -20,7 +20,7 @@ <tbody> <tr> <td><a href="fn.html">fn</a></td> - <td>fun <a href="fn.html">fn</a>()</td> + <td>public final fun <a href="fn.html">fn</a>()</td> <td>Function fn</td> </tr> </tbody> |