aboutsummaryrefslogtreecommitdiff
path: root/core/testdata
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-21 18:58:06 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-21 18:58:06 +0300
commit46af59cc658e4f56b6d2909ab4dc93f43af77dc2 (patch)
tree3f3c104edaca1ade0d0472d417b89fce53eefc96 /core/testdata
parentb6d79cf83917e6a8c843209df3ffa7d9e54d0917 (diff)
downloaddokka-46af59cc658e4f56b6d2909ab4dc93f43af77dc2.tar.gz
dokka-46af59cc658e4f56b6d2909ab4dc93f43af77dc2.tar.bz2
dokka-46af59cc658e4f56b6d2909ab4dc93f43af77dc2.zip
Auto-expand type-aliases excluded from documentation
Diffstat (limited to 'core/testdata')
-rw-r--r--core/testdata/format/notPublishedTypeAliasAutoExpansion.kt13
-rw-r--r--core/testdata/format/notPublishedTypeAliasAutoExpansion.md9
2 files changed, 22 insertions, 0 deletions
diff --git a/core/testdata/format/notPublishedTypeAliasAutoExpansion.kt b/core/testdata/format/notPublishedTypeAliasAutoExpansion.kt
new file mode 100644
index 00000000..1f29e110
--- /dev/null
+++ b/core/testdata/format/notPublishedTypeAliasAutoExpansion.kt
@@ -0,0 +1,13 @@
+
+class A
+class B
+
+
+internal typealias TA = A
+private typealias TB = B
+
+/**
+ * Correct ref [TA]
+ * Correct ref [TB]
+ */
+fun foo() {} \ No newline at end of file
diff --git a/core/testdata/format/notPublishedTypeAliasAutoExpansion.md b/core/testdata/format/notPublishedTypeAliasAutoExpansion.md
new file mode 100644
index 00000000..9e0f1560
--- /dev/null
+++ b/core/testdata/format/notPublishedTypeAliasAutoExpansion.md
@@ -0,0 +1,9 @@
+[test](test/index) / [foo](test/foo)
+
+# foo
+
+`fun foo(): Unit`
+
+Correct ref [TA](test/-a/index)
+Correct ref [TB](test/-b/index)
+