From c0064d2b43ec30237d0d39bf5a9aaa4ce5e14744 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 4 Jul 2016 19:48:27 +0200 Subject: Rewrite output generation; much cleaner Markdown and HTML generated. Resolves #71, #72 --- core/testdata/format/website/returnTag.md | 7 +------ core/testdata/format/website/sample.md | 14 +++----------- 2 files changed, 4 insertions(+), 17 deletions(-) (limited to 'core/testdata/format/website') diff --git a/core/testdata/format/website/returnTag.md b/core/testdata/format/website/returnTag.md index 301635ad..418babad 100644 --- a/core/testdata/format/website/returnTag.md +++ b/core/testdata/format/website/returnTag.md @@ -5,15 +5,12 @@ layout: api
test / indexOf
- # indexOf -
fun Foo.indexOf(
    char: Char,
    startIndex: Int = 0,
    ignoreCase: Boolean = false
): Int

-
+
fun Foo.indexOf(
    char: Char,
    startIndex: Int = 0,
    ignoreCase: Boolean = false
): Int
Returns the index within this string of the first occurrence of the specified character, starting from the specified startIndex. - ### Parameters ignoreCase - true to ignore character case when matching a character. By default false. @@ -21,5 +18,3 @@ Returns the index within this string of the first occurrence of the specified ch **Returns** An index of the first occurrence of char or -1 if none is found. - - diff --git a/core/testdata/format/website/sample.md b/core/testdata/format/website/sample.md index e416a039..3a52379b 100644 --- a/core/testdata/format/website/sample.md +++ b/core/testdata/format/website/sample.md @@ -5,28 +5,20 @@ layout: api
test / foo
- # foo -
fun foo(): Int
-
+
fun foo(): Int
Groups elements of the original sequence by the key returned by the given keySelector function applied to each element and returns a map where each group key is associated with a list of corresponding elements. - ``` kotlin if (true) { println(property) } ``` +
- - - -
fun foo(i: Int): Int
-
- - +
fun foo(i: Int): Int
\ No newline at end of file -- cgit