aboutsummaryrefslogtreecommitdiff
path: root/core/testdata
diff options
context:
space:
mode:
authorSimon Ogorodnik <sem-oro@yandex.ru>2016-11-03 12:50:37 +0300
committerGitHub <noreply@github.com>2016-11-03 12:50:37 +0300
commit21b2fcb46a10acc2afdf94639cd208d15856fdc3 (patch)
tree39a117667b6383f4442a5e8fedeb214c93bd43c5 /core/testdata
parentb64579c6d444a39882ceeef08bdc3eedb584e827 (diff)
downloaddokka-21b2fcb46a10acc2afdf94639cd208d15856fdc3.tar.gz
dokka-21b2fcb46a10acc2afdf94639cd208d15856fdc3.tar.bz2
dokka-21b2fcb46a10acc2afdf94639cd208d15856fdc3.zip
Fix for KT-14076 : empty visible div's (#108)
Fix for KT-14076 : empty visible div's
Diffstat (limited to 'core/testdata')
-rw-r--r--core/testdata/format/website/overloadGroup.kt15
-rw-r--r--core/testdata/format/website/overloadGroup.md34
-rw-r--r--core/testdata/format/website/sample.md9
3 files changed, 56 insertions, 2 deletions
diff --git a/core/testdata/format/website/overloadGroup.kt b/core/testdata/format/website/overloadGroup.kt
new file mode 100644
index 00000000..5bc98e3d
--- /dev/null
+++ b/core/testdata/format/website/overloadGroup.kt
@@ -0,0 +1,15 @@
+/**
+ * @param spell The text of spell, often distributed on scrolls
+ * @return Spell ID for future casts
+ */
+fun magic(spell: String): Int {
+
+}
+
+/**
+ * @param spell Spell ID of previously casted spell
+ * @return Spell ID for future casts
+ */
+fun magic(spell: Int): Int {
+
+} \ No newline at end of file
diff --git a/core/testdata/format/website/overloadGroup.md b/core/testdata/format/website/overloadGroup.md
new file mode 100644
index 00000000..81cb7822
--- /dev/null
+++ b/core/testdata/format/website/overloadGroup.md
@@ -0,0 +1,34 @@
+---
+title: magic - test
+layout: api
+---
+
+<div class='api-docs-breadcrumbs'><a href="test/index">test</a> / <a href="test/magic">magic</a></div>
+
+# magic
+
+<div class="overload-group" markdown="1">
+
+<div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="parameterName" id="$magic(kotlin.String)/spell">spell</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
+
+### Parameters
+
+<code>spell</code> - The text of spell, often distributed on scrolls
+
+**Return**
+Spell ID for future casts
+
+</div>
+
+<div class="overload-group" markdown="1">
+
+<div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="parameterName" id="$magic(kotlin.Int)/spell">spell</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
+
+### Parameters
+
+<code>spell</code> - Spell ID of previously casted spell
+
+**Return**
+Spell ID for future casts
+
+</div> \ No newline at end of file
diff --git a/core/testdata/format/website/sample.md b/core/testdata/format/website/sample.md
index 3a52379b..1a683da7 100644
--- a/core/testdata/format/website/sample.md
+++ b/core/testdata/format/website/sample.md
@@ -7,6 +7,8 @@ layout: api
# foo
+<div class="overload-group" markdown="1">
+
<div class="signature"><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">Int</span></code></div>
Groups elements of the original sequence by the key returned by the given <a href="#">keySelector</a> function
@@ -18,7 +20,10 @@ if (true) {
}
```
-<div class="overload-group"></div>
+</div>
+
+<div class="overload-group" markdown="1">
<div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="parameterName" id="$foo(kotlin.Int)/i">i</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
-<div class="overload-group"></div> \ No newline at end of file
+
+</div> \ No newline at end of file