aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2014-12-29 20:22:43 +0100
committerDmitry Jemerov <yole@jetbrains.com>2014-12-29 20:22:43 +0100
commitc43a437caa047f787bd3bb84ff612f505d0f8efc (patch)
treef91f6ee668a88ba5a73c0edd86bd45604d34571f /test/data
parentbadba07c1d151ff5a9cf623abecf7f2c906b5931 (diff)
downloaddokka-c43a437caa047f787bd3bb84ff612f505d0f8efc.tar.gz
dokka-c43a437caa047f787bd3bb84ff612f505d0f8efc.tar.bz2
dokka-c43a437caa047f787bd3bb84ff612f505d0f8efc.zip
don't generate "Description" header if nothing is going to follow it
Diffstat (limited to 'test/data')
-rw-r--r--test/data/format/emptyDescription.kt5
-rw-r--r--test/data/format/emptyDescription.md15
2 files changed, 20 insertions, 0 deletions
diff --git a/test/data/format/emptyDescription.kt b/test/data/format/emptyDescription.kt
new file mode 100644
index 00000000..3ed81dfa
--- /dev/null
+++ b/test/data/format/emptyDescription.kt
@@ -0,0 +1,5 @@
+/**
+ * Function fn
+ */
+fun fn() {
+} \ No newline at end of file
diff --git a/test/data/format/emptyDescription.md b/test/data/format/emptyDescription.md
new file mode 100644
index 00000000..5e8c05c0
--- /dev/null
+++ b/test/data/format/emptyDescription.md
@@ -0,0 +1,15 @@
+[test](out.md) / [](out.md) / [fn](out.md)
+
+
+# fn
+
+
+```
+fun fn(): Unit
+```
+
+
+Function fn
+
+
+