aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-12-27 16:07:17 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-01-13 19:52:30 +0300
commit55fbf4f5ce051396de00b02dad3f3c57368d3685 (patch)
tree13009c3ddd56ccd377fa23f395e3678ea6b41108 /core/testdata/format
parentf47798e7a740839f8a4ccdab9b96582c3a921eaf (diff)
downloaddokka-55fbf4f5ce051396de00b02dad3f3c57368d3685.tar.gz
dokka-55fbf4f5ce051396de00b02dad3f3c57368d3685.tar.bz2
dokka-55fbf4f5ce051396de00b02dad3f3c57368d3685.zip
Drop import samples.* for website-samples
Diffstat (limited to 'core/testdata/format')
-rw-r--r--core/testdata/format/website-samples/dropImport.kt12
-rw-r--r--core/testdata/format/website-samples/dropImport.md22
2 files changed, 34 insertions, 0 deletions
diff --git a/core/testdata/format/website-samples/dropImport.kt b/core/testdata/format/website-samples/dropImport.kt
new file mode 100644
index 00000000..7b8d9f4e
--- /dev/null
+++ b/core/testdata/format/website-samples/dropImport.kt
@@ -0,0 +1,12 @@
+import samples.*
+import some.*
+
+/**
+ * @sample example1
+ */
+fun foo() {
+}
+
+fun example1() {
+
+} \ No newline at end of file
diff --git a/core/testdata/format/website-samples/dropImport.md b/core/testdata/format/website-samples/dropImport.md
new file mode 100644
index 00000000..13c8fb79
--- /dev/null
+++ b/core/testdata/format/website-samples/dropImport.md
@@ -0,0 +1,22 @@
+---
+title: foo - test
+layout: api
+---
+
+<div class='api-docs-breadcrumbs'><a href="test/index">test</a> / <a href="test/foo">foo</a></div>
+
+# foo
+
+<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">Unit</span></code></div>
+<div class="sample" markdown="1">
+
+``` kotlin
+import some.*
+fun main(args: Array<String>) {
+//sampleStart
+
+//sampleEnd
+}
+```
+
+</div>