diff options
author | Dmitry Jemerov <intelliyole@gmail.com> | 2015-01-30 19:04:34 +0100 |
---|---|---|
committer | Dmitry Jemerov <intelliyole@gmail.com> | 2015-01-30 19:04:34 +0100 |
commit | b5286f576f470ad1665a7b1acc9ea276bc1a0c18 (patch) | |
tree | 5cf3800e961b9da84b2db03707603865496f5ed0 /test/data/comments | |
parent | b55b258574a01a02f906f5f12646ecacfc640e20 (diff) | |
parent | 0fac1d925b74f24002a4e1538088ce66c4b02cb9 (diff) | |
download | dokka-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.kt | 8 | ||||
-rw-r--r-- | test/data/comments/emptySection.kt | 2 | ||||
-rw-r--r-- | test/data/comments/explicitSummary.kt | 6 | ||||
-rw-r--r-- | test/data/comments/multilineSection.kt | 2 | ||||
-rw-r--r-- | test/data/comments/section1.kt | 2 | ||||
-rw-r--r-- | test/data/comments/section2.kt | 4 | ||||
-rw-r--r-- | test/data/comments/sectionWithBracedLabel.kt | 5 |
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 |