aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/multiplatform
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-27 20:08:31 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-27 20:08:31 +0300
commitbc71b31be28ed558e022babcf40ec1fd3bff923a (patch)
tree2c6520c7286432f22f3b804c8dea9147c6d26c42 /core/testdata/format/multiplatform
parentef753c8a1b9f02d9f6f026d555d628fbb207c574 (diff)
downloaddokka-bc71b31be28ed558e022babcf40ec1fd3bff923a.tar.gz
dokka-bc71b31be28ed558e022babcf40ec1fd3bff923a.tar.bz2
dokka-bc71b31be28ed558e022babcf40ec1fd3bff923a.zip
Platform and version requirements for packages.
Fixed tests. Post review.
Diffstat (limited to 'core/testdata/format/multiplatform')
-rw-r--r--core/testdata/format/multiplatform/merge/multiplatform.package.md2
-rw-r--r--core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.index.md8
-rw-r--r--core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.package.md10
3 files changed, 16 insertions, 4 deletions
diff --git a/core/testdata/format/multiplatform/merge/multiplatform.package.md b/core/testdata/format/multiplatform/merge/multiplatform.package.md
index a423f603..8e463327 100644
--- a/core/testdata/format/multiplatform/merge/multiplatform.package.md
+++ b/core/testdata/format/multiplatform/merge/multiplatform.package.md
@@ -2,6 +2,8 @@
## Package foo
+**Platform and version requirements:** JVM, JS
+
### Types
| [Foo](test/foo/-foo/index)<br>(JVM, JS) | `class Foo`<br>This is a foo. |
diff --git a/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.index.md b/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.index.md
index 0440bb1d..294513ed 100644
--- a/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.index.md
+++ b/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.index.md
@@ -1,8 +1,8 @@
-[test](test/index) / [foo.bar](test/foo.bar/index)
+[test](test/index)
-## Package foo.bar
+### Packages
-### Functions
+| [foo.bar](test/foo.bar/index)<br>(JVM, JS) | |
-| [buz](test/foo.bar/buz)<br>(JVM, JS) | `fun buz(): Unit` |
+### Index
diff --git a/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.package.md b/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.package.md
new file mode 100644
index 00000000..2921cdd1
--- /dev/null
+++ b/core/testdata/format/multiplatform/packagePlatformsFromMembers/multiplatform.package.md
@@ -0,0 +1,10 @@
+[test](test/index) / [foo.bar](test/foo.bar/index)
+
+## Package foo.bar
+
+**Platform and version requirements:** JVM, JS
+
+### Functions
+
+| [buz](test/foo.bar/buz)<br>(JVM, JS) | `fun buz(): Unit` |
+