aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-16 21:28:16 +0300
committerDmitry Jemerov <yole@jetbrains.com>2017-02-23 11:20:13 +0100
commit7fa258873eab770577879e9721c0864449ba1114 (patch)
treefefbab3c102c00aa412dff4341c8160714f0c309 /core/testdata/format
parent2bd8bdf9dc0a8e48ce558b2eed0c8e8fd4883902 (diff)
downloaddokka-7fa258873eab770577879e9721c0864449ba1114.tar.gz
dokka-7fa258873eab770577879e9721c0864449ba1114.tar.bz2
dokka-7fa258873eab770577879e9721c0864449ba1114.zip
Dokka now can detect and recognize SinceKotlin
Diffstat (limited to 'core/testdata/format')
-rw-r--r--core/testdata/format/sinceKotlin.html27
-rw-r--r--core/testdata/format/sinceKotlin.kt5
-rw-r--r--core/testdata/format/sinceKotlin.md14
-rw-r--r--core/testdata/format/sinceKotlin.package.md8
4 files changed, 54 insertions, 0 deletions
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 @@
+<HTML>
+<HEAD>
+ <meta charset="UTF-8">
+ <title>Since1.1 - test</title>
+</HEAD>
+<BODY>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/-since1.1/index">Since1.1</a><br/>
+<br/>
+<h1>Since1.1</h1>
+<code><span class="keyword">class </span><span class="identifier">Since1.1</span></code>
+<p>Available since Kotlin: <code>"1.1"</code></p>
+<p>Useful</p>
+<h3>Constructors</h3>
+<table>
+ <tbody>
+ <tr>
+ <td>
+ <a href="test/-since1.1/-init-">&lt;init&gt;</a></td>
+ <td>
+ <code><span class="identifier">Since1.1</span><span class="symbol">(</span><span class="symbol">)</span></code>
+ <p>Useful</p>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</BODY>
+</HTML>
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
+
+| [&lt;init&gt;](test/-since1.1/-init-) | `Since1.1()`<br>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 &lt;root&gt;
+
+### Types
+
+| [Since1.1](test/-since1.1/index) | `class Since1.1`<br>Useful |
+