From f65fbf534807c168a81f4e80919680ca7dcff47b Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Fri, 24 Mar 2017 22:01:49 +0300 Subject: Tweak kws html format to match output of old format --- .../dataTags/multiplatform.package.html | 24 ++++++++++++++-------- .../dataTagsInGroupNode/multiplatform.html | 16 +++++++-------- .../dataTagsInGroupNode/multiplatform.package.html | 9 +++++--- .../format/website-html/overloadGroup.html | 14 ++++++------- core/testdata/format/website-html/returnTag.html | 2 +- core/testdata/format/website-html/sample.html | 6 ++---- 6 files changed, 39 insertions(+), 32 deletions(-) (limited to 'core/testdata/format/website-html') diff --git a/core/testdata/format/website-html/dataTags/multiplatform.package.html b/core/testdata/format/website-html/dataTags/multiplatform.package.html index 0430c6f2..15e1fc12 100644 --- a/core/testdata/format/website-html/dataTags/multiplatform.package.html +++ b/core/testdata/format/website-html/dataTags/multiplatform.package.html @@ -4,56 +4,64 @@
-jre7 +

jre7

+
fun jre7(): Unit
-jre7New +

jre7New

+
fun jre7New(): Unit
-js +

js

+
fun js(): Unit
-jsNew +

jsNew

+
fun jsNew(): Unit
-jvm +

jvm

+
fun jvm(): Unit
-jvmNew +

jvmNew

+
fun jvmNew(): Unit
-shared +

shared

+
fun shared(): Unit
-sharedNew +

sharedNew

+
fun sharedNew(): Unit
diff --git a/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.html b/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.html index bca7d36d..35773561 100644 --- a/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.html +++ b/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.html @@ -1,17 +1,17 @@

Some

-

typealias Some = SomeCoolJvmClass
+
typealias Some = SomeCoolJvmClass

Platform and version requirements: JVM

-

-

class Some
+
class Some

Platform and version requirements: JS

-

Constructors

+

Constructors

-<init> +

<init>

+
Some()
@@ -20,12 +20,13 @@
-

Functions

+

Functions

-magic +

magic

+
fun magic(): Unit
@@ -35,4 +36,3 @@
-

diff --git a/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.package.html b/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.package.html index 985f9f04..15ae2a5b 100644 --- a/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.package.html +++ b/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.package.html @@ -4,14 +4,16 @@
-Some +

Some

+
class Some
-SomeCoolJvmClass +

SomeCoolJvmClass

+
class SomeCoolJvmClass
@@ -23,7 +25,8 @@
-Some +

Some

+
typealias Some = SomeCoolJvmClass
diff --git a/core/testdata/format/website-html/overloadGroup.html b/core/testdata/format/website-html/overloadGroup.html index 2482f8fb..3ea7de94 100644 --- a/core/testdata/format/website-html/overloadGroup.html +++ b/core/testdata/format/website-html/overloadGroup.html @@ -1,18 +1,16 @@

magic

-

+
fun magic(spell: String): Int
-

Parameters

+

Parameters

spell - The text of spell, often distributed on scrolls

-

ReturnSpell ID for future casts

+

Return Spell ID for future casts

-

-

+
fun magic(spell: Int): Int
-

Parameters

+

Parameters

spell - Spell ID of previously casted spell

-

ReturnSpell ID for future casts

+

Return Spell ID for future casts

-

diff --git a/core/testdata/format/website-html/returnTag.html b/core/testdata/format/website-html/returnTag.html index 92253130..d4190fa1 100644 --- a/core/testdata/format/website-html/returnTag.html +++ b/core/testdata/format/website-html/returnTag.html @@ -6,4 +6,4 @@

Parameters

ignoreCase - true to ignore character case when matching a character. By default false.

-

ReturnsAn index of the first occurrence of char or -1 if none is found.

+

Returns An index of the first occurrence of char or -1 if none is found.

diff --git a/core/testdata/format/website-html/sample.html b/core/testdata/format/website-html/sample.html index 00646a11..55d321c0 100644 --- a/core/testdata/format/website-html/sample.html +++ b/core/testdata/format/website-html/sample.html @@ -1,6 +1,6 @@

foo

-

+
fun foo(): Int

Groups elements of the original sequence by the key returned by the given keySelector function applied to each element and returns a map where each group key is associated with a list of corresponding elements.

@@ -14,8 +14,6 @@ if (true) { //sampleEnd }
-

-

+
fun foo(i: Int): Int
-

-- cgit