diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-14 19:38:58 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-14 19:38:58 +0100 |
commit | f36d9b0e4f336de7e35dcfa33934ab287b76d964 (patch) | |
tree | 9beb706729788f4126f1270c4abfe3e0bcb71481 /test/data | |
parent | 60e610ebdd86663bedf113d2235ac3c8364171d0 (diff) | |
download | dokka-f36d9b0e4f336de7e35dcfa33934ab287b76d964.tar.gz dokka-f36d9b0e4f336de7e35dcfa33934ab287b76d964.tar.bz2 dokka-f36d9b0e4f336de7e35dcfa33934ab287b76d964.zip |
show default values of parameters in generated documentation
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/format/functionWithDefaultParameter.kt | 1 | ||||
-rw-r--r-- | test/data/format/functionWithDefaultParameter.md | 12 | ||||
-rw-r--r-- | test/data/functions/functionWithDefaultParameter.kt | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/test/data/format/functionWithDefaultParameter.kt b/test/data/format/functionWithDefaultParameter.kt new file mode 100644 index 00000000..3a3a102f --- /dev/null +++ b/test/data/format/functionWithDefaultParameter.kt @@ -0,0 +1 @@ +fun f(x: String = "") {} diff --git a/test/data/format/functionWithDefaultParameter.md b/test/data/format/functionWithDefaultParameter.md new file mode 100644 index 00000000..1acab0ef --- /dev/null +++ b/test/data/format/functionWithDefaultParameter.md @@ -0,0 +1,12 @@ +[test](out.md) / [](out.md) / [f](out.md) + + +# f + + +``` +fun f(x: String = ""): Unit +``` + + + diff --git a/test/data/functions/functionWithDefaultParameter.kt b/test/data/functions/functionWithDefaultParameter.kt new file mode 100644 index 00000000..3a3a102f --- /dev/null +++ b/test/data/functions/functionWithDefaultParameter.kt @@ -0,0 +1 @@ +fun f(x: String = "") {} |