From 6276fd0e68085c9b0994f8f947bf904b9b285b34 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Tue, 28 Feb 2017 12:24:31 +0300 Subject: Split data tags for kotlin-website format --- core/testdata/format/website/dataTags/jre7.kt | 11 +++ core/testdata/format/website/dataTags/js.kt | 11 +++ core/testdata/format/website/dataTags/jvm.kt | 11 +++ .../website/dataTags/multiplatform.package.md | 79 ++++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 core/testdata/format/website/dataTags/jre7.kt create mode 100644 core/testdata/format/website/dataTags/js.kt create mode 100644 core/testdata/format/website/dataTags/jvm.kt create mode 100644 core/testdata/format/website/dataTags/multiplatform.package.md (limited to 'core/testdata') diff --git a/core/testdata/format/website/dataTags/jre7.kt b/core/testdata/format/website/dataTags/jre7.kt new file mode 100644 index 00000000..d21b8d7b --- /dev/null +++ b/core/testdata/format/website/dataTags/jre7.kt @@ -0,0 +1,11 @@ +package foo + +@SinceKotlin("1.1") +fun jre7New() {} + +fun jre7() {} + +fun shared() {} + +@SinceKotlin("1.1") +fun sharedNew() {} \ No newline at end of file diff --git a/core/testdata/format/website/dataTags/js.kt b/core/testdata/format/website/dataTags/js.kt new file mode 100644 index 00000000..b22d7088 --- /dev/null +++ b/core/testdata/format/website/dataTags/js.kt @@ -0,0 +1,11 @@ +package foo + +@SinceKotlin("1.1") +fun jsNew() {} + +fun js() {} + +fun shared() {} + +@SinceKotlin("1.1") +fun sharedNew() {} \ No newline at end of file diff --git a/core/testdata/format/website/dataTags/jvm.kt b/core/testdata/format/website/dataTags/jvm.kt new file mode 100644 index 00000000..02d04226 --- /dev/null +++ b/core/testdata/format/website/dataTags/jvm.kt @@ -0,0 +1,11 @@ +package foo + +@SinceKotlin("1.1") +fun jvmNew() {} + +fun jvm() {} + +fun shared() {} + +@SinceKotlin("1.1") +fun sharedNew() {} \ No newline at end of file diff --git a/core/testdata/format/website/dataTags/multiplatform.package.md b/core/testdata/format/website/dataTags/multiplatform.package.md new file mode 100644 index 00000000..1dccb6ba --- /dev/null +++ b/core/testdata/format/website/dataTags/multiplatform.package.md @@ -0,0 +1,79 @@ +--- +title: foo - test +layout: api +--- + +
test / foo
+ +## Package foo + +### Functions + + + + + + + + + + + + + + + + + + + + +
+jre7 +(JVM, JRE7) + +
fun jre7(): Unit
+ +
+jre7New +(Kotlin 1.1, JVM, JRE7) + +
fun jre7New(): Unit
+ +
+js +(JS) + +
fun js(): Unit
+ +
+jsNew +(Kotlin 1.1, JS) + +
fun jsNew(): Unit
+ +
+jvm +(JVM) + +
fun jvm(): Unit
+ +
+jvmNew +(Kotlin 1.1, JVM) + +
fun jvmNew(): Unit
+ +
+shared +(JVM, JRE7, JS) + +
fun shared(): Unit
+ +
+sharedNew +(Kotlin 1.1, JVM, JRE7, JS) + +
fun sharedNew(): Unit
+ +
-- cgit