From a8e5b94f8e95138dbfa913b74a4d2d65fd5993c1 Mon Sep 17 00:00:00 2001 From: Filip ZybaƂa Date: Fri, 27 Mar 2020 09:57:30 +0100 Subject: Adjusted CSS, added animation. Adjusted table rendering to make it more aesthetic. Generated new expect test outputs. --- .../src/main/kotlin/renderers/html/HtmlRenderer.kt | 48 +++++++++---- .../documentables/DefaultPageCreator.kt | 36 ++++++---- .../expect/annotatedFunction/out/html/root/f.html | 9 ++- .../annotatedFunction/out/html/root/index.html | 16 +++-- .../annotatedFunction/out/html/styles/style.css | 82 ++++++++++++++++++++++ .../out/html/root/-fancy/-init-.html | 9 ++- .../out/html/root/-fancy/equals.html | 9 ++- .../out/html/root/-fancy/hash-code.html | 9 ++- .../out/html/root/-fancy/index.html | 45 ++++++++---- .../out/html/root/-fancy/to-string.html | 9 ++- .../out/html/root/f.html | 9 ++- .../out/html/root/index.html | 25 +++++-- .../out/html/styles/style.css | 82 ++++++++++++++++++++++ .../expect/function/out/html/root/fn.html | 9 ++- .../expect/function/out/html/root/index.html | 16 +++-- .../expect/function/out/html/styles/style.css | 82 ++++++++++++++++++++++ .../out/html/root/-fancy/-init-.html | 9 ++- .../out/html/root/-fancy/equals.html | 9 ++- .../out/html/root/-fancy/hash-code.html | 9 ++- .../out/html/root/-fancy/index.html | 35 ++++++--- .../out/html/root/-fancy/to-string.html | 9 ++- .../out/html/root/function.html | 9 ++- .../out/html/root/index.html | 25 +++++-- .../out/html/styles/style.css | 82 ++++++++++++++++++++++ .../out/html/root/f.html | 9 ++- .../out/html/root/index.html | 16 +++-- .../out/html/styles/style.css | 82 ++++++++++++++++++++++ .../out/html/root/function.html | 9 ++- .../out/html/root/index.html | 16 +++-- .../out/html/styles/style.css | 82 ++++++++++++++++++++++ .../out/html/root/f.html | 9 ++- .../out/html/root/index.html | 16 +++-- .../out/html/styles/style.css | 82 ++++++++++++++++++++++ .../functionWithParams/out/html/root/function.html | 9 ++- .../functionWithParams/out/html/root/index.html | 16 +++-- .../functionWithParams/out/html/styles/style.css | 82 ++++++++++++++++++++++ .../functionWithReceiver/out/html/root/fn.html | 18 +++-- .../functionWithReceiver/out/html/root/index.html | 25 +++++-- .../functionWithReceiver/out/html/styles/style.css | 82 ++++++++++++++++++++++ .../genericFunction/out/html/root/generic.html | 9 ++- .../genericFunction/out/html/root/index.html | 16 +++-- .../genericFunction/out/html/styles/style.css | 82 ++++++++++++++++++++++ .../out/html/root/generic.html | 9 ++- .../out/html/root/index.html | 16 +++-- .../out/html/styles/style.css | 82 ++++++++++++++++++++++ .../expect/inlineFunction/out/html/root/f.html | 9 ++- .../expect/inlineFunction/out/html/root/index.html | 16 +++-- .../inlineFunction/out/html/styles/style.css | 82 ++++++++++++++++++++++ .../inlineSuspendFunction/out/html/root/f.html | 9 ++- .../inlineSuspendFunction/out/html/root/index.html | 16 +++-- .../out/html/styles/style.css | 82 ++++++++++++++++++++++ .../expect/signatureTest/out/html/root/index.html | 7 +- .../out/html/root/signatureTest/index.html | 25 +++++-- .../out/html/root/signatureTest/test.html | 9 ++- .../out/html/root/signatureTest/test2.html | 9 ++- .../expect/signatureTest/out/html/styles/style.css | 82 ++++++++++++++++++++++ .../out/html/root/available-since1.1.html | 9 ++- .../expect/sinceKotlin/out/html/root/index.html | 16 +++-- .../expect/sinceKotlin/out/html/styles/style.css | 82 ++++++++++++++++++++++ .../expect/suspendFunction/out/html/root/f.html | 9 ++- .../suspendFunction/out/html/root/index.html | 16 +++-- .../suspendFunction/out/html/styles/style.css | 82 ++++++++++++++++++++++ .../suspendInlineFunction/out/html/root/f.html | 9 ++- .../suspendInlineFunction/out/html/root/index.html | 16 +++-- .../out/html/styles/style.css | 82 ++++++++++++++++++++++ 65 files changed, 1925 insertions(+), 191 deletions(-) (limited to 'plugins/base') 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)?.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 @@
//root//f -

f

-
final fun f()
+
+
JVM
+
+

f

+
final fun f()
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
f
final fun f()
+
f
final fun f()
+
JVM
+
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 @@
//root//Fancy/<init> -

<init>

-
final fun <init>(size: Int)
+
+
JVM
+
+

<init>

+
final fun <init>(size: Int)
+
+ 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 @@
//root//Fancy/equals -

equals

-
open fun equals(other: Any): Boolean
+
+
JVM
+
+

equals

+
open fun equals(other: Any): Boolean
+
+ 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 @@
//root//Fancy/hashCode -

hashCode

-
open fun hashCode(): Int
+
+
JVM
+
+

hashCode

+
open fun hashCode(): Int
+
+ 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 @@
//root//Fancy -

Fancy

-
annotation class Fancy

+
+
JVM
+
+

Fancy

+
annotation class Fancy
+

Functions

- - - + + + - - - + + + - - - + + +
equals
open fun equals(other: Any): Boolean
+
equals
open fun equals(other: Any): Boolean
+
JVM
+
hashCode
open fun hashCode(): Int
+
hashCode
open fun hashCode(): Int
+
JVM
+
toString
open fun toString(): String
+
toString
open fun toString(): String
+
JVM
+
@@ -47,12 +60,14 @@ - - - - + + +
size +
size
+
JVM
+
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 @@
//root//Fancy/toString -

toString

-
open fun toString(): String
+
+
JVM
+
+

toString

+
open fun toString(): String
+
+ 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 @@
//root//f -

f

-
final fun f()
+
+
JVM
+
+

f

+
final fun f()
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Types

- - - + + +
Fancy
annotation class Fancy
+
Fancy
annotation class Fancy
+
JVM
+
@@ -34,11 +42,14 @@ - - - + + +
f
final fun f()
+
f
final fun f()
+
JVM
+
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 @@
//root//fn -

fn

-
final fun fn()

Description

+
+
JVM
+
+

fn

+
final fun fn()
+
+

Description

Function fn
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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
fn
final fun fn()
+
fn
final fun fn()
+
JVM
+
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 @@
//root//Fancy/<init> -

<init>

-
final fun <init>()
+
+
JVM
+
+

<init>

+
final fun <init>()
+
+ 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 @@
//root//Fancy/equals -

equals

-
open fun equals(other: Any): Boolean
+
+
JVM
+
+

equals

+
open fun equals(other: Any): Boolean
+
+ 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 @@
//root//Fancy/hashCode -

hashCode

-
open fun hashCode(): Int
+
+
JVM
+
+

hashCode

+
open fun hashCode(): Int
+
+ 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 @@
//root//Fancy -

Fancy

-
annotation class Fancy

+
+
JVM
+
+

Fancy

+
annotation class Fancy
+

Functions

- - - + + + - - - + + + - - - + + +
equals
open fun equals(other: Any): Boolean
+
equals
open fun equals(other: Any): Boolean
+
JVM
+
hashCode
open fun hashCode(): Int
+
hashCode
open fun hashCode(): Int
+
JVM
+
toString
open fun toString(): String
+
toString
open fun toString(): String
+
JVM
+
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 @@
//root//Fancy/toString -

toString

-
open fun toString(): String
+
+
JVM
+
+

toString

+
open fun toString(): String
+
+ 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 @@
//root//function -

function

-
final fun function(notInlined:
() -> Unit
)
+
+
JVM
+
+

function

+
final fun function(notInlined:
() -> Unit
)
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Types

- - - + + +
Fancy
annotation class Fancy
+
Fancy
annotation class Fancy
+
JVM
+
@@ -34,11 +42,14 @@ - - - + + +
function
final fun function(notInlined:
() -> Unit
)
+
function
final fun function(notInlined:
() -> Unit
)
+
JVM
+
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 @@
//root//f -

f

-
final fun f(x: String)
+
+
JVM
+
+

f

+
final fun f(x: String)
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
f
final fun f(x: String)
+
f
final fun f(x: String)
+
JVM
+
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 @@
//root//function -

function

-
final fun function(notInlined:
() -> Unit
)
+
+
JVM
+
+

function

+
final fun function(notInlined:
() -> Unit
)
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
function
final fun function(notInlined:
() -> Unit
)
+
function
final fun function(notInlined:
() -> Unit
)
+
JVM
+
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 @@
//root//f -

f

-
final fun f()
+
+
JVM
+
+

f

+
final fun f()
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
f
final fun f()
+
f
final fun f()
+
JVM
+
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 @@
//root//function -

function

-
final fun function(x: Int)

Description

+
+
JVM
+
+

function

+
final fun function(x: Int)
+
+

Description

MultilineFunction Documentation
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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
function
final fun function(x: Int)
+
function
final fun function(x: Int)
+
JVM
+
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 @@
//root//fn -

fn

-
final fun String.fn()

Description

-Function with receiver

fn

-
final fun String.fn(x: Int)

Description

+
+
JVM
+
+

fn

+
final fun String.fn()
+
+

Description

+Function with receiver
+
JVM
+
+

fn

+
final fun String.fn(x: Int)
+
+

Description

Function with receiver
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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + + - - - + + +
fn
final fun String.fn()
+
fn
final fun String.fn()
+
JVM
+
fn
final fun String.fn(x: Int)
+
fn
final fun String.fn(x: Int)
+
JVM
+
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 @@
//root//generic -

generic

-
private final fun <T : Any> generic()

Description

+
+
JVM
+
+

generic

+
private final fun <T : Any> generic()
+
+

Description

generic function
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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
generic
private final fun <T : Any> generic()
+
generic
private final fun <T : Any> generic()
+
JVM
+
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 @@
//root//generic -

generic

-
final fun <T : R, R : Any> generic()

Description

+
+
JVM
+
+

generic

+
final fun <T : R, R : Any> generic()
+
+

Description

generic function
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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
generic
final fun <T : R, R : Any> generic()
+
generic
final fun <T : R, R : Any> generic()
+
JVM
+
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 @@
//root//f -

f

-
final fun f(a:
() -> String
)
+
+
JVM
+
+

f

+
final fun f(a:
() -> String
)
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
f
final fun f(a:
() -> String
)
+
f
final fun f(a:
() -> String
)
+
JVM
+
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 @@
//root//f -

f

-
final fun f(a:
() -> String
)
+
+
JVM
+
+

f

+
final fun f(a:
() -> String
)
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
f
final fun f(a:
() -> String
)
+
f
final fun f(a:
() -> String
)
+
JVM
+
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 @@ - - + + +
signatureTest
signatureTest +
JVM
+
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 @@
//root/signatureTest -

Package signatureTest

+
+
JVM
+
+

Package signatureTest

+
+

Functions

- - - + + + - - - + + +
test
final fun test(i:
(Int) -> Int
)
+
test
final fun test(i:
(Int) -> Int
)
+
JVM
+
test2
final fun test2(i:
Int.(Int) -> Int
)
+
test2
final fun test2(i:
Int.(Int) -> Int
)
+
JVM
+
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 @@
//root/signatureTest/test -

test

-
final fun test(i:
(Int) -> Int
)
+
+
JVM
+
+

test

+
final fun test(i:
(Int) -> Int
)
+
+ 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 @@
//root/signatureTest/test2 -

test2

-
final fun test2(i:
Int.(Int) -> Int
)
+
+
JVM
+
+

test2

+
final fun test2(i:
Int.(Int) -> Int
)
+
+ 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 @@
//root//availableSince1.1 -

availableSince1.1

-

Description

+
+
JVM
+
+

availableSince1.1

+
+
+

Description

Quite useful String
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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
availableSince1.1 +
availableSince1.1
+
JVM
+
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 @@
//root//f -

f

-
final fun f()
+
+
JVM
+
+

f

+
final fun f()
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
f
final fun f()
+
f
final fun f()
+
JVM
+
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 @@
//root//f -

f

-
final fun f(a:
() -> String
)
+
+
JVM
+
+

f

+
final fun f(a:
() -> String
)
+
+ 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 @@
//root/ -

Package

+
+
JVM
+
+

Package

+
+

Functions

- - - + + +
f
final fun f(a:
() -> String
)
+
f
final fun f(a:
() -> String
)
+
JVM
+
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 { -- cgit