aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt48
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt36
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/f.html9
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunction/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html9
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html9
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html9
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html45
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html9
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html9
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html25
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/function/out/html/root/fn.html9
-rw-r--r--plugins/base/src/test/resources/expect/function/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/function/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html9
-rw-r--r--plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html9
-rw-r--r--plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html9
-rw-r--r--plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html35
-rw-r--r--plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html9
-rw-r--r--plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html9
-rw-r--r--plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html25
-rw-r--r--plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/f.html9
-rw-r--r--plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/function.html9
-rw-r--r--plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/f.html9
-rw-r--r--plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/functionWithParams/out/html/root/function.html9
-rw-r--r--plugins/base/src/test/resources/expect/functionWithParams/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/functionWithParams/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/fn.html18
-rw-r--r--plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/index.html25
-rw-r--r--plugins/base/src/test/resources/expect/functionWithReceiver/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/genericFunction/out/html/root/generic.html9
-rw-r--r--plugins/base/src/test/resources/expect/genericFunction/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/genericFunction/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/generic.html9
-rw-r--r--plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/inlineFunction/out/html/root/f.html9
-rw-r--r--plugins/base/src/test/resources/expect/inlineFunction/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/inlineFunction/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/f.html9
-rw-r--r--plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/signatureTest/out/html/root/index.html7
-rw-r--r--plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/index.html25
-rw-r--r--plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test.html9
-rw-r--r--plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test2.html9
-rw-r--r--plugins/base/src/test/resources/expect/signatureTest/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/available-since1.1.html9
-rw-r--r--plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/sinceKotlin/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/suspendFunction/out/html/root/f.html9
-rw-r--r--plugins/base/src/test/resources/expect/suspendFunction/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/suspendFunction/out/html/styles/style.css82
-rw-r--r--plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/f.html9
-rw-r--r--plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/index.html16
-rw-r--r--plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/styles/style.css82
65 files changed, 1925 insertions, 191 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index 439a8fbe..19b0f26f 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -115,13 +115,20 @@ open class HtmlRenderer(
}
}
- private fun TR.buildPlatformTags(
- node: ContentGroup
+ private fun TBODY.buildPlatformTaggedRow(
+ node: ContentTable,
+ pageContext: ContentPage,
+ platformRestriction: PlatformData?
) {
- if(ContentKind.shouldBePlatformTagged(node.dci.kind)) {
- td {
- div("platform-tagged"){
- node.platforms.forEach {
+ node.children.forEach {
+ tr("platform-tagged") {
+ it.children.forEach {
+ td("content") {
+ it.build(this, pageContext, platformRestriction)
+ }
+ }
+ td("platform-tagged") {
+ it.platforms.forEach {
div(("platform-tag ${it.platformType.key}")) {
text(it.platformType.key.toUpperCase())
}
@@ -131,6 +138,22 @@ open class HtmlRenderer(
}
}
+ private fun TBODY.buildRow(
+ node: ContentTable,
+ pageContext: ContentPage,
+ platformRestriction: PlatformData?
+ ) {
+ node.children.forEach {
+ tr {
+ it.children.forEach {
+ td {
+ it.build(this, pageContext, platformRestriction)
+ }
+ }
+ }
+ }
+ }
+
override fun FlowContent.buildTable(
node: ContentTable,
pageContext: ContentPage,
@@ -149,15 +172,10 @@ open class HtmlRenderer(
}
}
tbody {
- node.children.forEach {
- tr {
- it.children.forEach {
- td {
- it.build(this, pageContext, platformRestriction)
- }
- }
- buildPlatformTags(it)
- }
+ if(ContentKind.shouldBePlatformTagged(node.dci.kind)) {
+ buildPlatformTaggedRow(node, pageContext, platformRestriction)
+ } else {
+ buildRow(node, pageContext, platformRestriction)
}
}
}
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
index 349d9970..41d4b917 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
@@ -98,12 +98,14 @@ open class DefaultPageCreator(
}
block("Properties", 2, ContentKind.Properties, s.properties, platformData.toSet()) {
link(it.name, it.dri)
- platformDependentHint(it.dri, it.platformData.toSet()) {
- +buildSignature(it)
- }
- breakLine()
- group(kind = ContentKind.BriefComment) {
- text(it.briefDocumentation())
+ group {
+ platformDependentHint(it.dri, it.platformData.toSet()) {
+ +buildSignature(it)
+ }
+ breakLine()
+ group(kind = ContentKind.BriefComment) {
+ text(it.briefDocumentation())
+ }
}
}
(s as? WithExtraProperties<Documentable>)?.let { it.extra[InheritorsInfo] }?.let { inheritors ->
@@ -144,20 +146,26 @@ open class DefaultPageCreator(
c.platformData.toSet()
) {
link(it.name, it.dri)
- platformDependentHint(it.dri, it.platformData.toSet()) {
- +buildSignature(it)
- }
- group(kind = ContentKind.BriefComment) {
- text(it.briefDocumentation())
+ group {
+ platformDependentHint(it.dri, it.platformData.toSet()) {
+ +buildSignature(it)
+ }
+ group(kind = ContentKind.BriefComment) {
+ text(it.briefDocumentation())
+ }
}
}
}
if (c is DEnum) {
block("Entries", 2, ContentKind.Classlikes, c.entries, c.platformData.toSet()) {
link(it.name.orEmpty(), it.dri)
- +buildSignature(it)
- group(kind = ContentKind.BriefComment) {
- text(it.briefDocumentation())
+ group {
+ platformDependentHint(it.dri, it.platformData.toSet()){
+ +buildSignature(it)
+ }
+ group(kind = ContentKind.BriefComment) {
+ text(it.briefDocumentation())
+ }
}
}
}
diff --git a/plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/f.html b/plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/f.html
index b212ca00..0f9f7487 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/f.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/f.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//f/#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
- <h1>f</h1>
-<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>f</h1>
+<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/index.html
index b22194f8..f2b20ccf 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunction/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="f.html">f</a></td>
- <td><div class="symbol monospace">final fun <a href="f.html">f</a>()</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="f.html">f</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="f.html">f</a>()</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunction/out/html/styles/style.css b/plugins/base/src/test/resources/expect/annotatedFunction/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunction/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/annotatedFunction/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html
index 54f356bf..ab81e6cd 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/-init-.html
@@ -17,8 +17,13 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy/&lt;init&gt;/#kotlin.Int//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="-init-.html">&lt;init&gt;</a>
- <h1>&lt;init&gt;</h1>
-<div class="symbol monospace">final fun <a href="-init-.html">&lt;init&gt;</a>(size: <a href="">Int</a>)</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>&lt;init&gt;</h1>
+<div class="symbol monospace">final fun <a href="-init-.html">&lt;init&gt;</a>(size: <a href="">Int</a>)</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html
index 3047ead0..ca933941 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/equals.html
@@ -17,8 +17,13 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy/equals/#kotlin.Any?//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="equals.html">equals</a>
- <h1>equals</h1>
-<div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>equals</h1>
+<div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html
index aae30759..a8658fb9 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/hash-code.html
@@ -17,8 +17,13 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy/hashCode/#//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="hash-code.html">hashCode</a>
- <h1>hashCode</h1>
-<div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>hashCode</h1>
+<div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html
index e43d5514..a79b8a93 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/index.html
@@ -17,29 +17,42 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy////">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>
- <h1>Fancy</h1>
-<div class="symbol monospace">annotation class <a href="index.html">Fancy</a></div><br>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Fancy</h1>
+<div class="symbol monospace">annotation class <a href="index.html">Fancy</a></div> </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="equals.html">equals</a></td>
- <td><div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="equals.html">equals</a></td>
+ <td class="content"><div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
- <tr>
- <td><a href="hash-code.html">hashCode</a></td>
- <td><div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="hash-code.html">hashCode</a></td>
+ <td class="content"><div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
- <tr>
- <td><a href="to-string.html">toString</a></td>
- <td><div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="to-string.html">toString</a></td>
+ <td class="content"><div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
@@ -47,12 +60,14 @@
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="">size</a></td>
- <td><div class="symbol monospace"><a href="">Int</a></div></td>
- <td>
+ <tr class="platform-tagged">
+ <td class="content"><a href="">size</a></td>
+ <td class="content"><div class="symbol monospace"><a href="">Int</a></div><br>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html
index 89cc4ecc..6bc83cc3 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/-fancy/to-string.html
@@ -17,8 +17,13 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy/toString/#//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="to-string.html">toString</a>
- <h1>toString</h1>
-<div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>toString</h1>
+<div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html
index b212ca00..0f9f7487 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/f.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//f/#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
- <h1>f</h1>
-<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>f</h1>
+<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html
index f485569d..bbc94367 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Types</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="-fancy/index.html">Fancy</a></td>
- <td><div class="symbol monospace">annotation class <a href="-fancy/index.html">Fancy</a></div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="-fancy/index.html">Fancy</a></td>
+ <td class="content"><div class="symbol monospace">annotation class <a href="-fancy/index.html">Fancy</a></div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
@@ -34,11 +42,14 @@
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="f.html">f</a></td>
- <td><div class="symbol monospace">final fun <a href="f.html">f</a>()</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="f.html">f</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="f.html">f</a>()</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/function/out/html/root/fn.html b/plugins/base/src/test/resources/expect/function/out/html/root/fn.html
index 600c6f19..8da722f8 100644
--- a/plugins/base/src/test/resources/expect/function/out/html/root/fn.html
+++ b/plugins/base/src/test/resources/expect/function/out/html/root/fn.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//fn/#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="fn.html">fn</a>
- <h1>fn</h1>
-<div class="symbol monospace">final fun <a href="fn.html">fn</a>()</div> <h3>Description</h3>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>fn</h1>
+<div class="symbol monospace">final fun <a href="fn.html">fn</a>()</div> </div>
+ </div>
+ <h3>Description</h3>
Function fn<br> </div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/function/out/html/root/index.html b/plugins/base/src/test/resources/expect/function/out/html/root/index.html
index 8c346556..1409308f 100644
--- a/plugins/base/src/test/resources/expect/function/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/function/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="fn.html">fn</a></td>
- <td><div class="symbol monospace">final fun <a href="fn.html">fn</a>()</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="fn.html">fn</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="fn.html">fn</a>()</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/function/out/html/styles/style.css b/plugins/base/src/test/resources/expect/function/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/function/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/function/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html
index 51e4544a..014669d9 100644
--- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html
+++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/-init-.html
@@ -17,8 +17,13 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy/&lt;init&gt;/#//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="-init-.html">&lt;init&gt;</a>
- <h1>&lt;init&gt;</h1>
-<div class="symbol monospace">final fun <a href="-init-.html">&lt;init&gt;</a>()</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>&lt;init&gt;</h1>
+<div class="symbol monospace">final fun <a href="-init-.html">&lt;init&gt;</a>()</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html
index 3047ead0..ca933941 100644
--- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html
+++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/equals.html
@@ -17,8 +17,13 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy/equals/#kotlin.Any?//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="equals.html">equals</a>
- <h1>equals</h1>
-<div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>equals</h1>
+<div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html
index aae30759..a8658fb9 100644
--- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html
+++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/hash-code.html
@@ -17,8 +17,13 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy/hashCode/#//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="hash-code.html">hashCode</a>
- <h1>hashCode</h1>
-<div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>hashCode</h1>
+<div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html
index 5c51a927..a0dcff00 100644
--- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html
+++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/index.html
@@ -17,29 +17,42 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy////">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>
- <h1>Fancy</h1>
-<div class="symbol monospace">annotation class <a href="index.html">Fancy</a></div><br>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Fancy</h1>
+<div class="symbol monospace">annotation class <a href="index.html">Fancy</a></div> </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="equals.html">equals</a></td>
- <td><div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="equals.html">equals</a></td>
+ <td class="content"><div class="symbol monospace">open fun <a href="equals.html">equals</a>(other: <a href="">Any</a>): <a href="">Boolean</a></div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
- <tr>
- <td><a href="hash-code.html">hashCode</a></td>
- <td><div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="hash-code.html">hashCode</a></td>
+ <td class="content"><div class="symbol monospace">open fun <a href="hash-code.html">hashCode</a>(): <a href="">Int</a></div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
- <tr>
- <td><a href="to-string.html">toString</a></td>
- <td><div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="to-string.html">toString</a></td>
+ <td class="content"><div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html
index 89cc4ecc..6bc83cc3 100644
--- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html
+++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/-fancy/to-string.html
@@ -17,8 +17,13 @@
<form action="../../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/Fancy/toString/#//">//<a href="../../index.html">root</a>/<a href="../index.html"></a>/<a href="index.html">Fancy</a>/<a href="to-string.html">toString</a>
- <h1>toString</h1>
-<div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>toString</h1>
+<div class="symbol monospace">open fun <a href="to-string.html">toString</a>(): <a href="">String</a></div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html
index ad03758d..a6980172 100644
--- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html
+++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/function.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//function/#kotlin.Function0[kotlin.Unit]//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="function.html">function</a>
- <h1>function</h1>
-<div class="symbol monospace">final fun <a href="function.html">function</a>(notInlined: <div class="symbol monospace">() -&gt; <a href="">Unit</a></div>)</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>function</h1>
+<div class="symbol monospace">final fun <a href="function.html">function</a>(notInlined: <div class="symbol monospace">() -&gt; <a href="">Unit</a></div>)</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html
index 88bff912..c23b04d0 100644
--- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Types</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="-fancy/index.html">Fancy</a></td>
- <td><div class="symbol monospace">annotation class <a href="-fancy/index.html">Fancy</a></div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="-fancy/index.html">Fancy</a></td>
+ <td class="content"><div class="symbol monospace">annotation class <a href="-fancy/index.html">Fancy</a></div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
@@ -34,11 +42,14 @@
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="function.html">function</a></td>
- <td><div class="symbol monospace">final fun <a href="function.html">function</a>(notInlined: <div class="symbol monospace">() -&gt; <a href="">Unit</a></div>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="function.html">function</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="function.html">function</a>(notInlined: <div class="symbol monospace">() -&gt; <a href="">Unit</a></div>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/styles/style.css b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/f.html b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/f.html
index d2e1ac58..cebc429d 100644
--- a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/f.html
+++ b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/f.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//f/#kotlin.String//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
- <h1>f</h1>
-<div class="symbol monospace">final fun <a href="f.html">f</a>(x: <a href="">String</a>)</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>f</h1>
+<div class="symbol monospace">final fun <a href="f.html">f</a>(x: <a href="">String</a>)</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/index.html
index 18e45a19..cd8ff484 100644
--- a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="f.html">f</a></td>
- <td><div class="symbol monospace">final fun <a href="f.html">f</a>(x: <a href="">String</a>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="f.html">f</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="f.html">f</a>(x: <a href="">String</a>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/styles/style.css b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/functionWithDefaultParameter/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/function.html b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/function.html
index ad03758d..a6980172 100644
--- a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/function.html
+++ b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/function.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//function/#kotlin.Function0[kotlin.Unit]//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="function.html">function</a>
- <h1>function</h1>
-<div class="symbol monospace">final fun <a href="function.html">function</a>(notInlined: <div class="symbol monospace">() -&gt; <a href="">Unit</a></div>)</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>function</h1>
+<div class="symbol monospace">final fun <a href="function.html">function</a>(notInlined: <div class="symbol monospace">() -&gt; <a href="">Unit</a></div>)</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/index.html
index 71c9c491..66e186ad 100644
--- a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="function.html">function</a></td>
- <td><div class="symbol monospace">final fun <a href="function.html">function</a>(notInlined: <div class="symbol monospace">() -&gt; <a href="">Unit</a></div>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="function.html">function</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="function.html">function</a>(notInlined: <div class="symbol monospace">() -&gt; <a href="">Unit</a></div>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/styles/style.css b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/functionWithNoinlineParam/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/f.html b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/f.html
index b212ca00..0f9f7487 100644
--- a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/f.html
+++ b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/f.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//f/#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
- <h1>f</h1>
-<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>f</h1>
+<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/index.html
index b22194f8..f2b20ccf 100644
--- a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="f.html">f</a></td>
- <td><div class="symbol monospace">final fun <a href="f.html">f</a>()</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="f.html">f</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="f.html">f</a>()</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/styles/style.css b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/functionWithNotDocumentedAnnotation/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/function.html b/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/function.html
index 02a6de53..2e9d95cc 100644
--- a/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/function.html
+++ b/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/function.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//function/#kotlin.Int//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="function.html">function</a>
- <h1>function</h1>
-<div class="symbol monospace">final fun <a href="function.html">function</a>(x: <a href="">Int</a>)</div> <h3>Description</h3>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>function</h1>
+<div class="symbol monospace">final fun <a href="function.html">function</a>(x: <a href="">Int</a>)</div> </div>
+ </div>
+ <h3>Description</h3>
MultilineFunction Documentation<br> </div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/index.html
index 56955a0a..aa99f6f8 100644
--- a/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/functionWithParams/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="function.html">function</a></td>
- <td><div class="symbol monospace">final fun <a href="function.html">function</a>(x: <a href="">Int</a>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="function.html">function</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="function.html">function</a>(x: <a href="">Int</a>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/functionWithParams/out/html/styles/style.css b/plugins/base/src/test/resources/expect/functionWithParams/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/functionWithParams/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/functionWithParams/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/fn.html b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/fn.html
index af435bd4..0a28094d 100644
--- a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/fn.html
+++ b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/fn.html
@@ -17,10 +17,20 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//fn/kotlin.String#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="fn.html">fn</a>
- <h1>fn</h1>
-<div class="symbol monospace">final fun <a href="">String</a>.<a href="fn.html">fn</a>()</div> <h3>Description</h3>
-Function with receiver<br> <h1>fn</h1>
-<div class="symbol monospace">final fun <a href="">String</a>.<a href="fn.html">fn</a>(x: <a href="">Int</a>)</div> <h3>Description</h3>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>fn</h1>
+<div class="symbol monospace">final fun <a href="">String</a>.<a href="fn.html">fn</a>()</div> </div>
+ </div>
+ <h3>Description</h3>
+Function with receiver<br> <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>fn</h1>
+<div class="symbol monospace">final fun <a href="">String</a>.<a href="fn.html">fn</a>(x: <a href="">Int</a>)</div> </div>
+ </div>
+ <h3>Description</h3>
Function with receiver<br> </div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/index.html b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/index.html
index ed7c004e..0ddd4f3c 100644
--- a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/root/index.html
@@ -17,22 +17,33 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="fn.html">fn</a></td>
- <td><div class="symbol monospace">final fun <a href="">String</a>.<a href="fn.html">fn</a>()</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="fn.html">fn</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="">String</a>.<a href="fn.html">fn</a>()</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
- <tr>
- <td><a href="fn.html">fn</a></td>
- <td><div class="symbol monospace">final fun <a href="">String</a>.<a href="fn.html">fn</a>(x: <a href="">Int</a>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="fn.html">fn</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="">String</a>.<a href="fn.html">fn</a>(x: <a href="">Int</a>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/styles/style.css b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/functionWithReceiver/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/genericFunction/out/html/root/generic.html b/plugins/base/src/test/resources/expect/genericFunction/out/html/root/generic.html
index a86d6f4e..68819de1 100644
--- a/plugins/base/src/test/resources/expect/genericFunction/out/html/root/generic.html
+++ b/plugins/base/src/test/resources/expect/genericFunction/out/html/root/generic.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//generic/#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="generic.html">generic</a>
- <h1>generic</h1>
-<div class="symbol monospace">private final fun &lt;<a href="generic.html">T</a> : <a href="">Any</a>&gt; <a href="generic.html">generic</a>()</div> <h3>Description</h3>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>generic</h1>
+<div class="symbol monospace">private final fun &lt;<a href="generic.html">T</a> : <a href="">Any</a>&gt; <a href="generic.html">generic</a>()</div> </div>
+ </div>
+ <h3>Description</h3>
generic function<br> </div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/genericFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/genericFunction/out/html/root/index.html
index eb0ac0fc..2e84c24c 100644
--- a/plugins/base/src/test/resources/expect/genericFunction/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/genericFunction/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="generic.html">generic</a></td>
- <td><div class="symbol monospace">private final fun &lt;<a href="generic.html">T</a> : <a href="">Any</a>&gt; <a href="generic.html">generic</a>()</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="generic.html">generic</a></td>
+ <td class="content"><div class="symbol monospace">private final fun &lt;<a href="generic.html">T</a> : <a href="">Any</a>&gt; <a href="generic.html">generic</a>()</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/genericFunction/out/html/styles/style.css b/plugins/base/src/test/resources/expect/genericFunction/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/genericFunction/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/genericFunction/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/generic.html b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/generic.html
index c9e8ad17..564bf927 100644
--- a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/generic.html
+++ b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/generic.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//generic/#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="generic.html">generic</a>
- <h1>generic</h1>
-<div class="symbol monospace">final fun &lt;<a href="generic.html">T</a> : R, <a href="generic.html">R</a> : <a href="">Any</a>&gt; <a href="generic.html">generic</a>()</div> <h3>Description</h3>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>generic</h1>
+<div class="symbol monospace">final fun &lt;<a href="generic.html">T</a> : R, <a href="generic.html">R</a> : <a href="">Any</a>&gt; <a href="generic.html">generic</a>()</div> </div>
+ </div>
+ <h3>Description</h3>
generic function<br> </div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/index.html b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/index.html
index 4b702383..1356290c 100644
--- a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="generic.html">generic</a></td>
- <td><div class="symbol monospace">final fun &lt;<a href="generic.html">T</a> : R, <a href="generic.html">R</a> : <a href="">Any</a>&gt; <a href="generic.html">generic</a>()</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="generic.html">generic</a></td>
+ <td class="content"><div class="symbol monospace">final fun &lt;<a href="generic.html">T</a> : R, <a href="generic.html">R</a> : <a href="">Any</a>&gt; <a href="generic.html">generic</a>()</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/styles/style.css b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/genericFunctionWithConstraints/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/f.html b/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/f.html
index 8a7bf1dc..56d94f78 100644
--- a/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/f.html
+++ b/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/f.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//f/#kotlin.Function0[kotlin.String]//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
- <h1>f</h1>
-<div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>f</h1>
+<div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/index.html
index 97dfd476..0636b39d 100644
--- a/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/inlineFunction/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="f.html">f</a></td>
- <td><div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="f.html">f</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/inlineFunction/out/html/styles/style.css b/plugins/base/src/test/resources/expect/inlineFunction/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/inlineFunction/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/inlineFunction/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/f.html b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/f.html
index 8a7bf1dc..56d94f78 100644
--- a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/f.html
+++ b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/f.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//f/#kotlin.Function0[kotlin.String]//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
- <h1>f</h1>
-<div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>f</h1>
+<div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/index.html
index 97dfd476..0636b39d 100644
--- a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="f.html">f</a></td>
- <td><div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="f.html">f</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/styles/style.css b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/inlineSuspendFunction/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/index.html b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/index.html
index 336c1700..98f07d76 100644
--- a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/index.html
@@ -22,8 +22,11 @@
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="signatureTest/index.html">signatureTest</a></td>
+ <tr class="platform-tagged">
+ <td class="content"><a href="signatureTest/index.html">signatureTest</a></td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/index.html b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/index.html
index 851f13f0..8b97b539 100644
--- a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/index.html
+++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/index.html
@@ -17,22 +17,33 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="signatureTest/////">//<a href="../index.html">root</a>/<a href="index.html">signatureTest</a>
- <h1>Package signatureTest</h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package signatureTest</h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="test.html">test</a></td>
- <td><div class="symbol monospace">final fun <a href="test.html">test</a>(i: <div class="symbol monospace">(<a href="">Int</a>) -&gt; <a href="">Int</a></div>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="test.html">test</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="test.html">test</a>(i: <div class="symbol monospace">(<a href="">Int</a>) -&gt; <a href="">Int</a></div>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
- <tr>
- <td><a href="test2.html">test2</a></td>
- <td><div class="symbol monospace">final fun <a href="test2.html">test2</a>(i: <div class="symbol monospace"><a href="">Int</a>.(<a href="">Int</a>) -&gt; <a href="">Int</a></div>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="test2.html">test2</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="test2.html">test2</a>(i: <div class="symbol monospace"><a href="">Int</a>.(<a href="">Int</a>) -&gt; <a href="">Int</a></div>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test.html b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test.html
index 353c5232..1c82aaf5 100644
--- a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test.html
+++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="signatureTest//test/#kotlin.Function1[kotlin.Int,kotlin.Int]//">//<a href="../index.html">root</a>/<a href="index.html">signatureTest</a>/<a href="test.html">test</a>
- <h1>test</h1>
-<div class="symbol monospace">final fun <a href="test.html">test</a>(i: <div class="symbol monospace">(<a href="">Int</a>) -&gt; <a href="">Int</a></div>)</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>test</h1>
+<div class="symbol monospace">final fun <a href="test.html">test</a>(i: <div class="symbol monospace">(<a href="">Int</a>) -&gt; <a href="">Int</a></div>)</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test2.html b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test2.html
index 0b8c6dd4..5180d08e 100644
--- a/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test2.html
+++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/root/signatureTest/test2.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="signatureTest//test2/#kotlin.Function2[kotlin.Int,kotlin.Int,kotlin.Int]//">//<a href="../index.html">root</a>/<a href="index.html">signatureTest</a>/<a href="test2.html">test2</a>
- <h1>test2</h1>
-<div class="symbol monospace">final fun <a href="test2.html">test2</a>(i: <div class="symbol monospace"><a href="">Int</a>.(<a href="">Int</a>) -&gt; <a href="">Int</a></div>)</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>test2</h1>
+<div class="symbol monospace">final fun <a href="test2.html">test2</a>(i: <div class="symbol monospace"><a href="">Int</a>.(<a href="">Int</a>) -&gt; <a href="">Int</a></div>)</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/styles/style.css b/plugins/base/src/test/resources/expect/signatureTest/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/signatureTest/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/available-since1.1.html b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/available-since1.1.html
index 7264fbf4..be14dcd1 100644
--- a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/available-since1.1.html
+++ b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/available-since1.1.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//availableSince1.1/#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="available-since1.1.html">availableSince1.1</a>
- <h1>availableSince1.1</h1>
-<div class="symbol monospace">final fun <a href="available-since1.1.html">availableSince1.1</a>(): <a href="">String</a></div> <h3>Description</h3>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>availableSince1.1</h1>
+<div class="symbol monospace">final fun <a href="available-since1.1.html">availableSince1.1</a>(): <a href="">String</a></div> </div>
+ </div>
+ <h3>Description</h3>
Quite useful <a href="">String</a><br> </div>
</div>
</div>
diff --git a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/index.html b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/index.html
index c54e53a5..2fd42aa5 100644
--- a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="available-since1.1.html">availableSince1.1</a></td>
- <td><div class="symbol monospace">final fun <a href="available-since1.1.html">availableSince1.1</a>(): <a href="">String</a></div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="available-since1.1.html">availableSince1.1</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="available-since1.1.html">availableSince1.1</a>(): <a href="">String</a></div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/styles/style.css b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/sinceKotlin/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/sinceKotlin/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/f.html b/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/f.html
index b212ca00..0f9f7487 100644
--- a/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/f.html
+++ b/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/f.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//f/#//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
- <h1>f</h1>
-<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>f</h1>
+<div class="symbol monospace">final fun <a href="f.html">f</a>()</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/index.html
index b22194f8..f2b20ccf 100644
--- a/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/suspendFunction/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="f.html">f</a></td>
- <td><div class="symbol monospace">final fun <a href="f.html">f</a>()</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="f.html">f</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="f.html">f</a>()</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/suspendFunction/out/html/styles/style.css b/plugins/base/src/test/resources/expect/suspendFunction/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/suspendFunction/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/suspendFunction/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {
diff --git a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/f.html b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/f.html
index 8a7bf1dc..56d94f78 100644
--- a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/f.html
+++ b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/f.html
@@ -17,8 +17,13 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="//f/#kotlin.Function0[kotlin.String]//">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="f.html">f</a>
- <h1>f</h1>
-<div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div> </div>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>f</h1>
+<div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div> </div>
+ </div>
+ </div>
</div>
</div>
</body>
diff --git a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/index.html b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/index.html
index 97dfd476..0636b39d 100644
--- a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/index.html
+++ b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/root/index.html
@@ -17,16 +17,24 @@
<form action="../../-search.html" method="get" id="searchForm"><input type="search" name="query"><input type="submit" value="Search"></form>
</div>
<div id="content" pageIds="/////">//<a href="../index.html">root</a>/<a href="index.html"></a>
- <h1>Package </h1>
+ <div class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ <div class="content">
+ <h1>Package </h1>
+ </div>
+ </div>
<h2>Functions</h2>
<table>
<thead></thead>
<tbody>
- <tr>
- <td><a href="f.html">f</a></td>
- <td><div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div>
+ <tr class="platform-tagged">
+ <td class="content"><a href="f.html">f</a></td>
+ <td class="content"><div class="symbol monospace">final fun <a href="f.html">f</a>(a: <div class="symbol monospace">() -&gt; <a href="">String</a></div>)</div>
<div class="brief "> </div>
</td>
+ <td class="platform-tagged">
+ <div class="platform-tag jvm">JVM</div>
+ </td>
</tr>
</tbody>
</table>
diff --git a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/styles/style.css b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/styles/style.css
index 063a9502..1cab694a 100644
--- a/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/styles/style.css
+++ b/plugins/base/src/test/resources/expect/suspendInlineFunction/out/html/styles/style.css
@@ -73,6 +73,9 @@
text-decoration: line-through;
}
+.symbol:empty {
+ padding: 0px;
+}
.symbol {
padding: 5px;
background-color: #F4F4F4;
@@ -345,6 +348,85 @@ footer {
bottom: 50px;
}
+.platform-tag {
+ text-indent: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ width: 10px;
+ height: 10px;
+ max-width: 10px;
+ max-height: 10px;
+ border-radius: 8px;
+ transition: width 1s, height 1s;
+ margin-left: 14px;
+ margin-top: auto;
+ margin-bottom: auto;
+ font-family: Inter, Arial, sans-serif;
+ font-size: 12px;
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: normal;
+ letter-spacing: normal;
+ text-align: center;
+ color: #fff
+}
+
+.platform-tagged:hover .platform-tag,
+.platform-tagged:hover>.platform-tag {
+ text-indent: 0;
+ white-space: nowrap;
+ padding: 0 7px;
+ border-radius: 9px;
+ margin-left: 8px;
+ width: auto;
+ height: 15px;
+ max-width: 500px;
+ max-height: 500px;
+ transition: max-width 1s, max-height 1s
+}
+
+.platform-tagged {
+ flex: auto;
+ display: flex;
+ flex-direction: row-reverse;
+ padding: 0px;
+ min-width: 230px;
+}
+
+tr.platform-tagged {
+ flex-direction: row;
+}
+
+.platform-tagged > .platform-tag {
+ align-self: center;
+}
+
+.platform-tag.jvm {
+ background-color: crimson;
+ color: white;
+}
+
+.platform-tag.js {
+ background-color: orange;
+ color: white;
+}
+
+.platform-tag.native {
+ background-color: blue;
+ color: white;
+}
+
+.platform-tag.common {
+ background-color: gray;
+ color: white;
+}
+
+.platform-tagged > .content {
+ display: block;
+ flex: auto;
+}
+
@media print, screen and (max-width: 960px) {
div.wrapper {