aboutsummaryrefslogtreecommitdiff
path: root/test/data/comments
diff options
context:
space:
mode:
authorDmitry Jemerov <intelliyole@gmail.com>2015-01-30 19:04:34 +0100
committerDmitry Jemerov <intelliyole@gmail.com>2015-01-30 19:04:34 +0100
commitb5286f576f470ad1665a7b1acc9ea276bc1a0c18 (patch)
tree5cf3800e961b9da84b2db03707603865496f5ed0 /test/data/comments
parentb55b258574a01a02f906f5f12646ecacfc640e20 (diff)
parent0fac1d925b74f24002a4e1538088ce66c4b02cb9 (diff)
downloaddokka-b5286f576f470ad1665a7b1acc9ea276bc1a0c18.tar.gz
dokka-b5286f576f470ad1665a7b1acc9ea276bc1a0c18.tar.bz2
dokka-b5286f576f470ad1665a7b1acc9ea276bc1a0c18.zip
Merge pull request #24 from orangy/sections-rewrite
Use KDoc PSI instead of custom Markdown extensions to parse KDoc into sections
Diffstat (limited to 'test/data/comments')
-rw-r--r--test/data/comments/directive.kt8
-rw-r--r--test/data/comments/emptySection.kt2
-rw-r--r--test/data/comments/explicitSummary.kt6
-rw-r--r--test/data/comments/multilineSection.kt2
-rw-r--r--test/data/comments/section1.kt2
-rw-r--r--test/data/comments/section2.kt4
-rw-r--r--test/data/comments/sectionWithBracedLabel.kt5
7 files changed, 9 insertions, 20 deletions
diff --git a/test/data/comments/directive.kt b/test/data/comments/directive.kt
index 9883b7bd..471ca9bb 100644
--- a/test/data/comments/directive.kt
+++ b/test/data/comments/directive.kt
@@ -1,10 +1,10 @@
/**
* Summary
*
- * ${code example1}
- * ${code example2}
- * ${code X.example3}
- * ${code X.Y.example4}
+ * @code example1
+ * @code example2
+ * @code X.example3
+ * @code X.Y.example4
*/
val property = "test"
diff --git a/test/data/comments/emptySection.kt b/test/data/comments/emptySection.kt
index 7112c578..47d6b1a5 100644
--- a/test/data/comments/emptySection.kt
+++ b/test/data/comments/emptySection.kt
@@ -1,6 +1,6 @@
/**
* Summary
- * $one:
+ * @one
*/
val property = "test" \ No newline at end of file
diff --git a/test/data/comments/explicitSummary.kt b/test/data/comments/explicitSummary.kt
deleted file mode 100644
index 68f75c99..00000000
--- a/test/data/comments/explicitSummary.kt
+++ /dev/null
@@ -1,6 +0,0 @@
-
-/**
- * $$summary: Summary
- * $$description: Description
- */
-val property = "test" \ No newline at end of file
diff --git a/test/data/comments/multilineSection.kt b/test/data/comments/multilineSection.kt
index 514348cd..6ef4df2c 100644
--- a/test/data/comments/multilineSection.kt
+++ b/test/data/comments/multilineSection.kt
@@ -1,6 +1,6 @@
/**
* Summary
- * $one:
+ * @one
* line one
* line two
*/
diff --git a/test/data/comments/section1.kt b/test/data/comments/section1.kt
index e4c9adf4..7c763b4c 100644
--- a/test/data/comments/section1.kt
+++ b/test/data/comments/section1.kt
@@ -1,5 +1,5 @@
/**
* Summary
- * $one: section one
+ * @one section one
*/
val property = "test" \ No newline at end of file
diff --git a/test/data/comments/section2.kt b/test/data/comments/section2.kt
index e0a35551..e280793e 100644
--- a/test/data/comments/section2.kt
+++ b/test/data/comments/section2.kt
@@ -1,6 +1,6 @@
/**
* Summary
- * $one: section one
- * $two: section two
+ * @one section one
+ * @two section two
*/
val property = "test" \ No newline at end of file
diff --git a/test/data/comments/sectionWithBracedLabel.kt b/test/data/comments/sectionWithBracedLabel.kt
deleted file mode 100644
index aa8dbfe6..00000000
--- a/test/data/comments/sectionWithBracedLabel.kt
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * Summary
- * ${this.label.is.really.long}: section one
- */
-val property = "test" \ No newline at end of file