From 7fa258873eab770577879e9721c0864449ba1114 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 16 Feb 2017 21:28:16 +0300 Subject: Dokka now can detect and recognize SinceKotlin --- core/testdata/classes/sinceKotlin.kt | 5 +++++ core/testdata/format/sinceKotlin.html | 27 +++++++++++++++++++++++++++ core/testdata/format/sinceKotlin.kt | 5 +++++ core/testdata/format/sinceKotlin.md | 14 ++++++++++++++ core/testdata/format/sinceKotlin.package.md | 8 ++++++++ core/testdata/functions/sinceKotlin.kt | 5 +++++ core/testdata/properties/sinceKotlin.kt | 5 +++++ core/testdata/typealias/sinceKotlin.kt | 5 +++++ 8 files changed, 74 insertions(+) create mode 100644 core/testdata/classes/sinceKotlin.kt create mode 100644 core/testdata/format/sinceKotlin.html create mode 100644 core/testdata/format/sinceKotlin.kt create mode 100644 core/testdata/format/sinceKotlin.md create mode 100644 core/testdata/format/sinceKotlin.package.md create mode 100644 core/testdata/functions/sinceKotlin.kt create mode 100644 core/testdata/properties/sinceKotlin.kt create mode 100644 core/testdata/typealias/sinceKotlin.kt (limited to 'core/testdata') diff --git a/core/testdata/classes/sinceKotlin.kt b/core/testdata/classes/sinceKotlin.kt new file mode 100644 index 00000000..1025cf0d --- /dev/null +++ b/core/testdata/classes/sinceKotlin.kt @@ -0,0 +1,5 @@ +/** + * Useful + */ +@SinceKotlin("1.1") +class `Since1.1` \ No newline at end of file diff --git a/core/testdata/format/sinceKotlin.html b/core/testdata/format/sinceKotlin.html new file mode 100644 index 00000000..6f6a6896 --- /dev/null +++ b/core/testdata/format/sinceKotlin.html @@ -0,0 +1,27 @@ + + + + Since1.1 - test + + +test / Since1.1
+
+

Since1.1

+class Since1.1 +

Available since Kotlin: "1.1"

+

Useful

+

Constructors

+ + + + + + + +
+ <init> + Since1.1() +

Useful

+
+ + diff --git a/core/testdata/format/sinceKotlin.kt b/core/testdata/format/sinceKotlin.kt new file mode 100644 index 00000000..1025cf0d --- /dev/null +++ b/core/testdata/format/sinceKotlin.kt @@ -0,0 +1,5 @@ +/** + * Useful + */ +@SinceKotlin("1.1") +class `Since1.1` \ No newline at end of file diff --git a/core/testdata/format/sinceKotlin.md b/core/testdata/format/sinceKotlin.md new file mode 100644 index 00000000..cef04e74 --- /dev/null +++ b/core/testdata/format/sinceKotlin.md @@ -0,0 +1,14 @@ +[test](test/index) / [Since1.1](test/-since1.1/index) + +# Since1.1 + +`class Since1.1` + +Available since Kotlin: `"1.1"` + +Useful + +### Constructors + +| [<init>](test/-since1.1/-init-) | `Since1.1()`
Useful | + diff --git a/core/testdata/format/sinceKotlin.package.md b/core/testdata/format/sinceKotlin.package.md new file mode 100644 index 00000000..5e9250f8 --- /dev/null +++ b/core/testdata/format/sinceKotlin.package.md @@ -0,0 +1,8 @@ +[test](test/index) + +## Package <root> + +### Types + +| [Since1.1](test/-since1.1/index) | `class Since1.1`
Useful | + diff --git a/core/testdata/functions/sinceKotlin.kt b/core/testdata/functions/sinceKotlin.kt new file mode 100644 index 00000000..cdcd3357 --- /dev/null +++ b/core/testdata/functions/sinceKotlin.kt @@ -0,0 +1,5 @@ +/** + * Quite useful [String] + */ +@SinceKotlin("1.1") +fun `availableSince1.1`(): String = "1.1 rulezz" \ No newline at end of file diff --git a/core/testdata/properties/sinceKotlin.kt b/core/testdata/properties/sinceKotlin.kt new file mode 100644 index 00000000..e96f2349 --- /dev/null +++ b/core/testdata/properties/sinceKotlin.kt @@ -0,0 +1,5 @@ +/** + * Quite useful [String] + */ +@SinceKotlin("1.1") +val `availableSince1.1`: String = "1.1 rulezz" \ No newline at end of file diff --git a/core/testdata/typealias/sinceKotlin.kt b/core/testdata/typealias/sinceKotlin.kt new file mode 100644 index 00000000..5b76f63a --- /dev/null +++ b/core/testdata/typealias/sinceKotlin.kt @@ -0,0 +1,5 @@ +/** + * Documentation + */ +@SinceKotlin("1.1") +typealias `Since 1.1` = String \ No newline at end of file -- cgit