From c43a437caa047f787bd3bb84ff612f505d0f8efc Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 29 Dec 2014 20:22:43 +0100 Subject: don't generate "Description" header if nothing is going to follow it --- test/data/format/emptyDescription.kt | 5 +++++ test/data/format/emptyDescription.md | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 test/data/format/emptyDescription.kt create mode 100644 test/data/format/emptyDescription.md (limited to 'test/data/format') 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 + + + -- cgit