aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/website-html/sample.html
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-03-09 17:47:09 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-03-20 18:20:19 +0300
commit2eb805e47505388c0e47102e9257f6f79681e699 (patch)
treeb50cc77717f4c9565579419ad197f21ec7938d24 /core/testdata/format/website-html/sample.html
parent8eff2cf33d1ba671191d6e2873f005e6b5f7057e (diff)
downloaddokka-2eb805e47505388c0e47102e9257f6f79681e699.tar.gz
dokka-2eb805e47505388c0e47102e9257f6f79681e699.tar.bz2
dokka-2eb805e47505388c0e47102e9257f6f79681e699.zip
Create HTML based format for kotlin-website
Diffstat (limited to 'core/testdata/format/website-html/sample.html')
-rw-r--r--core/testdata/format/website-html/sample.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/testdata/format/website-html/sample.html b/core/testdata/format/website-html/sample.html
new file mode 100644
index 00000000..00646a11
--- /dev/null
+++ b/core/testdata/format/website-html/sample.html
@@ -0,0 +1,21 @@
+<div class='api-docs-breadcrumbs'><a href="test/index">test</a> / <a href="test/foo">foo</a></div>
+<h1>foo</h1>
+<p><div class="overload-group"><a name="$foo()"></a>
+<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>
+<p>Groups elements of the original sequence by the key returned by the given <a href="#">keySelector</a> function
+applied to each element and returns a map where each group key is associated with a list of corresponding elements.</p>
+<div class="sample"><pre><code class="lang-kotlin">
+
+fun main(args: Array<String>) {
+//sampleStart
+if (true) {
+ println(property)
+}
+//sampleEnd
+}</code></pre></div>
+</div>
+</p>
+<p><div class="overload-group"><a name="$foo(kotlin.Int)"></a>
+<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>
+</p>