aboutsummaryrefslogtreecommitdiff
path: root/core/testdata
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-20 22:38:11 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-20 22:38:11 +0300
commit0298076ba9cf22b70b6c85846ad555e201ee95ee (patch)
treec61dff4bfcb266d3da25fed2aedcf53e203acf46 /core/testdata
parentbd92d65eba154d756c47c0ea2f304db04ac0ffae (diff)
downloaddokka-0298076ba9cf22b70b6c85846ad555e201ee95ee.tar.gz
dokka-0298076ba9cf22b70b6c85846ad555e201ee95ee.tar.bz2
dokka-0298076ba9cf22b70b6c85846ad555e201ee95ee.zip
Support receiver reference
Diffstat (limited to 'core/testdata')
-rw-r--r--core/testdata/format/receiverReference.kt6
-rw-r--r--core/testdata/format/receiverReference.md6
2 files changed, 12 insertions, 0 deletions
diff --git a/core/testdata/format/receiverReference.kt b/core/testdata/format/receiverReference.kt
new file mode 100644
index 00000000..3e6e2056
--- /dev/null
+++ b/core/testdata/format/receiverReference.kt
@@ -0,0 +1,6 @@
+/**
+ * Prints [this]
+ */
+fun String.some() {
+ println(this)
+} \ No newline at end of file
diff --git a/core/testdata/format/receiverReference.md b/core/testdata/format/receiverReference.md
new file mode 100644
index 00000000..1584b2b1
--- /dev/null
+++ b/core/testdata/format/receiverReference.md
@@ -0,0 +1,6 @@
+[test](test/index) / [kotlin.String](test/kotlin.-string/index)
+
+### Extensions for kotlin.String
+
+| [some](test/kotlin.-string/some) | `fun String.some(): Unit`<br>Prints [this](test/kotlin.-string/some/-this-) |
+