From cb97c45aa0b0204ebc61a149794518d50b262814 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 1 Jul 2016 16:39:32 +0200 Subject: introduce GFM output format --- core/testdata/format/gfm/sample.kt | 18 ++++++++++++++++++ core/testdata/format/gfm/sample.md | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 core/testdata/format/gfm/sample.kt create mode 100644 core/testdata/format/gfm/sample.md (limited to 'core/testdata/format') diff --git a/core/testdata/format/gfm/sample.kt b/core/testdata/format/gfm/sample.kt new file mode 100644 index 00000000..3300d2c8 --- /dev/null +++ b/core/testdata/format/gfm/sample.kt @@ -0,0 +1,18 @@ +/** + * The class Foo. + */ +class Foo { + /** + * The method bar. + */ + fun bar() { + + } + + /** + * The method baz. + */ + fun baz() { + + } +} \ No newline at end of file diff --git a/core/testdata/format/gfm/sample.md b/core/testdata/format/gfm/sample.md new file mode 100644 index 00000000..1555341e --- /dev/null +++ b/core/testdata/format/gfm/sample.md @@ -0,0 +1,33 @@ +[test](test/index) / [Foo](test/-foo/index) + + +# Foo + +`class Foo` + +The class Foo. + + + + +### Constructors + +| Name | Summary +|---|---| +| [<init>](test/-foo/-init-) | `Foo()` +The class Foo. + + | + +### Functions + +| Name | Summary +|---|---| +| [bar](test/-foo/bar) | `fun bar(): Unit` +The method bar. + + | +| [baz](test/-foo/baz) | `fun baz(): Unit` +The method baz. + + | -- cgit