diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-09-02 17:44:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 17:44:05 +0200 |
commit | 56ff8f3f24209bc9edaece876c56bd3fde1fbf8a (patch) | |
tree | 82ec6b6d9295f09b96d37166d2423b036313d7a6 /plugins/base/src/main/kotlin/translators | |
parent | 7aae28c09fc52f67d18babb0238dc8a4d397c2ad (diff) | |
download | dokka-56ff8f3f24209bc9edaece876c56bd3fde1fbf8a.tar.gz dokka-56ff8f3f24209bc9edaece876c56bd3fde1fbf8a.tar.bz2 dokka-56ff8f3f24209bc9edaece876c56bd3fde1fbf8a.zip |
Underline `@param` tag key for more consistency (#2643)
* Underline `@param` tag key for more consistency
* Correct keyValue table column ratio
Diffstat (limited to 'plugins/base/src/main/kotlin/translators')
-rw-r--r-- | plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt | 2 | ||||
-rw-r--r-- | plugins/base/src/main/kotlin/translators/psi/parsers/JavadocParser.kt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt index 7f16c568..12fbb33c 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt @@ -572,7 +572,7 @@ open class DefaultPageCreator( text( it.name, kind = ContentKind.Parameters, - styles = mainStyles + ContentStyle.RowTitle + styles = mainStyles + setOf(ContentStyle.RowTitle, TextStyle.Underlined) ) if (it.isNotEmpty()) { comment(it.root) diff --git a/plugins/base/src/main/kotlin/translators/psi/parsers/JavadocParser.kt b/plugins/base/src/main/kotlin/translators/psi/parsers/JavadocParser.kt index 7dc8e3a0..076d43a2 100644 --- a/plugins/base/src/main/kotlin/translators/psi/parsers/JavadocParser.kt +++ b/plugins/base/src/main/kotlin/translators/psi/parsers/JavadocParser.kt @@ -425,6 +425,7 @@ class JavadocParser( "h2" -> ifChildrenPresent { H2(children) } "h3" -> ifChildrenPresent { H3(children) } "var" -> ifChildrenPresent { Var(children) } + "u" -> ifChildrenPresent { U(children) } else -> listOf(Text(body = element.ownText())) } } |