diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-07-01 16:39:32 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-07-01 16:39:32 +0200 |
commit | cb97c45aa0b0204ebc61a149794518d50b262814 (patch) | |
tree | 687b99d5966f8db53c9075464c605f51d4affaee /core/testdata | |
parent | ae642832a1a27aa98e34195047f0c08e325f23de (diff) | |
download | dokka-cb97c45aa0b0204ebc61a149794518d50b262814.tar.gz dokka-cb97c45aa0b0204ebc61a149794518d50b262814.tar.bz2 dokka-cb97c45aa0b0204ebc61a149794518d50b262814.zip |
introduce GFM output format
Diffstat (limited to 'core/testdata')
-rw-r--r-- | core/testdata/format/gfm/sample.kt | 18 | ||||
-rw-r--r-- | core/testdata/format/gfm/sample.md | 33 |
2 files changed, 51 insertions, 0 deletions
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. + + | |