diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-23 17:05:32 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-23 17:05:32 +0100 |
commit | 64a86842ae06c7119cca4ef7c66b024f771ab088 (patch) | |
tree | 7e98b4ee57c4219c1ea0bff59f289c36e2a9d750 /core/testdata/format | |
parent | 99689adee954582da57268ff0375fdec52193a01 (diff) | |
download | dokka-64a86842ae06c7119cca4ef7c66b024f771ab088.tar.gz dokka-64a86842ae06c7119cca4ef7c66b024f771ab088.tar.bz2 dokka-64a86842ae06c7119cca4ef7c66b024f771ab088.zip |
Don't show implied platforms in output
Diffstat (limited to 'core/testdata/format')
-rw-r--r-- | core/testdata/format/multiplatformImplied/foo.md | 24 | ||||
-rw-r--r-- | core/testdata/format/multiplatformImplied/js.kt | 16 | ||||
-rw-r--r-- | core/testdata/format/multiplatformImplied/jvm.kt | 16 |
3 files changed, 56 insertions, 0 deletions
diff --git a/core/testdata/format/multiplatformImplied/foo.md b/core/testdata/format/multiplatformImplied/foo.md new file mode 100644 index 00000000..c615dd8e --- /dev/null +++ b/core/testdata/format/multiplatformImplied/foo.md @@ -0,0 +1,24 @@ +[test](test/index) / [foo](test/foo/index) / [Foo](test/foo/-foo/index) + +# Foo + +`class Foo` + +This is a foo. + +### Constructors + +| [<init>](test/foo/-foo/-init-) | `Foo()`<br>This is a foo. | + +### Properties + +| [propJs](test/foo/-foo/prop-js)<br>(JS) | `val propJs: String` | +| [propJvm](test/foo/-foo/prop-jvm)<br>(JVM) | `val propJvm: String` | +| [propJvmAndJs](test/foo/-foo/prop-jvm-and-js) | `val propJvmAndJs: Int` | + +### Functions + +| [bothJvmAndJs](test/foo/-foo/both-jvm-and-js) | `fun bothJvmAndJs(): Unit` | +| [js](test/foo/-foo/js)<br>(JS) | `fun js(): Unit` | +| [jvm](test/foo/-foo/jvm)<br>(JVM) | `fun jvm(): Unit` | + diff --git a/core/testdata/format/multiplatformImplied/js.kt b/core/testdata/format/multiplatformImplied/js.kt new file mode 100644 index 00000000..dd2de5bc --- /dev/null +++ b/core/testdata/format/multiplatformImplied/js.kt @@ -0,0 +1,16 @@ +package foo + +/** + * This is a foo. + */ +class Foo { + fun bothJvmAndJs() { + } + + fun js() { + } + + val propJvmAndJs = 0 + + val propJs = "abc" +} diff --git a/core/testdata/format/multiplatformImplied/jvm.kt b/core/testdata/format/multiplatformImplied/jvm.kt new file mode 100644 index 00000000..8d73ce25 --- /dev/null +++ b/core/testdata/format/multiplatformImplied/jvm.kt @@ -0,0 +1,16 @@ +package foo + +/** + * This is a foo. + */ +class Foo { + fun bothJvmAndJs() { + } + + fun jvm() { + } + + val propJvmAndJs = 0 + + val propJvm = "abc" +} |