diff options
Diffstat (limited to 'core/testdata')
149 files changed, 492 insertions, 492 deletions
diff --git a/core/testdata/format/JavaSupertype.html b/core/testdata/format/JavaSupertype.html index 892ef63a..85fb6d84 100644 --- a/core/testdata/format/JavaSupertype.html +++ b/core/testdata/format/JavaSupertype.html @@ -4,7 +4,7 @@ <title>JavaSupertype.Bar - test</title> </HEAD> <BODY> -<a href="../../index.html">test</a> / <a href="../index.html">JavaSupertype</a> / <a href="./index.html">Bar</a><br/> +<a href="../../../index.html">test</a> / <a href="../index.html">JavaSupertype</a> / <a href="./index.html">Bar</a><br/> <br/> <h1>Bar</h1> <code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Bar</span> <span class="symbol">:</span> <a href="../-foo/index.html"><span class="identifier">JavaSupertype.Foo</span></a></code> @@ -13,7 +13,7 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> <code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code></td> @@ -25,7 +25,7 @@ <tbody> <tr> <td> -<p><a href="return-foo.html">returnFoo</a></p> +<h4><a href="return-foo.html">returnFoo</a></h4> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">returnFoo</span><span class="symbol">(</span><span class="identifier" id="JavaSupertype.Bar$returnFoo(JavaSupertype.Foo)/foo">foo</span><span class="symbol">:</span> <a href="../-foo/index.html"><span class="identifier">JavaSupertype.Foo</span></a><span class="symbol">!</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-foo/index.html"><span class="identifier">JavaSupertype.Foo</span></a><span class="symbol">!</span></code></td> diff --git a/core/testdata/format/accessor.md b/core/testdata/format/accessor.md index 190e8538..9bb2c4ed 100644 --- a/core/testdata/format/accessor.md +++ b/core/testdata/format/accessor.md @@ -1,4 +1,4 @@ -[test](../index.md) / [C](index.md) / [x](./x.md) +[test](../../index.md) / [C](index.md) / [x](./x.md) # x diff --git a/core/testdata/format/annotatedTypeParameter.md b/core/testdata/format/annotatedTypeParameter.md index aa622eac..36d8aba9 100644 --- a/core/testdata/format/annotatedTypeParameter.md +++ b/core/testdata/format/annotatedTypeParameter.md @@ -1,4 +1,4 @@ -[test](index.md) / [containsAll](./contains-all.md) +[test](../index.md) / [containsAll](./contains-all.md) # containsAll diff --git a/core/testdata/format/annotationClass.md b/core/testdata/format/annotationClass.md index 55fda40c..9ce4aea9 100644 --- a/core/testdata/format/annotationClass.md +++ b/core/testdata/format/annotationClass.md @@ -1,4 +1,4 @@ -[test](../index.md) / [fancy](./index.md) +[test](../../index.md) / [fancy](./index.md) # fancy diff --git a/core/testdata/format/annotationClass.package.md b/core/testdata/format/annotationClass.package.md index c8aff7a3..25e0d77c 100644 --- a/core/testdata/format/annotationClass.package.md +++ b/core/testdata/format/annotationClass.package.md @@ -1,4 +1,4 @@ -[test](./index.md) +[test](../index.md) ## Package <root> diff --git a/core/testdata/format/annotationParams.md b/core/testdata/format/annotationParams.md index cfa3b822..7388c83a 100644 --- a/core/testdata/format/annotationParams.md +++ b/core/testdata/format/annotationParams.md @@ -1,4 +1,4 @@ -[test](index.md) / [f](./f.md) +[test](../index.md) / [f](./f.md) # f diff --git a/core/testdata/format/annotations.md b/core/testdata/format/annotations.md index 2e1604d0..07c22103 100644 --- a/core/testdata/format/annotations.md +++ b/core/testdata/format/annotations.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Foo](./index.md) +[test](../../index.md) / [Foo](./index.md) # Foo diff --git a/core/testdata/format/arrayAverage.md b/core/testdata/format/arrayAverage.md index 2c6927d6..5867c1be 100644 --- a/core/testdata/format/arrayAverage.md +++ b/core/testdata/format/arrayAverage.md @@ -1,4 +1,4 @@ -[test](../index.md) / [XArray](./index.md) +[test](../../index.md) / [XArray](./index.md) # XArray diff --git a/core/testdata/format/backtickInCodeBlock.md b/core/testdata/format/backtickInCodeBlock.md index 830539ac..d2267204 100644 --- a/core/testdata/format/backtickInCodeBlock.md +++ b/core/testdata/format/backtickInCodeBlock.md @@ -1,4 +1,4 @@ -[test](index.md) / [foo](./foo.md) +[test](../index.md) / [foo](./foo.md) # foo diff --git a/core/testdata/format/blankLineInsideCodeBlock.html b/core/testdata/format/blankLineInsideCodeBlock.html index f0351d72..9db7d4f0 100644 --- a/core/testdata/format/blankLineInsideCodeBlock.html +++ b/core/testdata/format/blankLineInsideCodeBlock.html @@ -4,7 +4,7 @@ <title>u - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./u.html">u</a><br/> +<a href="../index.html">test</a> / <a href="./u.html">u</a><br/> <br/> <h1>u</h1> <a name="$u()"></a> diff --git a/core/testdata/format/blankLineInsideCodeBlock.md b/core/testdata/format/blankLineInsideCodeBlock.md index 956f8954..1a3ef10e 100644 --- a/core/testdata/format/blankLineInsideCodeBlock.md +++ b/core/testdata/format/blankLineInsideCodeBlock.md @@ -1,4 +1,4 @@ -[test](index.md) / [u](./u.md) +[test](../index.md) / [u](./u.md) # u diff --git a/core/testdata/format/bracket.html b/core/testdata/format/bracket.html index 01aaaf04..5ba19b73 100644 --- a/core/testdata/format/bracket.html +++ b/core/testdata/format/bracket.html @@ -4,7 +4,7 @@ <title>foo - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./foo.html">foo</a><br/> +<a href="../index.html">test</a> / <a href="./foo.html">foo</a><br/> <br/> <h1>foo</h1> <a name="$foo()"></a> diff --git a/core/testdata/format/brokenLink.html b/core/testdata/format/brokenLink.html index c598a73e..db47c05a 100644 --- a/core/testdata/format/brokenLink.html +++ b/core/testdata/format/brokenLink.html @@ -4,7 +4,7 @@ <title>f - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./f.html">f</a><br/> +<a href="../index.html">test</a> / <a href="./f.html">f</a><br/> <br/> <h1>f</h1> <a name="$f()"></a> diff --git a/core/testdata/format/classWithCompanionObject.html b/core/testdata/format/classWithCompanionObject.html index 88feea5e..e477b53b 100644 --- a/core/testdata/format/classWithCompanionObject.html +++ b/core/testdata/format/classWithCompanionObject.html @@ -4,7 +4,7 @@ <title>Klass - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Klass</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Klass</a><br/> <br/> <h1>Klass</h1> <code><span class="keyword">class </span><span class="identifier">Klass</span></code> @@ -13,7 +13,7 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> <code><span class="identifier">Klass</span><span class="symbol">(</span><span class="symbol">)</span></code></td> @@ -25,7 +25,7 @@ <tbody> <tr> <td> -<p><a href="x.html">x</a></p> +<h4><a href="x.html">x</a></h4> </td> <td> <code><span class="keyword">val </span><span class="identifier">x</span><span class="symbol">: </span><span class="identifier">Int</span></code></td> @@ -37,7 +37,7 @@ <tbody> <tr> <td> -<p><a href="foo.html">foo</a></p> +<h4><a href="foo.html">foo</a></h4> </td> <td> <code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> diff --git a/core/testdata/format/classWithCompanionObject.md b/core/testdata/format/classWithCompanionObject.md index 40f605be..850e51ec 100644 --- a/core/testdata/format/classWithCompanionObject.md +++ b/core/testdata/format/classWithCompanionObject.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Klass](./index.md) +[test](../../index.md) / [Klass](./index.md) # Klass diff --git a/core/testdata/format/codeBlock.html b/core/testdata/format/codeBlock.html index 1e07ff09..ead4dbc0 100644 --- a/core/testdata/format/codeBlock.html +++ b/core/testdata/format/codeBlock.html @@ -1,11 +1,11 @@ -<!-- File: test/-throws/index.html --> +<!-- File: test/--root--/-throws/index.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>Throws - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Throws</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Throws</a><br/> <br/> <h1>Throws</h1> <code><span class="keyword">class </span><span class="identifier">Throws</span></code> @@ -19,25 +19,24 @@ fun readFile(name: String): String {...} <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">Throws</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>This annotation indicates what exceptions should be declared by a function when compiled to a JVM method.</p> -</td> +<code><span class="identifier">Throws</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> </BODY> </HTML> -<!-- File: test/-it-does-some-obfuscated-thing/index.html --> +<!-- File: test/--root--/-it-does-some-obfuscated-thing/index.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>ItDoesSomeObfuscatedThing - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">ItDoesSomeObfuscatedThing</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">ItDoesSomeObfuscatedThing</a><br/> <br/> <h1>ItDoesSomeObfuscatedThing</h1> <code><span class="keyword">class </span><span class="identifier">ItDoesSomeObfuscatedThing</span></code> @@ -49,12 +48,11 @@ fun readFile(name: String): String {...} <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">ItDoesSomeObfuscatedThing</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>Check output of</p> -</td> +<code><span class="identifier">ItDoesSomeObfuscatedThing</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> diff --git a/core/testdata/format/codeBlock.md b/core/testdata/format/codeBlock.md index d183a8ba..c14fc7bd 100644 --- a/core/testdata/format/codeBlock.md +++ b/core/testdata/format/codeBlock.md @@ -1,5 +1,5 @@ -<!-- File: test/-throws/index.md --> -[test](../index.md) / [Throws](./index.md) +<!-- File: test/--root--/-throws/index.md --> +[test](../../index.md) / [Throws](./index.md) # Throws @@ -16,10 +16,10 @@ fun readFile(name: String): String {...} ### Constructors -| [<init>](-init-.md) | `Throws()`<br>This annotation indicates what exceptions should be declared by a function when compiled to a JVM method. | +| [<init>](-init-.md) | This annotation indicates what exceptions should be declared by a function when compiled to a JVM method.`Throws()` | -<!-- File: test/-it-does-some-obfuscated-thing/index.md --> -[test](../index.md) / [ItDoesSomeObfuscatedThing](./index.md) +<!-- File: test/--root--/-it-does-some-obfuscated-thing/index.md --> +[test](../../index.md) / [ItDoesSomeObfuscatedThing](./index.md) # ItDoesSomeObfuscatedThing @@ -33,5 +33,5 @@ Check output of ### Constructors -| [<init>](-init-.md) | `ItDoesSomeObfuscatedThing()`<br>Check output of | +| [<init>](-init-.md) | Check output of`ItDoesSomeObfuscatedThing()` | diff --git a/core/testdata/format/codeBlockNoHtmlEscape.md b/core/testdata/format/codeBlockNoHtmlEscape.md index 548dac4f..a54fc25d 100644 --- a/core/testdata/format/codeBlockNoHtmlEscape.md +++ b/core/testdata/format/codeBlockNoHtmlEscape.md @@ -1,4 +1,4 @@ -[test](index.md) / [hackTheArithmetic](./hack-the-arithmetic.md) +[test](../index.md) / [hackTheArithmetic](./hack-the-arithmetic.md) # hackTheArithmetic diff --git a/core/testdata/format/codeSpan.html b/core/testdata/format/codeSpan.html index bfe93f36..28631dbf 100644 --- a/core/testdata/format/codeSpan.html +++ b/core/testdata/format/codeSpan.html @@ -4,7 +4,7 @@ <title>foo - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./foo.html">foo</a><br/> +<a href="../index.html">test</a> / <a href="./foo.html">foo</a><br/> <br/> <h1>foo</h1> <a name="$foo()"></a> diff --git a/core/testdata/format/companionImplements.md b/core/testdata/format/companionImplements.md index aac7b3e6..2734e1fe 100644 --- a/core/testdata/format/companionImplements.md +++ b/core/testdata/format/companionImplements.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Foo](./index.md) +[test](../../index.md) / [Foo](./index.md) # Foo @@ -12,5 +12,5 @@ Correct ref [Foo.Companion](-companion.md) ### Constructors -| [<init>](-init-.md) | `Foo()`<br>Correct ref [Foo.Companion](-companion.md) | +| [<init>](-init-.md) | Correct ref [Foo.Companion](-companion.md)`Foo()` | diff --git a/core/testdata/format/companionObjectExtension.md b/core/testdata/format/companionObjectExtension.md index c0e268e6..43dff899 100644 --- a/core/testdata/format/companionObjectExtension.md +++ b/core/testdata/format/companionObjectExtension.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Foo](./index.md) +[test](../../index.md) / [Foo](./index.md) # Foo @@ -10,5 +10,5 @@ ### Companion Object Extension Properties -| [x](../x.md) | `val Foo.Default.x: Int`<br>The default object property. | +| [x](../x.md) | The default object property.`val Foo.Default.x: Int` | diff --git a/core/testdata/format/crossLanguage/kotlinExtendsJava/Bar.html b/core/testdata/format/crossLanguage/kotlinExtendsJava/Bar.html index 8842969e..4d08043c 100644 --- a/core/testdata/format/crossLanguage/kotlinExtendsJava/Bar.html +++ b/core/testdata/format/crossLanguage/kotlinExtendsJava/Bar.html @@ -14,12 +14,11 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>See <a href="../-foo/xyzzy.html">xyzzy</a></p> -</td> +<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> @@ -28,7 +27,7 @@ <tbody> <tr> <td> -<p><a href="../-foo/xyzzy.html">xyzzy</a></p> +<h4><a href="../-foo/xyzzy.html">xyzzy</a></h4> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">xyzzy</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> diff --git a/core/testdata/format/deprecated.class.html b/core/testdata/format/deprecated.class.html index 540060d1..11d2e944 100644 --- a/core/testdata/format/deprecated.class.html +++ b/core/testdata/format/deprecated.class.html @@ -1,11 +1,11 @@ -<!-- File: test/-c/index.html --> +<!-- File: test/--root--/-c/index.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>C - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">C</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">C</a><br/> <br/> <h1>C</h1> <code><span class="keyword">class </span><s><span class="identifier">C</span></s></code><br/> @@ -16,7 +16,7 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> <code><span class="identifier">C</span><span class="symbol">(</span><span class="symbol">)</span></code></td> @@ -25,14 +25,14 @@ </table> </BODY> </HTML> -<!-- File: test/f.html --> +<!-- File: test/--root--/f.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>f - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./f.html">f</a><br/> +<a href="../index.html">test</a> / <a href="./f.html">f</a><br/> <br/> <h1>f</h1> <a name="$f()"></a> @@ -41,14 +41,14 @@ <br/> </BODY> </HTML> -<!-- File: test/p.html --> +<!-- File: test/--root--/p.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>p - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./p.html">p</a><br/> +<a href="../index.html">test</a> / <a href="./p.html">p</a><br/> <br/> <h1>p</h1> <a name="$p"></a> diff --git a/core/testdata/format/deprecated.package.html b/core/testdata/format/deprecated.package.html index 3506de61..5b218f74 100644 --- a/core/testdata/format/deprecated.package.html +++ b/core/testdata/format/deprecated.package.html @@ -4,7 +4,7 @@ <title>root package - test</title> </HEAD> <BODY> -<a href="./index.html">test</a><br/> +<a href="../index.html">test</a><br/> <br/> <h2>Package <root></h2> <h3>Types</h3> @@ -12,7 +12,7 @@ <tbody> <tr> <td> -<p><a href="-c/index.html">C</a></p> +<h4><a href="-c/index.html">C</a></h4> </td> <td> <code><span class="keyword">class </span><s><span class="identifier">C</span></s></code></td> @@ -24,7 +24,7 @@ <tbody> <tr> <td> -<p><a href="p.html">p</a></p> +<h4><a href="p.html">p</a></h4> </td> <td> <code><span class="keyword">val </span><s><span class="identifier">p</span></s><span class="symbol">: </span><span class="identifier">Int</span></code></td> @@ -36,7 +36,7 @@ <tbody> <tr> <td> -<p><a href="f.html">f</a></p> +<h4><a href="f.html">f</a></h4> </td> <td> <code><span class="keyword">fun </span><s><span class="identifier">f</span></s><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> diff --git a/core/testdata/format/dynamicExtension.md b/core/testdata/format/dynamicExtension.md index 382cf973..ed81d66c 100644 --- a/core/testdata/format/dynamicExtension.md +++ b/core/testdata/format/dynamicExtension.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Foo](./index.md) +[test](../../index.md) / [Foo](./index.md) # Foo diff --git a/core/testdata/format/dynamicType.md b/core/testdata/format/dynamicType.md index 07a1d103..cfb8fd25 100644 --- a/core/testdata/format/dynamicType.md +++ b/core/testdata/format/dynamicType.md @@ -1,4 +1,4 @@ -[test](index.md) / [foo](./foo.md) +[test](../index.md) / [foo](./foo.md) # foo diff --git a/core/testdata/format/emptyDescription.md b/core/testdata/format/emptyDescription.md index 5d56d968..3c14ab75 100644 --- a/core/testdata/format/emptyDescription.md +++ b/core/testdata/format/emptyDescription.md @@ -1,4 +1,4 @@ -[test](index.md) / [fn](./fn.md) +[test](../index.md) / [fn](./fn.md) # fn diff --git a/core/testdata/format/entity.html b/core/testdata/format/entity.html index 639f2903..bfeb34ea 100644 --- a/core/testdata/format/entity.html +++ b/core/testdata/format/entity.html @@ -4,7 +4,7 @@ <title>Bar - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Bar</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Bar</a><br/> <br/> <h1>Bar</h1> <code><span class="keyword">class </span><span class="identifier">Bar</span></code> @@ -14,12 +14,11 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>Copyright © JetBrains 2015 "</p> -</td> +<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> diff --git a/core/testdata/format/enumClass.md b/core/testdata/format/enumClass.md index 50cccfbb..15070049 100644 --- a/core/testdata/format/enumClass.md +++ b/core/testdata/format/enumClass.md @@ -1,4 +1,4 @@ -[test](../index.md) / [InlineOption](./index.md) +[test](../../index.md) / [InlineOption](./index.md) # InlineOption diff --git a/core/testdata/format/enumClass.value.md b/core/testdata/format/enumClass.value.md index 150016cc..9000a1c4 100644 --- a/core/testdata/format/enumClass.value.md +++ b/core/testdata/format/enumClass.value.md @@ -1,4 +1,4 @@ -[test](../index.md) / [InlineOption](index.md) / [LOCAL_CONTINUE_AND_BREAK](./-l-o-c-a-l_-c-o-n-t-i-n-u-e_-a-n-d_-b-r-e-a-k.md) +[test](../../index.md) / [InlineOption](index.md) / [LOCAL_CONTINUE_AND_BREAK](./-l-o-c-a-l_-c-o-n-t-i-n-u-e_-a-n-d_-b-r-e-a-k.md) # LOCAL_CONTINUE_AND_BREAK diff --git a/core/testdata/format/enumRef.md b/core/testdata/format/enumRef.md index f5f5a3e0..5f6b2f64 100644 --- a/core/testdata/format/enumRef.md +++ b/core/testdata/format/enumRef.md @@ -1,4 +1,4 @@ -[test](index.md) / [f](./f.md) +[test](../index.md) / [f](./f.md) # f diff --git a/core/testdata/format/exceptionClass.md b/core/testdata/format/exceptionClass.md index 1e928bb6..44ad6705 100644 --- a/core/testdata/format/exceptionClass.md +++ b/core/testdata/format/exceptionClass.md @@ -1,4 +1,4 @@ -[test](../index.md) / [MyException](./index.md) +[test](../../index.md) / [MyException](./index.md) # MyException diff --git a/core/testdata/format/exceptionClass.package.md b/core/testdata/format/exceptionClass.package.md index 8716df0a..13b1c7db 100644 --- a/core/testdata/format/exceptionClass.package.md +++ b/core/testdata/format/exceptionClass.package.md @@ -1,4 +1,4 @@ -[test](./index.md) +[test](../index.md) ## Package <root> diff --git a/core/testdata/format/exclInCodeBlock.md b/core/testdata/format/exclInCodeBlock.md index d665c415..0302570e 100644 --- a/core/testdata/format/exclInCodeBlock.md +++ b/core/testdata/format/exclInCodeBlock.md @@ -1,4 +1,4 @@ -[test](index.md) / [foo](./foo.md) +[test](../index.md) / [foo](./foo.md) # foo diff --git a/core/testdata/format/extensionFunctionParameter.md b/core/testdata/format/extensionFunctionParameter.md index e1e85824..465fe358 100644 --- a/core/testdata/format/extensionFunctionParameter.md +++ b/core/testdata/format/extensionFunctionParameter.md @@ -1,4 +1,4 @@ -[test](index.md) / [apply](./apply.md) +[test](../index.md) / [apply](./apply.md) # apply diff --git a/core/testdata/format/extensionScope.md b/core/testdata/format/extensionScope.md index ea765bd5..2921346a 100644 --- a/core/testdata/format/extensionScope.md +++ b/core/testdata/format/extensionScope.md @@ -1,4 +1,4 @@ -[test](index.md) / [test](./test.md) +[test](../index.md) / [test](./test.md) # test diff --git a/core/testdata/format/extensionWithDocumentedReceiver.md b/core/testdata/format/extensionWithDocumentedReceiver.md index 0679ac8f..4cee0a04 100644 --- a/core/testdata/format/extensionWithDocumentedReceiver.md +++ b/core/testdata/format/extensionWithDocumentedReceiver.md @@ -1,4 +1,4 @@ -[test](../index.md) / [kotlin.String](index.md) / [fn](./fn.md) +[test](../../index.md) / [kotlin.String](index.md) / [fn](./fn.md) # fn diff --git a/core/testdata/format/extensions.class.md b/core/testdata/format/extensions.class.md index b8fa200a..cd1bb70e 100644 --- a/core/testdata/format/extensions.class.md +++ b/core/testdata/format/extensions.class.md @@ -2,6 +2,6 @@ ### Extensions for kotlin.String -| [fn](fn.md) | `fun String.fn(): Unit`<br>`fun String.fn(x: Int): Unit`<br>Function with receiver | -| [foobar](foobar.md) | `val String.foobar: Int`<br>Property with receiver. | +| [fn](fn.md) | Function with receiver`fun String.fn(): Unit`<br>`fun String.fn(x: Int): Unit` | +| [foobar](foobar.md) | Property with receiver.`val String.foobar: Int` | diff --git a/core/testdata/format/externalReferenceLink.md b/core/testdata/format/externalReferenceLink.md index 3565d9aa..73840e76 100644 --- a/core/testdata/format/externalReferenceLink.md +++ b/core/testdata/format/externalReferenceLink.md @@ -1,4 +1,4 @@ -[test](index.md) / [a](./a.md) +[test](../index.md) / [a](./a.md) # a diff --git a/core/testdata/format/functionWithDefaultParameter.md b/core/testdata/format/functionWithDefaultParameter.md index 05f7fbe6..535ea18d 100644 --- a/core/testdata/format/functionWithDefaultParameter.md +++ b/core/testdata/format/functionWithDefaultParameter.md @@ -1,4 +1,4 @@ -[test](index.md) / [f](./f.md) +[test](../index.md) / [f](./f.md) # f diff --git a/core/testdata/format/functionalTypeWithNamedParameters.html b/core/testdata/format/functionalTypeWithNamedParameters.html index 83d03d8f..af97eb4e 100644 --- a/core/testdata/format/functionalTypeWithNamedParameters.html +++ b/core/testdata/format/functionalTypeWithNamedParameters.html @@ -1,11 +1,11 @@ -<!-- File: test/-a/index.html --> +<!-- File: test/--root--/-a/index.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>A - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">A</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">A</a><br/> <br/> <h1>A</h1> <code><span class="keyword">class </span><span class="identifier">A</span></code> @@ -14,7 +14,7 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> <code><span class="identifier">A</span><span class="symbol">(</span><span class="symbol">)</span></code></td> @@ -23,14 +23,14 @@ </table> </BODY> </HTML> -<!-- File: test/-b/index.html --> +<!-- File: test/--root--/-b/index.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>B - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">B</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">B</a><br/> <br/> <h1>B</h1> <code><span class="keyword">class </span><span class="identifier">B</span></code> @@ -39,7 +39,7 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> <code><span class="identifier">B</span><span class="symbol">(</span><span class="symbol">)</span></code></td> @@ -48,14 +48,14 @@ </table> </BODY> </HTML> -<!-- File: test/-c/index.html --> +<!-- File: test/--root--/-c/index.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>C - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">C</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">C</a><br/> <br/> <h1>C</h1> <code><span class="keyword">class </span><span class="identifier">C</span></code> @@ -64,7 +64,7 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> <code><span class="identifier">C</span><span class="symbol">(</span><span class="symbol">)</span></code></td> @@ -73,28 +73,28 @@ </table> </BODY> </HTML> -<!-- File: test/f.html --> +<!-- File: test/--root--/f.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>f - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./f.html">f</a><br/> +<a href="../index.html">test</a> / <a href="./f.html">f</a><br/> <br/> <h1>f</h1> <a name="$f"></a> <code><span class="keyword">val </span><span class="identifier">f</span><span class="symbol">: </span><span class="symbol">(</span><span class="identifier">a</span><span class="symbol">:</span> <a href="-a/index.html"><span class="identifier">A</span></a><span class="symbol">,</span> <span class="identifier">b</span><span class="symbol">:</span> <a href="-b/index.html"><span class="identifier">B</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="-c/index.html"><span class="identifier">C</span></a></code> </BODY> </HTML> -<!-- File: test/accept-function-type-with-named-arguments.html --> +<!-- File: test/--root--/accept-function-type-with-named-arguments.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>acceptFunctionTypeWithNamedArguments - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./accept-function-type-with-named-arguments.html">acceptFunctionTypeWithNamedArguments</a><br/> +<a href="../index.html">test</a> / <a href="./accept-function-type-with-named-arguments.html">acceptFunctionTypeWithNamedArguments</a><br/> <br/> <h1>acceptFunctionTypeWithNamedArguments</h1> <a name="$acceptFunctionTypeWithNamedArguments(kotlin.Function2((B, A, C)))"></a> diff --git a/core/testdata/format/functionalTypeWithNamedParameters.md b/core/testdata/format/functionalTypeWithNamedParameters.md index 4e78694c..e1c9681a 100644 --- a/core/testdata/format/functionalTypeWithNamedParameters.md +++ b/core/testdata/format/functionalTypeWithNamedParameters.md @@ -1,5 +1,5 @@ -<!-- File: test/-a/index.md --> -[test](../index.md) / [A](./index.md) +<!-- File: test/--root--/-a/index.md --> +[test](../../index.md) / [A](./index.md) # A @@ -9,8 +9,8 @@ | [<init>](-init-.md) | `A()` | -<!-- File: test/-b/index.md --> -[test](../index.md) / [B](./index.md) +<!-- File: test/--root--/-b/index.md --> +[test](../../index.md) / [B](./index.md) # B @@ -20,8 +20,8 @@ | [<init>](-init-.md) | `B()` | -<!-- File: test/-c/index.md --> -[test](../index.md) / [C](./index.md) +<!-- File: test/--root--/-c/index.md --> +[test](../../index.md) / [C](./index.md) # C @@ -31,14 +31,14 @@ | [<init>](-init-.md) | `C()` | -<!-- File: test/f.md --> -[test](index.md) / [f](./f.md) +<!-- File: test/--root--/f.md --> +[test](../index.md) / [f](./f.md) # f `val f: (a: `[`A`](-a/index.md)`, b: `[`B`](-b/index.md)`) -> `[`C`](-c/index.md) -<!-- File: test/accept-function-type-with-named-arguments.md --> -[test](index.md) / [acceptFunctionTypeWithNamedArguments](./accept-function-type-with-named-arguments.md) +<!-- File: test/--root--/accept-function-type-with-named-arguments.md --> +[test](../index.md) / [acceptFunctionTypeWithNamedArguments](./accept-function-type-with-named-arguments.md) # acceptFunctionTypeWithNamedArguments diff --git a/core/testdata/format/genericInheritedExtensions.md b/core/testdata/format/genericInheritedExtensions.md index 8d0e316f..90397676 100644 --- a/core/testdata/format/genericInheritedExtensions.md +++ b/core/testdata/format/genericInheritedExtensions.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar diff --git a/core/testdata/format/gfm/listInTableCell.md b/core/testdata/format/gfm/listInTableCell.md index 359ad916..1cafb61a 100644 --- a/core/testdata/format/gfm/listInTableCell.md +++ b/core/testdata/format/gfm/listInTableCell.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Foo](./index.md) +[test](../../index.md) / [Foo](./index.md) # Foo @@ -14,4 +14,4 @@ | Name | Summary | |---|---| -| [foo](foo.md) | `fun foo(): Unit`<ol><li>Foo</li><li>Bar</li></ol> | +| [foo](foo.md) | <ol><li>Foo</li><li>Bar</li></ol>`fun foo(): Unit` | diff --git a/core/testdata/format/gfm/sample.md b/core/testdata/format/gfm/sample.md index 2b082296..a9464ea3 100644 --- a/core/testdata/format/gfm/sample.md +++ b/core/testdata/format/gfm/sample.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Foo](./index.md) +[test](../../index.md) / [Foo](./index.md) # Foo @@ -10,11 +10,11 @@ The class Foo. | Name | Summary | |---|---| -| [<init>](-init-.md) | `Foo()`<br>The class Foo. | +| [<init>](-init-.md) | The class Foo.`Foo()` | ### Functions | Name | Summary | |---|---| -| [bar](bar.md) | `fun bar(): Unit`<br>The method bar. | -| [baz](baz.md) | `fun baz(): Unit`<br>The method baz. | +| [bar](bar.md) | The method bar.`fun bar(): Unit` | +| [baz](baz.md) | The method baz.`fun baz(): Unit` | diff --git a/core/testdata/format/htmlEscaping.html b/core/testdata/format/htmlEscaping.html index bd64454d..435c3149 100644 --- a/core/testdata/format/htmlEscaping.html +++ b/core/testdata/format/htmlEscaping.html @@ -4,7 +4,7 @@ <title>x - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./x.html">x</a><br/> +<a href="../index.html">test</a> / <a href="./x.html">x</a><br/> <br/> <h1>x</h1> <a name="$x()"></a> diff --git a/core/testdata/format/inapplicableExtensionFunctions.md b/core/testdata/format/inapplicableExtensionFunctions.md index 08fc2739..35124b3d 100644 --- a/core/testdata/format/inapplicableExtensionFunctions.md +++ b/core/testdata/format/inapplicableExtensionFunctions.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar diff --git a/core/testdata/format/indentedCodeBlock.html b/core/testdata/format/indentedCodeBlock.html index 86c129fb..5b4677d1 100644 --- a/core/testdata/format/indentedCodeBlock.html +++ b/core/testdata/format/indentedCodeBlock.html @@ -4,7 +4,7 @@ <title>foo - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./foo.html">foo</a><br/> +<a href="../index.html">test</a> / <a href="./foo.html">foo</a><br/> <br/> <h1>foo</h1> <a name="$foo()"></a> diff --git a/core/testdata/format/indentedCodeBlock.md b/core/testdata/format/indentedCodeBlock.md index 77b0630a..7542ddb9 100644 --- a/core/testdata/format/indentedCodeBlock.md +++ b/core/testdata/format/indentedCodeBlock.md @@ -1,4 +1,4 @@ -[test](index.md) / [foo](./foo.md) +[test](../index.md) / [foo](./foo.md) # foo diff --git a/core/testdata/format/inheritedCompanionObjectProperties.md b/core/testdata/format/inheritedCompanionObjectProperties.md index ab8f0aa5..700570cc 100644 --- a/core/testdata/format/inheritedCompanionObjectProperties.md +++ b/core/testdata/format/inheritedCompanionObjectProperties.md @@ -1,4 +1,4 @@ -[test](../index.md) / [C](./index.md) +[test](../../index.md) / [C](./index.md) # C diff --git a/core/testdata/format/inheritedExtensions.md b/core/testdata/format/inheritedExtensions.md index 97a73666..3b105e28 100644 --- a/core/testdata/format/inheritedExtensions.md +++ b/core/testdata/format/inheritedExtensions.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar diff --git a/core/testdata/format/inheritedMembers.md b/core/testdata/format/inheritedMembers.md index 334df360..0bf1a5f6 100644 --- a/core/testdata/format/inheritedMembers.md +++ b/core/testdata/format/inheritedMembers.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar diff --git a/core/testdata/format/inlineSuspendFunction.kt b/core/testdata/format/inlineSuspendFunction.kt index f2009eff..02b3094b 100644 --- a/core/testdata/format/inlineSuspendFunction.kt +++ b/core/testdata/format/inlineSuspendFunction.kt @@ -1,6 +1,6 @@ /** * returns 1 */ -inline suspend fun foo(): Int { +inline suspend fun foo(a: () -> String): Int { 1 } diff --git a/core/testdata/format/inlineSuspendFunction.md b/core/testdata/format/inlineSuspendFunction.md index 946463f7..e109039c 100644 --- a/core/testdata/format/inlineSuspendFunction.md +++ b/core/testdata/format/inlineSuspendFunction.md @@ -1,8 +1,8 @@ -[test](index.md) / [foo](./foo.md) +[test](../index.md) / [foo](./foo.md) # foo -`suspend inline fun foo(): Int` +`suspend inline fun foo(a: () -> String): Int` returns 1 diff --git a/core/testdata/format/javaCodeInParam.md b/core/testdata/format/javaCodeInParam.md index 566b176d..7bdf4f62 100644 --- a/core/testdata/format/javaCodeInParam.md +++ b/core/testdata/format/javaCodeInParam.md @@ -1,4 +1,4 @@ -[test](../index.md) / [C](index.md) / [withParam](./with-param.md) +[test](../../index.md) / [C](index.md) / [withParam](./with-param.md) # withParam diff --git a/core/testdata/format/javaCodeLiteralTags.md b/core/testdata/format/javaCodeLiteralTags.md index c2c58047..88472b87 100644 --- a/core/testdata/format/javaCodeLiteralTags.md +++ b/core/testdata/format/javaCodeLiteralTags.md @@ -1,4 +1,4 @@ -[test](../index.md) / [C](./index.md) +[test](../../index.md) / [C](./index.md) # C @@ -12,5 +12,5 @@ A<B>C ### Constructors -| [<init>](-init-.md) | `C()`<br>`A<B>C` | +| [<init>](-init-.md) | `A<B>C``C()` | diff --git a/core/testdata/format/javaDeprecated.html b/core/testdata/format/javaDeprecated.html index d938fb9d..66e3adef 100644 --- a/core/testdata/format/javaDeprecated.html +++ b/core/testdata/format/javaDeprecated.html @@ -4,7 +4,7 @@ <title>Foo.foo - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="index.html">Foo</a> / <a href="./foo.html">foo</a><br/> +<a href="../../index.html">test</a> / <a href="index.html">Foo</a> / <a href="./foo.html">foo</a><br/> <br/> <h1>foo</h1> <a name="Foo$foo()"></a> diff --git a/core/testdata/format/javaLinkTag.html b/core/testdata/format/javaLinkTag.html index f90a58df..f61673d5 100644 --- a/core/testdata/format/javaLinkTag.html +++ b/core/testdata/format/javaLinkTag.html @@ -4,7 +4,7 @@ <title>Foo - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Foo</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Foo</a><br/> <br/> <h1>Foo</h1> <code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code> @@ -14,12 +14,11 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>Call <code><a href="bar.html">#bar()</a></code> to do the job.</p> -</td> +<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> @@ -28,7 +27,7 @@ <tbody> <tr> <td> -<p><a href="bar.html">bar</a></p> +<h4><a href="bar.html">bar</a></h4> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> diff --git a/core/testdata/format/javaLinkTagWithLabel.html b/core/testdata/format/javaLinkTagWithLabel.html index 51917f7a..92c67795 100644 --- a/core/testdata/format/javaLinkTagWithLabel.html +++ b/core/testdata/format/javaLinkTagWithLabel.html @@ -4,7 +4,7 @@ <title>Foo - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Foo</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Foo</a><br/> <br/> <h1>Foo</h1> <code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code> @@ -14,12 +14,11 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>Call <code><a href="bar.html">this wonderful method</a></code> to do the job.</p> -</td> +<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> @@ -28,7 +27,7 @@ <tbody> <tr> <td> -<p><a href="bar.html">bar</a></p> +<h4><a href="bar.html">bar</a></h4> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> diff --git a/core/testdata/format/javaSeeTag.html b/core/testdata/format/javaSeeTag.html index f8866dc2..dd19c56c 100644 --- a/core/testdata/format/javaSeeTag.html +++ b/core/testdata/format/javaSeeTag.html @@ -4,7 +4,7 @@ <title>Foo - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Foo</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Foo</a><br/> <br/> <h1>Foo</h1> <code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code> @@ -15,7 +15,7 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> <code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code></td> @@ -27,7 +27,7 @@ <tbody> <tr> <td> -<p><a href="bar.html">bar</a></p> +<h4><a href="bar.html">bar</a></h4> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> diff --git a/core/testdata/format/javaSpaceInAuthor.md b/core/testdata/format/javaSpaceInAuthor.md index 1d2251d0..fc6c53f8 100644 --- a/core/testdata/format/javaSpaceInAuthor.md +++ b/core/testdata/format/javaSpaceInAuthor.md @@ -1,4 +1,4 @@ -[test](../index.md) / [C](./index.md) +[test](../../index.md) / [C](./index.md) # C diff --git a/core/testdata/format/javadocHtml.md b/core/testdata/format/javadocHtml.md index 77f6c829..b6a03cd6 100644 --- a/core/testdata/format/javadocHtml.md +++ b/core/testdata/format/javadocHtml.md @@ -1,4 +1,4 @@ -[test](../index.md) / [C](./index.md) +[test](../../index.md) / [C](./index.md) # C @@ -34,5 +34,5 @@ with (some) { <code> } ### Constructors -| [<init>](-init-.md) | `C()`<br>**Bold** **Strong** *Italic* *Emphasized* | +| [<init>](-init-.md) | **Bold** **Strong** *Italic* *Emphasized* `C()` | diff --git a/core/testdata/format/javadocOrderedList.md b/core/testdata/format/javadocOrderedList.md index 88d5f5b6..1d94ad5b 100644 --- a/core/testdata/format/javadocOrderedList.md +++ b/core/testdata/format/javadocOrderedList.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar @@ -10,8 +10,8 @@ ### Constructors -| [<init>](-init-.md) | `Bar()`<br> +| [<init>](-init-.md) | 1. Rinse 2. Repeat - <br> | + <br>`Bar()` | diff --git a/core/testdata/format/jdkLinks.md b/core/testdata/format/jdkLinks.md index c3a5fbf4..eddee485 100644 --- a/core/testdata/format/jdkLinks.md +++ b/core/testdata/format/jdkLinks.md @@ -1,4 +1,4 @@ -[test](../index.md) / [C](./index.md) +[test](../../index.md) / [C](./index.md) # C @@ -10,5 +10,5 @@ You can print something to [java.lang.System.out](https://docs.oracle.com/javase ### Constructors -| [<init>](-init-.md) | `C()`<br>This is a [ClassLoader](https://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html) and I can get its [ClassLoader.getResource](https://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html#getResource(java.lang.String)) | +| [<init>](-init-.md) | This is a [ClassLoader](https://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html) and I can get its [ClassLoader.getResource](https://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html#getResource(java.lang.String))`C()` | diff --git a/core/testdata/format/linkWithLabel.html b/core/testdata/format/linkWithLabel.html index 59bc6ddf..52dfa4a3 100644 --- a/core/testdata/format/linkWithLabel.html +++ b/core/testdata/format/linkWithLabel.html @@ -4,7 +4,7 @@ <title>Bar - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Bar</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Bar</a><br/> <br/> <h1>Bar</h1> <code><span class="keyword">class </span><span class="identifier">Bar</span></code> @@ -14,12 +14,11 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>Use <a href="foo.html">this method</a> for best results.</p> -</td> +<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> @@ -28,7 +27,7 @@ <tbody> <tr> <td> -<p><a href="foo.html">foo</a></p> +<h4><a href="foo.html">foo</a></h4> </td> <td> <code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> diff --git a/core/testdata/format/linkWithStarProjection.html b/core/testdata/format/linkWithStarProjection.html index e1b6e098..ce9b82c6 100644 --- a/core/testdata/format/linkWithStarProjection.html +++ b/core/testdata/format/linkWithStarProjection.html @@ -4,7 +4,7 @@ <title>KClassLoader - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">KClassLoader</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">KClassLoader</a><br/> <br/> <h1>KClassLoader</h1> <code><span class="keyword">object </span><span class="identifier">KClassLoader</span></code> @@ -13,7 +13,7 @@ <tbody> <tr> <td> -<p><a href="foo.html">foo</a></p> +<h4><a href="foo.html">foo</a></h4> </td> <td> <code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="identifier" id="KClassLoader$foo(kotlin.Enum(()))/c">c</span><span class="symbol">:</span> <span class="identifier">Enum</span><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> diff --git a/core/testdata/format/linksInEmphasis.md b/core/testdata/format/linksInEmphasis.md index d0ae70c8..984941fa 100644 --- a/core/testdata/format/linksInEmphasis.md +++ b/core/testdata/format/linksInEmphasis.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar @@ -14,7 +14,7 @@ An emphasised class. ### Constructors -| [<init>](-init-.md) | `Bar()`<br>An emphasised class. | +| [<init>](-init-.md) | An emphasised class.`Bar()` | ### Functions diff --git a/core/testdata/format/linksInHeaders.md b/core/testdata/format/linksInHeaders.md index 1dc7d18b..2f18d442 100644 --- a/core/testdata/format/linksInHeaders.md +++ b/core/testdata/format/linksInHeaders.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar @@ -20,7 +20,7 @@ Some class with really useless documentation. ### Constructors -| [<init>](-init-.md) | `Bar()`<br>Some class with really useless documentation. | +| [<init>](-init-.md) | Some class with really useless documentation.`Bar()` | ### Functions diff --git a/core/testdata/format/linksInStrong.md b/core/testdata/format/linksInStrong.md index 5b44112d..d234937b 100644 --- a/core/testdata/format/linksInStrong.md +++ b/core/testdata/format/linksInStrong.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar @@ -14,7 +14,7 @@ A strong class. ### Constructors -| [<init>](-init-.md) | `Bar()`<br>A strong class. | +| [<init>](-init-.md) | A strong class.`Bar()` | ### Functions diff --git a/core/testdata/format/markdownInLinks.html b/core/testdata/format/markdownInLinks.html index f0bb475e..f1146ea0 100644 --- a/core/testdata/format/markdownInLinks.html +++ b/core/testdata/format/markdownInLinks.html @@ -4,7 +4,7 @@ <title>foo - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./foo.html">foo</a><br/> +<a href="../index.html">test</a> / <a href="./foo.html">foo</a><br/> <br/> <h1>foo</h1> <a name="$foo()"></a> diff --git a/core/testdata/format/memberExtension.md b/core/testdata/format/memberExtension.md index 0ec1fda3..f52b46f2 100644 --- a/core/testdata/format/memberExtension.md +++ b/core/testdata/format/memberExtension.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Foo](./index.md) +[test](../../index.md) / [Foo](./index.md) # Foo diff --git a/core/testdata/format/multiplatform/breadcrumbsInMemberOfMemberOfGroupNode/multiplatform.md b/core/testdata/format/multiplatform/breadcrumbsInMemberOfMemberOfGroupNode/multiplatform.md index 37e943ad..d70f9d8b 100644 --- a/core/testdata/format/multiplatform/breadcrumbsInMemberOfMemberOfGroupNode/multiplatform.md +++ b/core/testdata/format/multiplatform/breadcrumbsInMemberOfMemberOfGroupNode/multiplatform.md @@ -1,8 +1,5 @@ -[test](../../../index.md) / [pack](../../index.md) / [Some](../index.md) / [magic](./magic.md) +[test](../../index.md) / [pack](../index.md) / [Some](index.md) / [magic](./magic.md) # magic -`fun magic(): Unit` - -**Platform and version requirements:** JS - +(JS) `fun magic(): Unit`
\ No newline at end of file diff --git a/core/testdata/format/multiplatform/groupNode/multiplatform.md b/core/testdata/format/multiplatform/groupNode/multiplatform.md index 74d464c9..d8b577ca 100644 --- a/core/testdata/format/multiplatform/groupNode/multiplatform.md +++ b/core/testdata/format/multiplatform/groupNode/multiplatform.md @@ -2,19 +2,13 @@ # Some -`typealias Some = SomeCoolJvmClass` - -**Platform and version requirements:** JVM - -`class Some` - -**Platform and version requirements:** JS +(JVM) `typealias Some = SomeCoolJvmClass`(JS) `class Some` ### Constructors -| [<init>](-some/-init-.md) | `Some()` | +| (JS) [<init>](-init-.md) | `Some()` | ### Functions -| [magic](-some/magic.md) | `fun magic(): Unit` | +| (JS) [magic](magic.md) | `fun magic(): Unit` | diff --git a/core/testdata/format/multiplatform/groupNode/multiplatform.package.md b/core/testdata/format/multiplatform/groupNode/multiplatform.package.md index 5708795e..cf1f70f0 100644 --- a/core/testdata/format/multiplatform/groupNode/multiplatform.package.md +++ b/core/testdata/format/multiplatform/groupNode/multiplatform.package.md @@ -4,10 +4,6 @@ ### Types -| [Some](-some/index.md)<br>(JS) | `class Some` | -| [SomeCoolJvmClass](-some-cool-jvm-class/index.md)<br>(JVM) | `class SomeCoolJvmClass` | - -### Type Aliases - -| [Some](-some/index.md)<br>(JVM) | `typealias Some = SomeCoolJvmClass` | +| [Some](-some/index.md) | (JVM) `typealias Some = SomeCoolJvmClass`<br>(JS) `class Some` | +| (JVM) [SomeCoolJvmClass](-some-cool-jvm-class/index.md) | `class SomeCoolJvmClass` | diff --git a/core/testdata/format/multiplatform/implied/foo.md b/core/testdata/format/multiplatform/implied/foo.md index fca2aff4..c261df36 100644 --- a/core/testdata/format/multiplatform/implied/foo.md +++ b/core/testdata/format/multiplatform/implied/foo.md @@ -2,23 +2,23 @@ # Foo -`class Foo` +(JVM, JS) `class Foo` This is a foo. ### Constructors -| [<init>](-init-.md) | `Foo()`<br>This is a foo. | +| (JVM, JS) [<init>](-init-.md) | This is a foo.`<init>()` | ### Properties -| [propJs](prop-js.md)<br>(JS) | `val propJs: String` | -| [propJvm](prop-jvm.md)<br>(JVM) | `val propJvm: String` | -| [propJvmAndJs](prop-jvm-and-js.md) | `val propJvmAndJs: Int` | +| (JS) [propJs](prop-js.md) | `val propJs: String` | +| (JVM) [propJvm](prop-jvm.md) | `val propJvm: String` | +| (JVM, JS) [propJvmAndJs](prop-jvm-and-js.md) | `val propJvmAndJs: Int` | ### Functions -| [bothJvmAndJs](both-jvm-and-js.md) | `fun bothJvmAndJs(): Unit` | -| [js](js.md)<br>(JS) | `fun js(): Unit` | -| [jvm](jvm.md)<br>(JVM) | `fun jvm(): Unit` | +| (JVM, JS) [bothJvmAndJs](both-jvm-and-js.md) | `fun bothJvmAndJs(): Unit` | +| (JS) [js](js.md) | `fun js(): Unit` | +| (JVM) [jvm](jvm.md) | `fun jvm(): Unit` | diff --git a/core/testdata/format/multiplatform/merge/multiplatform.package.md b/core/testdata/format/multiplatform/merge/multiplatform.package.md index ea78b5a3..60ed85c4 100644 --- a/core/testdata/format/multiplatform/merge/multiplatform.package.md +++ b/core/testdata/format/multiplatform/merge/multiplatform.package.md @@ -2,9 +2,7 @@ ## Package foo -**Platform and version requirements:** JVM, JS - ### Types -| [Foo](-foo/index.md)<br>(JVM, JS) | `class Foo`<br>This is a foo. | +| (JVM, JS) [Foo](-foo/index.md) | This is a foo.`class Foo` | diff --git a/core/testdata/format/multiplatform/mergeMembers/foo.md b/core/testdata/format/multiplatform/mergeMembers/foo.md index 7f41b7d1..c261df36 100644 --- a/core/testdata/format/multiplatform/mergeMembers/foo.md +++ b/core/testdata/format/multiplatform/mergeMembers/foo.md @@ -2,25 +2,23 @@ # Foo -`class Foo` - -**Platform and version requirements:** JVM, JS +(JVM, JS) `class Foo` This is a foo. ### Constructors -| [<init>](-init-.md) | `Foo()`<br>This is a foo. | +| (JVM, JS) [<init>](-init-.md) | This is a foo.`<init>()` | ### Properties -| [propJs](prop-js.md)<br>(JS) | `val propJs: String` | -| [propJvm](prop-jvm.md)<br>(JVM) | `val propJvm: String` | -| [propJvmAndJs](prop-jvm-and-js.md) | `val propJvmAndJs: Int` | +| (JS) [propJs](prop-js.md) | `val propJs: String` | +| (JVM) [propJvm](prop-jvm.md) | `val propJvm: String` | +| (JVM, JS) [propJvmAndJs](prop-jvm-and-js.md) | `val propJvmAndJs: Int` | ### Functions -| [bothJvmAndJs](both-jvm-and-js.md) | `fun bothJvmAndJs(): Unit` | -| [js](js.md)<br>(JS) | `fun js(): Unit` | -| [jvm](jvm.md)<br>(JVM) | `fun jvm(): Unit` | +| (JVM, JS) [bothJvmAndJs](both-jvm-and-js.md) | `fun bothJvmAndJs(): Unit` | +| (JS) [js](js.md) | `fun js(): Unit` | +| (JVM) [jvm](jvm.md) | `fun jvm(): Unit` | diff --git a/core/testdata/format/multiplatform/omitRedundant/foo.md b/core/testdata/format/multiplatform/omitRedundant/foo.md index a20b14cf..5ed92d51 100644 --- a/core/testdata/format/multiplatform/omitRedundant/foo.md +++ b/core/testdata/format/multiplatform/omitRedundant/foo.md @@ -2,21 +2,19 @@ # Foo -`class Foo` - -**Platform and version requirements:** JVM +(JVM) `class Foo` This is a foo. ### Constructors -| [<init>](-init-.md) | `Foo()`<br>This is a foo. | +| (JVM) [<init>](-init-.md) | This is a foo.`Foo()` | ### Properties -| [propJvm](prop-jvm.md) | `val propJvm: String` | +| (JVM) [propJvm](prop-jvm.md) | `val propJvm: String` | ### Functions -| [jvm](jvm.md) | `fun jvm(): Unit` | +| (JVM) [jvm](jvm.md) | `fun jvm(): Unit` | diff --git a/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.index.md b/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.index.md index 6f45342b..9b0d6b63 100644 --- a/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.index.md +++ b/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.index.md @@ -1,10 +1,8 @@ [test](./index.md) -**Platform and version requirements:** JVM, JS - ### Packages -| [foo.bar](foo.bar/index.md)<br>(JVM, JS) | | +| (JVM, JS) [foo.bar](foo.bar/index.md) | | ### Index diff --git a/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.package.md b/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.package.md index 4ddfe2e3..a7fef864 100644 --- a/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.package.md +++ b/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.package.md @@ -2,9 +2,7 @@ ## Package foo.bar -**Platform and version requirements:** JVM, JS - ### Functions -| [buz](buz.md)<br>(JVM, JS) | `fun buz(): Unit` | +| (JVM, JS) [buz](buz.md) | `fun buz(): Unit` | diff --git a/core/testdata/format/multiplatform/packagePlatformsWithExtExtensions/multiplatform.index.md b/core/testdata/format/multiplatform/packagePlatformsWithExtExtensions/multiplatform.index.md index f4186b6e..b5543c80 100644 --- a/core/testdata/format/multiplatform/packagePlatformsWithExtExtensions/multiplatform.index.md +++ b/core/testdata/format/multiplatform/packagePlatformsWithExtExtensions/multiplatform.index.md @@ -1,10 +1,8 @@ [test](./index.md) -**Platform and version requirements:** JVM - ### Packages -| [some](some/index.md)<br>(JVM) | | +| (JVM) [some](some/index.md) | | ### Index diff --git a/core/testdata/format/multiplatform/packagePlatformsWithExtExtensions/multiplatform.package.md b/core/testdata/format/multiplatform/packagePlatformsWithExtExtensions/multiplatform.package.md index ff480b5a..6e42d0dc 100644 --- a/core/testdata/format/multiplatform/packagePlatformsWithExtExtensions/multiplatform.package.md +++ b/core/testdata/format/multiplatform/packagePlatformsWithExtExtensions/multiplatform.package.md @@ -2,9 +2,7 @@ ## Package some -**Platform and version requirements:** JVM - ### Extensions for External Classes -| [kotlin.String](kotlin.-string/index.md) | | +| (JVM) [kotlin.String](kotlin.-string/index.md) | | diff --git a/core/testdata/format/multiplatform/simple/multiplatform.package.md b/core/testdata/format/multiplatform/simple/multiplatform.package.md index fad7e90d..73f7d1df 100644 --- a/core/testdata/format/multiplatform/simple/multiplatform.package.md +++ b/core/testdata/format/multiplatform/simple/multiplatform.package.md @@ -4,6 +4,6 @@ ### Types -| [Bar](-bar/index.md)<br>(JS) | `class Bar`<br>This is a bar. | -| [Foo](-foo/index.md)<br>(JVM) | `class Foo`<br>This is a foo. | +| (JS) [Bar](-bar/index.md) | This is a bar.`class Bar` | +| (JVM) [Foo](-foo/index.md) | This is a foo.`class Foo` | diff --git a/core/testdata/format/multipleTypeParameterConstraints.md b/core/testdata/format/multipleTypeParameterConstraints.md index 78586aca..27581598 100644 --- a/core/testdata/format/multipleTypeParameterConstraints.md +++ b/core/testdata/format/multipleTypeParameterConstraints.md @@ -1,17 +1,17 @@ -<!-- File: test/-a.md --> -[test](index.md) / [A](./-a.md) +<!-- File: test/--root--/-a.md --> +[test](../index.md) / [A](./-a.md) # A `interface A` -<!-- File: test/-b.md --> -[test](index.md) / [B](./-b.md) +<!-- File: test/--root--/-b.md --> +[test](../index.md) / [B](./-b.md) # B `interface B` -<!-- File: test/f.md --> -[test](index.md) / [f](./f.md) +<!-- File: test/--root--/f.md --> +[test](../index.md) / [f](./f.md) # f diff --git a/core/testdata/format/nestedLists.md b/core/testdata/format/nestedLists.md index fb25bc32..6b8de8dc 100644 --- a/core/testdata/format/nestedLists.md +++ b/core/testdata/format/nestedLists.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar @@ -29,7 +29,7 @@ Usage instructions: ### Constructors -| [<init>](-init-.md) | `Bar()`<br>Usage instructions: | +| [<init>](-init-.md) | Usage instructions:`Bar()` | ### Properties diff --git a/core/testdata/format/newlineInTableCell.package.md b/core/testdata/format/newlineInTableCell.package.md index 53716db3..6ed783b3 100644 --- a/core/testdata/format/newlineInTableCell.package.md +++ b/core/testdata/format/newlineInTableCell.package.md @@ -1,8 +1,8 @@ -[test](./index.md) +[test](../index.md) ## Package <root> ### Types -| [A](-a/index.md) | `class A`<br>There is `long long int` story full of new lines | +| [A](-a/index.md) | There is `long long int` story full of new lines`class A` | diff --git a/core/testdata/format/notPublishedTypeAliasAutoExpansion.md b/core/testdata/format/notPublishedTypeAliasAutoExpansion.md index ca95093c..75b6db3e 100644 --- a/core/testdata/format/notPublishedTypeAliasAutoExpansion.md +++ b/core/testdata/format/notPublishedTypeAliasAutoExpansion.md @@ -1,4 +1,4 @@ -[test](index.md) / [foo](./foo.md) +[test](../index.md) / [foo](./foo.md) # foo diff --git a/core/testdata/format/nullability.md b/core/testdata/format/nullability.md index 7b81c255..2acd6f65 100644 --- a/core/testdata/format/nullability.md +++ b/core/testdata/format/nullability.md @@ -1,4 +1,4 @@ -[test](../index.md) / [C](./index.md) +[test](../../index.md) / [C](./index.md) # C diff --git a/core/testdata/format/nullableTypeParameterFunction.md b/core/testdata/format/nullableTypeParameterFunction.md index 5764007b..ec968537 100644 --- a/core/testdata/format/nullableTypeParameterFunction.md +++ b/core/testdata/format/nullableTypeParameterFunction.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar diff --git a/core/testdata/format/operatorOverloading.md b/core/testdata/format/operatorOverloading.md index 0a4c87b6..df8ea182 100644 --- a/core/testdata/format/operatorOverloading.md +++ b/core/testdata/format/operatorOverloading.md @@ -1,4 +1,4 @@ -[test](../index.md) / [C](index.md) / [plus](./plus.md) +[test](../../index.md) / [C](index.md) / [plus](./plus.md) # plus diff --git a/core/testdata/format/orderedList.html b/core/testdata/format/orderedList.html index 6f735bfd..b84de731 100644 --- a/core/testdata/format/orderedList.html +++ b/core/testdata/format/orderedList.html @@ -4,7 +4,7 @@ <title>Bar - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Bar</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Bar</a><br/> <br/> <h1>Bar</h1> <code><span class="keyword">class </span><span class="identifier">Bar</span></code> @@ -17,12 +17,11 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>Usage instructions:</p> -</td> +<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> diff --git a/core/testdata/format/overloads.html b/core/testdata/format/overloads.html index feda82e4..8e0693bf 100644 --- a/core/testdata/format/overloads.html +++ b/core/testdata/format/overloads.html @@ -4,7 +4,7 @@ <title>root package - test</title> </HEAD> <BODY> -<a href="./index.html">test</a><br/> +<a href="../index.html">test</a><br/> <br/> <h2>Package <root></h2> <h3>Functions</h3> @@ -12,13 +12,12 @@ <tbody> <tr> <td> -<p><a href="f.html">f</a></p> +<h4><a href="f.html">f</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier" id="$f(kotlin.Int)/x">x</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier" id="$f(kotlin.String)/x">x</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code> <p>Performs an action on x.</p> -</td> +<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier" id="$f(kotlin.Int)/x">x</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> +<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier" id="$f(kotlin.String)/x">x</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> </tr> </tbody> </table> diff --git a/core/testdata/format/overloadsWithDescription.html b/core/testdata/format/overloadsWithDescription.html index 16b03f7e..329393d1 100644 --- a/core/testdata/format/overloadsWithDescription.html +++ b/core/testdata/format/overloadsWithDescription.html @@ -4,7 +4,7 @@ <title>f - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./f.html">f</a><br/> +<a href="../index.html">test</a> / <a href="./f.html">f</a><br/> <br/> <h1>f</h1> <a name="$f(kotlin.Int)"></a> diff --git a/core/testdata/format/overloadsWithDifferentDescriptions.html b/core/testdata/format/overloadsWithDifferentDescriptions.html index 4c4f7f74..c2a348c6 100644 --- a/core/testdata/format/overloadsWithDifferentDescriptions.html +++ b/core/testdata/format/overloadsWithDifferentDescriptions.html @@ -4,7 +4,7 @@ <title>f - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./f.html">f</a><br/> +<a href="../index.html">test</a> / <a href="./f.html">f</a><br/> <br/> <h1>f</h1> <a name="$f(kotlin.Int)"></a> diff --git a/core/testdata/format/overridingFunction.md b/core/testdata/format/overridingFunction.md index d0ec82fa..91c81410 100644 --- a/core/testdata/format/overridingFunction.md +++ b/core/testdata/format/overridingFunction.md @@ -1,4 +1,4 @@ -[test](../index.md) / [D](index.md) / [f](./f.md) +[test](../../index.md) / [D](index.md) / [f](./f.md) # f diff --git a/core/testdata/format/paramTag.md b/core/testdata/format/paramTag.md index 7cc33d21..9a368d3a 100644 --- a/core/testdata/format/paramTag.md +++ b/core/testdata/format/paramTag.md @@ -1,4 +1,4 @@ -[test](index.md) / [f](./f.md) +[test](../index.md) / [f](./f.md) # f diff --git a/core/testdata/format/parameterAnchor.html b/core/testdata/format/parameterAnchor.html index a4ae0997..e54a066b 100644 --- a/core/testdata/format/parameterAnchor.html +++ b/core/testdata/format/parameterAnchor.html @@ -4,7 +4,7 @@ <title>processFiles - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./process-files.html">processFiles</a><br/> +<a href="../index.html">test</a> / <a href="./process-files.html">processFiles</a><br/> <br/> <h1>processFiles</h1> <a name="$processFiles(kotlin.Function0((processFiles.T)))"></a> diff --git a/core/testdata/format/parenthesis.html b/core/testdata/format/parenthesis.html index c63154c1..8f6edbee 100644 --- a/core/testdata/format/parenthesis.html +++ b/core/testdata/format/parenthesis.html @@ -4,7 +4,7 @@ <title>foo - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./foo.html">foo</a><br/> +<a href="../index.html">test</a> / <a href="./foo.html">foo</a><br/> <br/> <h1>foo</h1> <a name="$foo()"></a> diff --git a/core/testdata/format/propertyVar.md b/core/testdata/format/propertyVar.md index 887d25a5..474379d9 100644 --- a/core/testdata/format/propertyVar.md +++ b/core/testdata/format/propertyVar.md @@ -1,4 +1,4 @@ -[test](index.md) / [x](./x.md) +[test](../index.md) / [x](./x.md) # x diff --git a/core/testdata/format/qualifiedNameLink.md b/core/testdata/format/qualifiedNameLink.md index 92fa8f7a..53984037 100644 --- a/core/testdata/format/qualifiedNameLink.md +++ b/core/testdata/format/qualifiedNameLink.md @@ -1,4 +1,4 @@ -[test](index.md) / [foo](./foo.md) +[test](../index.md) / [foo](./foo.md) # foo diff --git a/core/testdata/format/receiverParameterTypeBound.md b/core/testdata/format/receiverParameterTypeBound.md index 978dc0f8..95f3beec 100644 --- a/core/testdata/format/receiverParameterTypeBound.md +++ b/core/testdata/format/receiverParameterTypeBound.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Foo](./index.md) +[test](../../index.md) / [Foo](./index.md) # Foo diff --git a/core/testdata/format/receiverReference.md b/core/testdata/format/receiverReference.md index bdcce322..96c6ec61 100644 --- a/core/testdata/format/receiverReference.md +++ b/core/testdata/format/receiverReference.md @@ -1,6 +1,6 @@ -[test](../index.md) / [kotlin.String](./index.md) +[test](../../index.md) / [kotlin.String](./index.md) ### Extensions for kotlin.String -| [some](some.md) | `fun String.some(): Unit`<br>Prints [this](some/-this-.md) | +| [some](some.md) | Prints [this](some/-this-.md)`fun String.some(): Unit` | diff --git a/core/testdata/format/reifiedTypeParameter.kt b/core/testdata/format/reifiedTypeParameter.kt index 00fa1dc9..1b1de359 100644 --- a/core/testdata/format/reifiedTypeParameter.kt +++ b/core/testdata/format/reifiedTypeParameter.kt @@ -1,3 +1,3 @@ -inline fun f<reified T>() { +inline fun f<reified T>(a: () -> String) { } diff --git a/core/testdata/format/reifiedTypeParameter.md b/core/testdata/format/reifiedTypeParameter.md index 40dbed7b..7bb406ee 100644 --- a/core/testdata/format/reifiedTypeParameter.md +++ b/core/testdata/format/reifiedTypeParameter.md @@ -1,5 +1,5 @@ -[test](index.md) / [f](./f.md) +[test](../index.md) / [f](./f.md) # f -`inline fun <reified T> f(): Unit`
\ No newline at end of file +`inline fun <reified T> f(a: () -> String): Unit`
\ No newline at end of file diff --git a/core/testdata/format/renderFunctionalTypeInParenthesisWhenItIsReceiver.md b/core/testdata/format/renderFunctionalTypeInParenthesisWhenItIsReceiver.md index 4b5f3a64..6d449fb4 100644 --- a/core/testdata/format/renderFunctionalTypeInParenthesisWhenItIsReceiver.md +++ b/core/testdata/format/renderFunctionalTypeInParenthesisWhenItIsReceiver.md @@ -1,4 +1,4 @@ -[test](../index.md) / [kotlin.coroutines.SuspendFunction0](./index.md) +[test](../../index.md) / [kotlin.coroutines.SuspendFunction0](./index.md) ### Extensions for kotlin.coroutines.SuspendFunction0 diff --git a/core/testdata/format/returnWithLink.html b/core/testdata/format/returnWithLink.html index fe1d031b..9f36d294 100644 --- a/core/testdata/format/returnWithLink.html +++ b/core/testdata/format/returnWithLink.html @@ -4,7 +4,7 @@ <title>foo - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./foo.html">foo</a><br/> +<a href="../index.html">test</a> / <a href="./foo.html">foo</a><br/> <br/> <h1>foo</h1> <a name="$foo(kotlin.String)"></a> diff --git a/core/testdata/format/see.html b/core/testdata/format/see.html index 74773951..2a8caf6f 100644 --- a/core/testdata/format/see.html +++ b/core/testdata/format/see.html @@ -1,11 +1,11 @@ -<!-- File: test/quux.html --> +<!-- File: test/--root--/quux.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>quux - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./quux.html">quux</a><br/> +<a href="../index.html">test</a> / <a href="./quux.html">quux</a><br/> <br/> <h1>quux</h1> <a name="$quux()"></a> @@ -16,28 +16,28 @@ </p> </BODY> </HTML> -<!-- File: test/foo.html --> +<!-- File: test/--root--/foo.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>foo - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./foo.html">foo</a><br/> +<a href="../index.html">test</a> / <a href="./foo.html">foo</a><br/> <br/> <h1>foo</h1> <a name="$foo()"></a> <code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code> </BODY> </HTML> -<!-- File: test/bar.html --> +<!-- File: test/--root--/bar.html --> <HTML> <HEAD> <meta charset="UTF-8"> <title>bar - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./bar.html">bar</a><br/> +<a href="../index.html">test</a> / <a href="./bar.html">bar</a><br/> <br/> <h1>bar</h1> <a name="$bar()"></a> diff --git a/core/testdata/format/shadowedExtensionFunctions.md b/core/testdata/format/shadowedExtensionFunctions.md index f900ecb2..4adfda6a 100644 --- a/core/testdata/format/shadowedExtensionFunctions.md +++ b/core/testdata/format/shadowedExtensionFunctions.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar diff --git a/core/testdata/format/sinceKotlin.html b/core/testdata/format/sinceKotlin.html index 32988de2..3ca6889a 100644 --- a/core/testdata/format/sinceKotlin.html +++ b/core/testdata/format/sinceKotlin.html @@ -4,23 +4,21 @@ <title>Since1.1 - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Since1.1</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Since1.1</a><br/> <br/> <h1>Since1.1</h1> <code><span class="keyword">class </span><span class="identifier">Since1.1</span></code> -<p><strong>Platform and version requirements:</strong> Kotlin 1.1</p> <p>Useful</p> <h3>Constructors</h3> <table> <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> -</td> +<h4><a href="-init-.html"><init></a></h4> +Since: <code>1.1</code></td> <td> -<code><span class="identifier">Since1.1</span><span class="symbol">(</span><span class="symbol">)</span></code> <p>Useful</p> -</td> +<code><span class="identifier">Since1.1</span><span class="symbol">(</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> diff --git a/core/testdata/format/sinceKotlin.md b/core/testdata/format/sinceKotlin.md index df96db0a..197be48c 100644 --- a/core/testdata/format/sinceKotlin.md +++ b/core/testdata/format/sinceKotlin.md @@ -1,14 +1,12 @@ -[test](../index.md) / [Since1.1](./index.md) +[test](../../index.md) / [Since1.1](./index.md) # Since1.1 `class Since1.1` -**Platform and version requirements:** Kotlin 1.1 - Useful ### Constructors -| [<init>](-init-.md) | `Since1.1()`<br>Useful | +| [<init>](-init-.md)Since: `1.1` | Useful`Since1.1()` | diff --git a/core/testdata/format/sinceKotlin.package.md b/core/testdata/format/sinceKotlin.package.md index eabf88d5..fa29e019 100644 --- a/core/testdata/format/sinceKotlin.package.md +++ b/core/testdata/format/sinceKotlin.package.md @@ -1,10 +1,8 @@ -[test](./index.md) +[test](../index.md) ## Package <root> -**Platform and version requirements:** Kotlin 1.1 - ### Types -| [Since1.1](-since1.1/index.md)<br>(Kotlin 1.1) | `class Since1.1`<br>Useful | +| [Since1.1](-since1.1/index.md) (Since: `1.1`) | Useful`class Since1.1` | diff --git a/core/testdata/format/sinceKotlinWide.package.md b/core/testdata/format/sinceKotlinWide.package.md index 58a5045e..d79d593d 100644 --- a/core/testdata/format/sinceKotlinWide.package.md +++ b/core/testdata/format/sinceKotlinWide.package.md @@ -1,11 +1,9 @@ -[test](./index.md) +[test](../index.md) ## Package <root> -**Platform and version requirements:** Kotlin 1.1+ - ### Types -| [Since1.1](-since1.1/index.md)<br>(Kotlin 1.1) | `class Since1.1`<br>Useful | -| [Since1.2](-since1.2/index.md)<br>(Kotlin 1.2) | `class Since1.2`<br>Useful also | +| [Since1.1](-since1.1/index.md) (Since: `1.1`) | Useful`class Since1.1` | +| [Since1.2](-since1.2/index.md) (Since: `1.2`) | Useful also`class Since1.2` | diff --git a/core/testdata/format/starProjection.md b/core/testdata/format/starProjection.md index 5a53e5b9..594a7d72 100644 --- a/core/testdata/format/starProjection.md +++ b/core/testdata/format/starProjection.md @@ -1,4 +1,4 @@ -[test](../index.md) / [kotlin.collections.Iterable](./index.md) +[test](../../index.md) / [kotlin.collections.Iterable](./index.md) ### Extensions for kotlin.collections.Iterable diff --git a/core/testdata/format/summarizeSignatures.md b/core/testdata/format/summarizeSignatures.md index 4f494166..a6755328 100644 --- a/core/testdata/format/summarizeSignatures.md +++ b/core/testdata/format/summarizeSignatures.md @@ -10,5 +10,5 @@ ### Functions -| [foo](foo.md) | `fun <T> any_array<T>.foo(predicate: (`[`T`](foo.md#T)`) -> Boolean): Boolean`<br>Returns true if foo. | +| [foo](foo.md) | Returns true if foo.`fun <T> any_array<T>.foo(predicate: (`[`T`](foo.md#T)`) -> Boolean): Boolean` | diff --git a/core/testdata/format/summarizeSignaturesProperty.md b/core/testdata/format/summarizeSignaturesProperty.md index 507ad6a5..1070a060 100644 --- a/core/testdata/format/summarizeSignaturesProperty.md +++ b/core/testdata/format/summarizeSignaturesProperty.md @@ -10,5 +10,5 @@ ### Properties -| [foo](foo.md) | `val <T> any_array<T>.foo: Int`<br>Returns true if foo. | +| [foo](foo.md) | Returns true if foo.`val <T> any_array<T>.foo: Int` | diff --git a/core/testdata/format/suspendInlineFunction.md b/core/testdata/format/suspendInlineFunction.md index 946463f7..056c8799 100644 --- a/core/testdata/format/suspendInlineFunction.md +++ b/core/testdata/format/suspendInlineFunction.md @@ -1,8 +1,8 @@ -[test](index.md) / [foo](./foo.md) +[test](../index.md) / [foo](./foo.md) # foo -`suspend inline fun foo(): Int` +`suspend fun foo(): Int` returns 1 diff --git a/core/testdata/format/suspendParam.md b/core/testdata/format/suspendParam.md index ab116140..7bc656f4 100644 --- a/core/testdata/format/suspendParam.md +++ b/core/testdata/format/suspendParam.md @@ -1,4 +1,4 @@ -[test](index.md) / [takesSuspendParam](./takes-suspend-param.md) +[test](../index.md) / [takesSuspendParam](./takes-suspend-param.md) # takesSuspendParam diff --git a/core/testdata/format/suspendParam.package.md b/core/testdata/format/suspendParam.package.md index 92bd7ee7..3fdb1bc6 100644 --- a/core/testdata/format/suspendParam.package.md +++ b/core/testdata/format/suspendParam.package.md @@ -1,4 +1,4 @@ -[test](./index.md) +[test](../index.md) ## Package <root> diff --git a/core/testdata/format/throwsTag.md b/core/testdata/format/throwsTag.md index 70fba512..104493a7 100644 --- a/core/testdata/format/throwsTag.md +++ b/core/testdata/format/throwsTag.md @@ -1,4 +1,4 @@ -[test](index.md) / [f](./f.md) +[test](../index.md) / [f](./f.md) # f diff --git a/core/testdata/format/tokensInEmphasis.md b/core/testdata/format/tokensInEmphasis.md index a68861de..0dd78dec 100644 --- a/core/testdata/format/tokensInEmphasis.md +++ b/core/testdata/format/tokensInEmphasis.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar @@ -12,7 +12,7 @@ Another emphasised class. ### Constructors -| [<init>](-init-.md) | `Bar()`<br>Another emphasised class. | +| [<init>](-init-.md) | Another emphasised class.`Bar()` | ### Functions diff --git a/core/testdata/format/tokensInHeaders.md b/core/testdata/format/tokensInHeaders.md index bd25492e..31abd971 100644 --- a/core/testdata/format/tokensInHeaders.md +++ b/core/testdata/format/tokensInHeaders.md @@ -1,4 +1,4 @@ -[test](../index.md) / [The](./index.md) +[test](../../index.md) / [The](./index.md) # The @@ -24,7 +24,7 @@ Why did the token cross the road? ### Constructors -| [<init>](-init-.md) | `The()`<br>Why did the token cross the road? | +| [<init>](-init-.md) | Why did the token cross the road?`The()` | ### Functions diff --git a/core/testdata/format/tokensInStrong.md b/core/testdata/format/tokensInStrong.md index 2781656c..8a444c8d 100644 --- a/core/testdata/format/tokensInStrong.md +++ b/core/testdata/format/tokensInStrong.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Yasc](./index.md) +[test](../../index.md) / [Yasc](./index.md) # Yasc @@ -12,7 +12,7 @@ ### Constructors -| [<init>](-init-.md) | `Yasc()`<br>**YASC: [Yasc](./index.md) Yet Another Strong Class** | +| [<init>](-init-.md) | **YASC: [Yasc](./index.md) Yet Another Strong Class**`Yasc()` | ### Functions diff --git a/core/testdata/format/tripleBackticks.html b/core/testdata/format/tripleBackticks.html index dacd0567..7dbdf4f2 100644 --- a/core/testdata/format/tripleBackticks.html +++ b/core/testdata/format/tripleBackticks.html @@ -4,7 +4,7 @@ <title>f - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./f.html">f</a><br/> +<a href="../index.html">test</a> / <a href="./f.html">f</a><br/> <br/> <h1>f</h1> <a name="$f()"></a> diff --git a/core/testdata/format/typeAliases.md b/core/testdata/format/typeAliases.md index 218c4848..755bd18d 100644 --- a/core/testdata/format/typeAliases.md +++ b/core/testdata/format/typeAliases.md @@ -1,5 +1,5 @@ -<!-- File: test/-a/index.md --> -[test](../index.md) / [A](./index.md) +<!-- File: test/--root--/-a/index.md --> +[test](../../index.md) / [A](./index.md) # A @@ -9,8 +9,8 @@ | [<init>](-init-.md) | `A()` | -<!-- File: test/-b/index.md --> -[test](../index.md) / [B](./index.md) +<!-- File: test/--root--/-b/index.md --> +[test](../../index.md) / [B](./index.md) # B @@ -20,8 +20,8 @@ | [<init>](-init-.md) | `B()` | -<!-- File: test/-c/index.md --> -[test](../index.md) / [C](./index.md) +<!-- File: test/--root--/-c/index.md --> +[test](../../index.md) / [C](./index.md) # C @@ -31,62 +31,62 @@ | [<init>](-init-.md) | `C()` | -<!-- File: test/-d.md --> -[test](index.md) / [D](./-d.md) +<!-- File: test/--root--/-d.md --> +[test](../index.md) / [D](./-d.md) # D `typealias D = `[`A`](-a/index.md) -<!-- File: test/-e.md --> -[test](index.md) / [E](./-e.md) +<!-- File: test/--root--/-e.md --> +[test](../index.md) / [E](./-e.md) # E `typealias E = `[`D`](-d.md) -<!-- File: test/-f.md --> -[test](index.md) / [F](./-f.md) +<!-- File: test/--root--/-f.md --> +[test](../index.md) / [F](./-f.md) # F `typealias F = (`[`A`](-a/index.md)`) -> `[`B`](-b/index.md) -<!-- File: test/-g.md --> -[test](index.md) / [G](./-g.md) +<!-- File: test/--root--/-g.md --> +[test](../index.md) / [G](./-g.md) # G `typealias G = `[`C`](-c/index.md)`<`[`A`](-a/index.md)`>` -<!-- File: test/-h.md --> -[test](index.md) / [H](./-h.md) +<!-- File: test/--root--/-h.md --> +[test](../index.md) / [H](./-h.md) # H `typealias H<T> = `[`C`](-c/index.md)`<`[`T`](-h.md#T)`>` -<!-- File: test/-i.md --> -[test](index.md) / [I](./-i.md) +<!-- File: test/--root--/-i.md --> +[test](../index.md) / [I](./-i.md) # I `typealias I<T> = `[`H`](-h.md)`<`[`T`](-i.md#T)`>` -<!-- File: test/-j.md --> -[test](index.md) / [J](./-j.md) +<!-- File: test/--root--/-j.md --> +[test](../index.md) / [J](./-j.md) # J `typealias J = `[`H`](-h.md)`<`[`A`](-a/index.md)`>` -<!-- File: test/-k.md --> -[test](index.md) / [K](./-k.md) +<!-- File: test/--root--/-k.md --> +[test](../index.md) / [K](./-k.md) # K `typealias K = `[`H`](-h.md)`<`[`J`](-j.md)`>` -<!-- File: test/-l.md --> -[test](index.md) / [L](./-l.md) +<!-- File: test/--root--/-l.md --> +[test](../index.md) / [L](./-l.md) # L `typealias L = (`[`K`](-k.md)`, `[`B`](-b/index.md)`) -> `[`J`](-j.md) -<!-- File: test/-m.md --> -[test](index.md) / [M](./-m.md) +<!-- File: test/--root--/-m.md --> +[test](../index.md) / [M](./-m.md) # M @@ -94,8 +94,8 @@ Documented -<!-- File: test/-n.md --> -[test](index.md) / [N](./-n.md) +<!-- File: test/--root--/-n.md --> +[test](../index.md) / [N](./-n.md) # N diff --git a/core/testdata/format/typeAliases.package.md b/core/testdata/format/typeAliases.package.md index 199e91c2..0c083811 100644 --- a/core/testdata/format/typeAliases.package.md +++ b/core/testdata/format/typeAliases.package.md @@ -1,4 +1,4 @@ -[test](./index.md) +[test](../index.md) ## Package <root> @@ -7,9 +7,6 @@ | [A](-a/index.md) | `class A` | | [B](-b/index.md) | `class B` | | [C](-c/index.md) | `class C<T>` | - -### Type Aliases - | [D](-d.md) | `typealias D = `[`A`](-a/index.md) | | [E](-e.md) | `typealias E = `[`D`](-d.md) | | [F](-f.md) | `typealias F = (`[`A`](-a/index.md)`) -> `[`B`](-b/index.md) | @@ -19,6 +16,6 @@ | [J](-j.md) | `typealias J = `[`H`](-h.md)`<`[`A`](-a/index.md)`>` | | [K](-k.md) | `typealias K = `[`H`](-h.md)`<`[`J`](-j.md)`>` | | [L](-l.md) | `typealias L = (`[`K`](-k.md)`, `[`B`](-b/index.md)`) -> `[`J`](-j.md) | -| [M](-m.md) | `typealias M = `[`A`](-a/index.md)<br>Documented | +| [M](-m.md) | Documented`typealias M = `[`A`](-a/index.md) | | [N](-n.md) | `typealias ~~N~~ = `[`A`](-a/index.md) | diff --git a/core/testdata/format/typeLink.html b/core/testdata/format/typeLink.html index 30af8a93..7909be23 100644 --- a/core/testdata/format/typeLink.html +++ b/core/testdata/format/typeLink.html @@ -4,7 +4,7 @@ <title>Bar - test</title> </HEAD> <BODY> -<a href="../index.html">test</a> / <a href="./index.html">Bar</a><br/> +<a href="../../index.html">test</a> / <a href="./index.html">Bar</a><br/> <br/> <h1>Bar</h1> <code><span class="keyword">class </span><span class="identifier">Bar</span> <span class="symbol">:</span> <a href="../-foo/index.html"><span class="identifier">Foo</span></a></code> @@ -13,7 +13,7 @@ <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +<h4><a href="-init-.html"><init></a></h4> </td> <td> <code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code></td> diff --git a/core/testdata/format/typeParameterBounds.md b/core/testdata/format/typeParameterBounds.md index cf03b3a7..0e207763 100644 --- a/core/testdata/format/typeParameterBounds.md +++ b/core/testdata/format/typeParameterBounds.md @@ -1,4 +1,4 @@ -[test](index.md) / [generic](./generic.md) +[test](../index.md) / [generic](./generic.md) # generic diff --git a/core/testdata/format/typeParameterReference.md b/core/testdata/format/typeParameterReference.md index 5001d321..0baefba0 100644 --- a/core/testdata/format/typeParameterReference.md +++ b/core/testdata/format/typeParameterReference.md @@ -1,4 +1,4 @@ -[test](index.md) / [tt](./tt.md) +[test](../index.md) / [tt](./tt.md) # tt diff --git a/core/testdata/format/typeParameterVariance.md b/core/testdata/format/typeParameterVariance.md index b0615d43..9ea5feda 100644 --- a/core/testdata/format/typeParameterVariance.md +++ b/core/testdata/format/typeParameterVariance.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Foo](./index.md) +[test](../../index.md) / [Foo](./index.md) # Foo diff --git a/core/testdata/format/typeProjectionVariance.md b/core/testdata/format/typeProjectionVariance.md index d3a55c58..082ffdba 100644 --- a/core/testdata/format/typeProjectionVariance.md +++ b/core/testdata/format/typeProjectionVariance.md @@ -1,4 +1,4 @@ -[test](../index.md) / [kotlin.Array](./index.md) +[test](../../index.md) / [kotlin.Array](./index.md) ### Extensions for kotlin.Array diff --git a/core/testdata/format/uninterpretedEmphasisCharacters.html b/core/testdata/format/uninterpretedEmphasisCharacters.html index dd338f72..a5b182b8 100644 --- a/core/testdata/format/uninterpretedEmphasisCharacters.html +++ b/core/testdata/format/uninterpretedEmphasisCharacters.html @@ -4,7 +4,7 @@ <title>foo - test</title> </HEAD> <BODY> -<a href="index.html">test</a> / <a href="./foo.html">foo</a><br/> +<a href="../index.html">test</a> / <a href="./foo.html">foo</a><br/> <br/> <h1>foo</h1> <a name="$foo()"></a> diff --git a/core/testdata/format/unorderedLists.md b/core/testdata/format/unorderedLists.md index 52ad9a71..1beb2c64 100644 --- a/core/testdata/format/unorderedLists.md +++ b/core/testdata/format/unorderedLists.md @@ -1,4 +1,4 @@ -[test](../index.md) / [Bar](./index.md) +[test](../../index.md) / [Bar](./index.md) # Bar @@ -32,7 +32,7 @@ Rinse options: ### Constructors -| [<init>](-init-.md) | `Bar()`<br>Usage summary: | +| [<init>](-init-.md) | Usage summary:`Bar()` | ### Properties diff --git a/core/testdata/format/varargsFunction.md b/core/testdata/format/varargsFunction.md index 550202cc..b23760f0 100644 --- a/core/testdata/format/varargsFunction.md +++ b/core/testdata/format/varargsFunction.md @@ -1,4 +1,4 @@ -[test](index.md) / [f](./f.md) +[test](../index.md) / [f](./f.md) # f diff --git a/core/testdata/format/website-html/dataTags/multiplatform.package.html b/core/testdata/format/website-html/dataTags/multiplatform.package.html index 35453ab1..99f0b7a2 100644 --- a/core/testdata/format/website-html/dataTags/multiplatform.package.html +++ b/core/testdata/format/website-html/dataTags/multiplatform.package.html @@ -1,71 +1,74 @@ <div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./index.html">foo</a></div> <h2>Package foo</h2> <h3>Functions</h3> -<table class="api-docs-table"> -<tbody> -<tr data-platform="JVM" data-jre-version="JRE7"><td> -<p><a href="jre7.html">jre7</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">fun </span><span class="identifier">jre7</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> - -</td> -</tr><tr data-platform="JVM" data-kotlin-version="Kotlin 1.1" data-jre-version="JRE7"><td> -<p><a href="jre7-new.html">jre7New</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">fun </span><span class="identifier">jre7New</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> - -</td> -</tr><tr data-platform="JS"><td> -<p><a href="js.html">js</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">fun </span><span class="identifier">js</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> - -</td> -</tr><tr data-platform="JS" data-kotlin-version="Kotlin 1.1"><td> -<p><a href="js-new.html">jsNew</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">fun </span><span class="identifier">jsNew</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> - -</td> -</tr><tr data-platform="JVM"><td> -<p><a href="jvm.html">jvm</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">fun </span><span class="identifier">jvm</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> - -</td> -</tr><tr data-platform="JVM" data-kotlin-version="Kotlin 1.1"><td> -<p><a href="jvm-new.html">jvmNew</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">fun </span><span class="identifier">jvmNew</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> - -</td> -</tr><tr data-platform="JVM, JS" data-jre-version="JRE7"><td> -<p><a href="shared.html">shared</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">fun </span><span class="identifier">shared</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> - -</td> -</tr><tr data-platform="JVM, JS" data-kotlin-version="Kotlin 1.1" data-jre-version="JRE7"><td> -<p><a href="shared-new.html">sharedNew</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">fun </span><span class="identifier">sharedNew</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> - -</td> -</tr></tbody> -</table> +<div class="api-declarations-list"><div class="declarations" data-platform="JVM, JRE7" data-kotlin-version="1.0, 1.0"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JVM" data-tag-version="1.0">JVM</div> +<div class="tags__tag platform tag-value-JRE7" data-tag-version="1.0">JRE7</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> +<h4><a href="jre7.html">jre7</a></h4> +<div class="summary-group" data-platform="JVM, JRE7" data-kotlin-version="1.0, 1.0"><div data-platform="JVM, JRE7" data-kotlin-version="1.0, 1.0"><div class="signature"><code><span class="keyword">fun </span><span class="identifier">jre7</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> +</div></div> +</div> +<div class="declarations" data-platform="JVM, JRE7" data-kotlin-version="1.1, 1.1"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JVM" data-tag-version="1.1">JVM</div> +<div class="tags__tag platform tag-value-JRE7" data-tag-version="1.1">JRE7</div> +<div class="tags__tag kotlin-version">1.1</div> +</div> +<h4><a href="jre7-new.html">jre7New</a></h4> +<div class="summary-group" data-platform="JVM, JRE7" data-kotlin-version="1.1, 1.1"><div data-platform="JVM, JRE7" data-kotlin-version="1.1, 1.1"><div class="signature"><code><span class="keyword">fun </span><span class="identifier">jre7New</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> +</div></div> +</div> +<div class="declarations" data-platform="JS" data-kotlin-version="1.0"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JS" data-tag-version="1.0">JS</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> +<h4><a href="js.html">js</a></h4> +<div class="summary-group" data-platform="JS" data-kotlin-version="1.0"><div data-platform="JS" data-kotlin-version="1.0"><div class="signature"><code><span class="keyword">fun </span><span class="identifier">js</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> +</div></div> +</div> +<div class="declarations" data-platform="JS" data-kotlin-version="1.1"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JS" data-tag-version="1.1">JS</div> +<div class="tags__tag kotlin-version">1.1</div> +</div> +<h4><a href="js-new.html">jsNew</a></h4> +<div class="summary-group" data-platform="JS" data-kotlin-version="1.1"><div data-platform="JS" data-kotlin-version="1.1"><div class="signature"><code><span class="keyword">fun </span><span class="identifier">jsNew</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> +</div></div> +</div> +<div class="declarations" data-platform="JVM" data-kotlin-version="1.0"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JVM" data-tag-version="1.0">JVM</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> +<h4><a href="jvm.html">jvm</a></h4> +<div class="summary-group" data-platform="JVM" data-kotlin-version="1.0"><div data-platform="JVM" data-kotlin-version="1.0"><div class="signature"><code><span class="keyword">fun </span><span class="identifier">jvm</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> +</div></div> +</div> +<div class="declarations" data-platform="JVM" data-kotlin-version="1.1"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JVM" data-tag-version="1.1">JVM</div> +<div class="tags__tag kotlin-version">1.1</div> +</div> +<h4><a href="jvm-new.html">jvmNew</a></h4> +<div class="summary-group" data-platform="JVM" data-kotlin-version="1.1"><div data-platform="JVM" data-kotlin-version="1.1"><div class="signature"><code><span class="keyword">fun </span><span class="identifier">jvmNew</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> +</div></div> +</div> +<div class="declarations" data-platform="JVM, JS, JRE7" data-kotlin-version="1.0, 1.0, 1.0"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JVM" data-tag-version="1.0">JVM</div> +<div class="tags__tag platform tag-value-JRE7" data-tag-version="1.0">JRE7</div> +<div class="tags__tag platform tag-value-JS" data-tag-version="1.0">JS</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> +<h4><a href="shared.html">shared</a></h4> +<div class="summary-group" data-platform="JVM, JS, JRE7" data-kotlin-version="1.0, 1.0, 1.0"><div data-platform="JVM, JS, JRE7" data-kotlin-version="1.0, 1.0, 1.0"><div class="signature"><code><span class="keyword">fun </span><span class="identifier">shared</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> +</div></div> +</div> +<div class="declarations" data-platform="JVM, JS, JRE7" data-kotlin-version="1.1, 1.1, 1.1"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JVM" data-tag-version="1.1">JVM</div> +<div class="tags__tag platform tag-value-JRE7" data-tag-version="1.1">JRE7</div> +<div class="tags__tag platform tag-value-JS" data-tag-version="1.1">JS</div> +<div class="tags__tag kotlin-version">1.1</div> +</div> +<h4><a href="shared-new.html">sharedNew</a></h4> +<div class="summary-group" data-platform="JVM, JS, JRE7" data-kotlin-version="1.1, 1.1, 1.1"><div data-platform="JVM, JS, JRE7" data-kotlin-version="1.1, 1.1, 1.1"><div class="signature"><code><span class="keyword">fun </span><span class="identifier">sharedNew</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> +</div></div> +</div> +</div> diff --git a/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.html b/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.html index 3d34fc7e..eddee862 100644 --- a/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.html +++ b/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.html @@ -1,38 +1,35 @@ <div class='api-docs-breadcrumbs'><a href="../../index.html">test</a> / <a href="../index.html">pack</a> / <a href="./index.html">Some</a></div> <h1>Some</h1> -<div class="overload-group" data-platform="JVM"><div class="signature"><code><span class="keyword">typealias </span><span class="identifier">Some</span> <span class="symbol">=</span> <span class="identifier">SomeCoolJvmClass</span></code></div> -<p><strong>Platform and version requirements:</strong> JVM</p> +<div class="node-page-main" data-platform="JVM, JS" data-kotlin-version="1.0, 1.0"><div data-platform="JVM" data-kotlin-version="1.0"><a name="pack.Some"></a> +<div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JVM" data-tag-version="1.0">JVM</div> +<div class="tags__tag kotlin-version">1.0</div> </div> -<div class="overload-group" data-platform="JS"><div class="signature"><code><span class="keyword">class </span><span class="identifier">Some</span></code></div> -<p><strong>Platform and version requirements:</strong> JS</p> +<div class="signature"><code><span class="keyword">typealias </span><span class="identifier">Some</span> <span class="symbol">=</span> <span class="identifier">SomeCoolJvmClass</span></code></div> +</div><div data-platform="JS" data-kotlin-version="1.0"><a name="pack.Some"></a> +<div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JS" data-tag-version="1.0">JS</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> +<div class="signature"><code><span class="keyword">class </span><span class="identifier">Some</span></code></div> +</div></div> <h3>Constructors</h3> -<table class="api-docs-table"> -<tbody> -<tr> -<td> -<p><a href="-some/-init-.html"><init></a></p> - -</td> -<td> -<div class="signature"><code><span class="identifier">Some</span><span class="symbol">(</span><span class="symbol">)</span></code></div> - -</td> -</tr> -</tbody> -</table> +<div class="api-declarations-list"><div class="declarations" data-platform="JS" data-kotlin-version="1.0"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JS" data-tag-version="1.0">JS</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> +<h4><a href="-init-.html"><init></a></h4> +<div class="summary-group" data-platform="JS" data-kotlin-version="1.0"><div data-platform="JS" data-kotlin-version="1.0"><div class="signature"><code><span class="identifier">Some</span><span class="symbol">(</span><span class="symbol">)</span></code></div> +</div></div> +</div> +</div> <h3>Functions</h3> -<table class="api-docs-table"> -<tbody> -<tr> -<td> -<p><a href="-some/magic.html">magic</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> - -</td> -</tr> -</tbody> -</table> +<div class="api-declarations-list"><div class="declarations" data-platform="JS" data-kotlin-version="1.0"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JS" data-tag-version="1.0">JS</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> +<h4><a href="magic.html">magic</a></h4> +<div class="summary-group" data-platform="JS" data-kotlin-version="1.0"><div data-platform="JS" data-kotlin-version="1.0"><div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> +</div></div> +</div> </div> diff --git a/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.package.html b/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.package.html index c8926a28..99aae350 100644 --- a/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.package.html +++ b/core/testdata/format/website-html/dataTagsInGroupNode/multiplatform.package.html @@ -1,36 +1,26 @@ <div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./index.html">pack</a></div> <h2>Package pack</h2> <h3>Types</h3> -<table class="api-docs-table"> -<tbody> -<tr data-platform="JS"><td> -<p><a href="-some/index.html">Some</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">class </span><span class="identifier">Some</span></code></div> - -</td> -</tr><tr data-platform="JVM"><td> -<p><a href="-some-cool-jvm-class/index.html">SomeCoolJvmClass</a></p> - -</td> -<td> -<div class="signature"><code><span class="keyword">class </span><span class="identifier">SomeCoolJvmClass</span></code></div> - -</td> -</tr></tbody> -</table> -<h3>Type Aliases</h3> -<table class="api-docs-table"> -<tbody> -<tr data-platform="JVM"><td> -<p><a href="-some/index.html">Some</a></p> - -</td> -<td> +<div class="api-declarations-list"><div class="declarations" data-platform="JVM, JS" data-kotlin-version="1.0, 1.0"> +<h4><a href="-some/index.html">Some</a></h4> +<div class="summary-group" data-platform="JVM, JS" data-kotlin-version="1.0, 1.0"><div data-platform="JVM" data-kotlin-version="1.0"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JVM" data-tag-version="1.0">JVM</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> <div class="signature"><code><span class="keyword">typealias </span><span class="identifier">Some</span> <span class="symbol">=</span> <span class="identifier">SomeCoolJvmClass</span></code></div> - -</td> -</tr></tbody> -</table> +</div><div data-platform="JS" data-kotlin-version="1.0"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JS" data-tag-version="1.0">JS</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> +<div class="signature"><code><span class="keyword">class </span><span class="identifier">Some</span></code></div> +</div></div> +</div> +<div class="declarations" data-platform="JVM" data-kotlin-version="1.0"><div class="tags"><div class="spacer"></div> +<div class="tags__tag platform tag-value-JVM" data-tag-version="1.0">JVM</div> +<div class="tags__tag kotlin-version">1.0</div> +</div> +<h4><a href="-some-cool-jvm-class/index.html">SomeCoolJvmClass</a></h4> +<div class="summary-group" data-platform="JVM" data-kotlin-version="1.0"><div data-platform="JVM" data-kotlin-version="1.0"><div class="signature"><code><span class="keyword">class </span><span class="identifier">SomeCoolJvmClass</span></code></div> +</div></div> +</div> +</div> diff --git a/core/testdata/format/website-html/dropImport.html b/core/testdata/format/website-html/dropImport.html index e0fcb12b..b6748a5c 100644 --- a/core/testdata/format/website-html/dropImport.html +++ b/core/testdata/format/website-html/dropImport.html @@ -1,11 +1,15 @@ -<div class='api-docs-breadcrumbs'><a href="index.html">test</a> / <a href="./foo.html">foo</a></div> +<div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./foo.html">foo</a></div> <h1>foo</h1> +<div class="node-page-main" data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div> +<div class="tags__tag kotlin-version"></div> +</div> <a name="$foo()"></a> <div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> -<div class="sample"><pre><code class="lang-kotlin">import some.* +<div class="sample" data-min-compiler-version="1.3"><pre><code class="lang-kotlin">import some.* fun main(args: Array<String>) { //sampleStart //sampleEnd }</code></pre></div> +</div> diff --git a/core/testdata/format/website-html/newLinesInImportList.html b/core/testdata/format/website-html/newLinesInImportList.html index b5a07325..712b6a4b 100644 --- a/core/testdata/format/website-html/newLinesInImportList.html +++ b/core/testdata/format/website-html/newLinesInImportList.html @@ -1,8 +1,11 @@ -<div class='api-docs-breadcrumbs'><a href="index.html">test</a> / <a href="./foo.html">foo</a></div> +<div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./foo.html">foo</a></div> <h1>foo</h1> +<div class="node-page-main" data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div> +<div class="tags__tag kotlin-version"></div> +</div> <a name="$foo()"></a> <div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> -<div class="sample"><pre><code class="lang-kotlin">import same.* +<div class="sample" data-min-compiler-version="1.3"><pre><code class="lang-kotlin">import same.* import some.* fun main(args: Array<String>) { @@ -10,3 +13,4 @@ fun main(args: Array<String>) { //sampleEnd }</code></pre></div> +</div> diff --git a/core/testdata/format/website-html/newLinesInSamples.html b/core/testdata/format/website-html/newLinesInSamples.html index 50f875da..7e379c68 100644 --- a/core/testdata/format/website-html/newLinesInSamples.html +++ b/core/testdata/format/website-html/newLinesInSamples.html @@ -1,8 +1,11 @@ -<div class='api-docs-breadcrumbs'><a href="index.html">test</a> / <a href="./foo.html">foo</a></div> +<div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./foo.html">foo</a></div> <h1>foo</h1> +<div class="node-page-main" data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div> +<div class="tags__tag kotlin-version"></div> +</div> <a name="$foo()"></a> <div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div> -<div class="sample"><pre><code class="lang-kotlin"> +<div class="sample" data-min-compiler-version="1.3"><pre><code class="lang-kotlin"> fun main(args: Array<String>) { //sampleStart @@ -17,3 +20,4 @@ val mutableByLength: MutableMap<Int, MutableList<String>> = words.gr println("mutableByLength == byLength is ${mutableByLength == byLength}") // true //sampleEnd }</code></pre></div> +</div> diff --git a/core/testdata/format/website-html/overloadGroup.html b/core/testdata/format/website-html/overloadGroup.html index aaba9c96..808cd606 100644 --- a/core/testdata/format/website-html/overloadGroup.html +++ b/core/testdata/format/website-html/overloadGroup.html @@ -1,13 +1,19 @@ -<div class='api-docs-breadcrumbs'><a href="index.html">test</a> / <a href="./magic.html">magic</a></div> +<div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./magic.html">magic</a></div> <h1>magic</h1> -<div class="overload-group"><a name="$magic(kotlin.String)"></a> +<div class="overload-group"data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div> +<div class="tags__tag kotlin-version"></div> +</div> +<a name="$magic(kotlin.String)"></a> <div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="parameterName" id="$magic(kotlin.String)/spell">spell</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div> <h3>Parameters</h3> <p><a name="spell"></a> <code>spell</code> - The text of spell, often distributed on scrolls</p> <p><strong>Return</strong> Spell ID for future casts</p> </div> -<div class="overload-group"><a name="$magic(kotlin.Int)"></a> +<div class="overload-group"data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div> +<div class="tags__tag kotlin-version"></div> +</div> +<a name="$magic(kotlin.Int)"></a> <div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="parameterName" id="$magic(kotlin.Int)/spell">spell</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div> <h3>Parameters</h3> <p><a name="spell"></a> diff --git a/core/testdata/format/website-html/returnTag.html b/core/testdata/format/website-html/returnTag.html index 7724eaa7..2e761527 100644 --- a/core/testdata/format/website-html/returnTag.html +++ b/core/testdata/format/website-html/returnTag.html @@ -1,5 +1,8 @@ -<div class='api-docs-breadcrumbs'><a href="index.html">test</a> / <a href="./index-of.html">indexOf</a></div> +<div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./index-of.html">indexOf</a></div> <h1>indexOf</h1> +<div class="node-page-main" data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div> +<div class="tags__tag kotlin-version"></div> +</div> <a name="$indexOf(Foo, kotlin.Char, kotlin.Int, kotlin.Boolean)"></a> <div class="signature"><code><span class="keyword">fun </span><a href="-foo/index.html"><span class="identifier">Foo</span></a><span class="symbol">.</span><span class="identifier">indexOf</span><span class="symbol">(</span><br/> <span class="parameterName" id="$indexOf(Foo, kotlin.Char, kotlin.Int, kotlin.Boolean)/char">char</span><span class="symbol">:</span> <span class="identifier">Char</span><span class="symbol">, </span><br/> <span class="parameterName" id="$indexOf(Foo, kotlin.Char, kotlin.Int, kotlin.Boolean)/startIndex">startIndex</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> 0<span class="symbol">, </span><br/> <span class="parameterName" id="$indexOf(Foo, kotlin.Char, kotlin.Int, kotlin.Boolean)/ignoreCase">ignoreCase</span><span class="symbol">:</span> <span class="identifier">Boolean</span> <span class="symbol">=</span> false<br/><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div> <p>Returns the index within this string of the first occurrence of the specified character, starting from the specified <a href="index-of.html#$indexOf(Foo, kotlin.Char, kotlin.Int, kotlin.Boolean)/startIndex">startIndex</a>.</p> @@ -7,3 +10,4 @@ <p><a name="ignoreCase"></a> <code>ignoreCase</code> - <code>true</code> to ignore character case when matching a character. By default <code>false</code>.</p> <p><strong>Returns</strong> An index of the first occurrence of <a href="index-of.html#$indexOf(Foo, kotlin.Char, kotlin.Int, kotlin.Boolean)/char">char</a> or -1 if none is found.</p> +</div> diff --git a/core/testdata/format/website-html/sample.html b/core/testdata/format/website-html/sample.html index 1fb26e41..479af45c 100644 --- a/core/testdata/format/website-html/sample.html +++ b/core/testdata/format/website-html/sample.html @@ -1,10 +1,13 @@ -<div class='api-docs-breadcrumbs'><a href="index.html">test</a> / <a href="./foo.html">foo</a></div> +<div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./foo.html">foo</a></div> <h1>foo</h1> -<div class="overload-group"><a name="$foo()"></a> +<div class="overload-group"data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div> +<div class="tags__tag kotlin-version"></div> +</div> +<a name="$foo()"></a> <div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div> <p>Groups elements of the original sequence by the key returned by the given <a href="#">keySelector</a> function applied to each element and returns a map where each group key is associated with a list of corresponding elements.</p> -<div class="sample"><pre><code class="lang-kotlin"> +<div class="sample" data-min-compiler-version="1.3"><pre><code class="lang-kotlin"> fun main(args: Array<String>) { //sampleStart @@ -14,6 +17,9 @@ if (true) { //sampleEnd }</code></pre></div> </div> -<div class="overload-group"><a name="$foo(kotlin.Int)"></a> +<div class="overload-group"data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div> +<div class="tags__tag kotlin-version"></div> +</div> +<a name="$foo(kotlin.Int)"></a> <div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="parameterName" id="$foo(kotlin.Int)/i">i</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div> </div> diff --git a/core/testdata/format/website-html/sampleWithAsserts.html b/core/testdata/format/website-html/sampleWithAsserts.html index e91232f5..3febe91e 100644 --- a/core/testdata/format/website-html/sampleWithAsserts.html +++ b/core/testdata/format/website-html/sampleWithAsserts.html @@ -1,8 +1,11 @@ -<div class='api-docs-breadcrumbs'><a href="index.html">test</a> / <a href="./a.html">a</a></div> +<div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./a.html">a</a></div> <h1>a</h1> +<div class="node-page-main" data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div> +<div class="tags__tag kotlin-version"></div> +</div> <a name="$a()"></a> <div class="signature"><code><span class="keyword">fun </span><span class="identifier">a</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">String</span></code></div> -<div class="sample"><pre><code class="lang-kotlin">import java.io.FileNotFoundException +<div class="sample" data-min-compiler-version="1.3"><pre><code class="lang-kotlin">import java.io.FileNotFoundException import java.io.File fun main(args: Array<String>) { @@ -14,9 +17,12 @@ println("a() == b() is ${a() == b()}") // true // readSomeFile(File("some.txt")) // reading file now will fail // readSomeFile(File("some.txt")) // will fail with FileNotFoundException +// readSomeFile(File("some.txt")) // will fail + fun indented() { // A neq B println("a() != b() is ${a() != b()}") // false } //sampleEnd }</code></pre></div> +</div> diff --git a/core/testdata/format/website-html/sampleWithAsserts.kt b/core/testdata/format/website-html/sampleWithAsserts.kt index b3bce11d..bb5848e6 100644 --- a/core/testdata/format/website-html/sampleWithAsserts.kt +++ b/core/testdata/format/website-html/sampleWithAsserts.kt @@ -26,6 +26,8 @@ fun sample() { assertFails("reading file now") { readSomeFile(File("some.txt")) } assertFailsWith<FileNotFoundException> { readSomeFile(File("some.txt")) } + assertFails { readSomeFile(File("some.txt")) } + fun indented() { assertFalse(a() != b(), "A neq B") } diff --git a/core/testdata/functions/inlineFunction.kt b/core/testdata/functions/inlineFunction.kt index 11c19672..64a617a4 100644 --- a/core/testdata/functions/inlineFunction.kt +++ b/core/testdata/functions/inlineFunction.kt @@ -1,2 +1,2 @@ -inline fun f() { +inline fun f(a: () -> String) { } diff --git a/core/testdata/functions/inlineSuspendFunction.kt b/core/testdata/functions/inlineSuspendFunction.kt index 54032ccf..5f376267 100644 --- a/core/testdata/functions/inlineSuspendFunction.kt +++ b/core/testdata/functions/inlineSuspendFunction.kt @@ -1,2 +1,2 @@ -inline suspend fun f() { +inline suspend fun f(a: () -> String) { } diff --git a/core/testdata/functions/suspendInlineFunction.kt b/core/testdata/functions/suspendInlineFunction.kt index 15a9018f..54f65658 100644 --- a/core/testdata/functions/suspendInlineFunction.kt +++ b/core/testdata/functions/suspendInlineFunction.kt @@ -1,2 +1,2 @@ -suspend inline fun f() { +suspend inline fun f(a: () -> String) { } diff --git a/core/testdata/javadoc/functionParameters.java b/core/testdata/javadoc/functionParameters.java new file mode 100644 index 00000000..8d5f5143 --- /dev/null +++ b/core/testdata/javadoc/functionParameters.java @@ -0,0 +1,17 @@ +package bar; + +/** + * Foo + */ + +public class Foo { + + /** perfom request + * + * @param name user name + * @param password user password + */ + public void request(String name, String password) { + + } +}
\ No newline at end of file diff --git a/core/testdata/links/linkToExternalSite.kt b/core/testdata/links/linkToExternalSite.kt new file mode 100644 index 00000000..a3d8c5ef --- /dev/null +++ b/core/testdata/links/linkToExternalSite.kt @@ -0,0 +1,4 @@ +/** + * This is link to [http://example.com/#example] + */ +class Foo {}
\ No newline at end of file |