aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-09 21:05:56 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-09 21:05:56 +0100
commit25592f52ea3e70e183a2a72bc411346b1650ed9a (patch)
treeaeee47c29bf4ecb5ef614ef164d1c7f331d194e7 /test/data
parent0b6f2b22f972b8e62f1d5eece72aea93043ffb90 (diff)
downloaddokka-25592f52ea3e70e183a2a72bc411346b1650ed9a.tar.gz
dokka-25592f52ea3e70e183a2a72bc411346b1650ed9a.tar.bz2
dokka-25592f52ea3e70e183a2a72bc411346b1650ed9a.zip
correctly render @see links
Diffstat (limited to 'test/data')
-rw-r--r--test/data/format/see.html27
-rw-r--r--test/data/format/see.kt12
2 files changed, 39 insertions, 0 deletions
diff --git a/test/data/format/see.html b/test/data/format/see.html
new file mode 100644
index 00000000..fa283363
--- /dev/null
+++ b/test/data/format/see.html
@@ -0,0 +1,27 @@
+<HTML>
+<HEAD>
+</HEAD>
+<BODY>
+<a href="out.html">test</a>&nbsp;/&nbsp;<a href="out.html"></a>&nbsp;/&nbsp;<a href="out.html">quux</a><br/>
+<br/>
+<h1>quux</h1>
+<pre><code><span class="keyword">fun </span><span class="identifier">quux</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></pre><br/>
+<br/>
+<br/>
+<br/>
+<strong>See Also</strong><br/>
+<p><a href="out.html">foo</a></p>
+<p><a href="out.html">bar</a></p>
+<br/>
+<a href="out.html">test</a>&nbsp;/&nbsp;<a href="out.html"></a>&nbsp;/&nbsp;<a href="out.html">foo</a><br/>
+<br/>
+<h1>foo</h1>
+<pre><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></pre><br/>
+<br/>
+<a href="out.html">test</a>&nbsp;/&nbsp;<a href="out.html"></a>&nbsp;/&nbsp;<a href="out.html">bar</a><br/>
+<br/>
+<h1>bar</h1>
+<pre><code><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></pre><br/>
+<br/>
+</BODY>
+</HTML>
diff --git a/test/data/format/see.kt b/test/data/format/see.kt
new file mode 100644
index 00000000..a0b153b0
--- /dev/null
+++ b/test/data/format/see.kt
@@ -0,0 +1,12 @@
+/**
+ * @see foo
+ * @see bar
+ */
+fun quux() {
+}
+
+fun foo() {
+}
+
+fun bar() {
+} \ No newline at end of file