aboutsummaryrefslogtreecommitdiff
path: root/test/data/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-20 18:56:43 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-20 18:56:43 +0100
commitff0e6be0369f2778d33fd7aa4821548745172b80 (patch)
tree4bb185e80561ecad52360ee3713be2dbf6a26fe5 /test/data/format
parentf26fccd1ed4cdb399c41f87541099d8cc9f85417 (diff)
downloaddokka-ff0e6be0369f2778d33fd7aa4821548745172b80.tar.gz
dokka-ff0e6be0369f2778d33fd7aa4821548745172b80.tar.bz2
dokka-ff0e6be0369f2778d33fd7aa4821548745172b80.zip
process @link and @linkplain tags in javadoc
Diffstat (limited to 'test/data/format')
-rw-r--r--test/data/format/javaLinkTag.html26
-rw-r--r--test/data/format/javaLinkTag.java8
2 files changed, 34 insertions, 0 deletions
diff --git a/test/data/format/javaLinkTag.html b/test/data/format/javaLinkTag.html
new file mode 100644
index 00000000..65d33283
--- /dev/null
+++ b/test/data/format/javaLinkTag.html
@@ -0,0 +1,26 @@
+<HTML>
+<HEAD>
+<title>test / test.Foo</title>
+</HEAD>
+<BODY>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/test/index">test</a>&nbsp;/&nbsp;<a href="test/test/-foo/index">Foo</a><br/>
+<br/>
+<h1>Foo</h1>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span><span class="symbol"> : </span><span class="identifier">Any</span></code><br/>
+<p>Call <a href="test/test/-foo/bar"></a> to do the job.
+ </p>
+<br/>
+<br/>
+<h3>Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/test/-foo/bar">bar</a></td>
+<td>
+<code><span class="keyword">public</span> <span class="keyword">open</span> <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></td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>
diff --git a/test/data/format/javaLinkTag.java b/test/data/format/javaLinkTag.java
new file mode 100644
index 00000000..06452f16
--- /dev/null
+++ b/test/data/format/javaLinkTag.java
@@ -0,0 +1,8 @@
+package test;
+
+/**
+ * Call {@link #bar()} to do the job.
+ */
+class Foo {
+ public void bar()
+}