File tree 4 files changed +17
-0
lines changed
scaladoc-testcases/src/example
4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1801,6 +1801,10 @@ object ScaladocConfigs {
1801
1801
.add(Revision (" main" ))
1802
1802
.add(SnippetCompiler (List (" scaladoc-testcases/docs=compile" )))
1803
1803
.add(SiteRoot (" scaladoc-testcases/docs" ))
1804
+ .add(CommentSyntax (List (
1805
+ " scaladoc-testcases/src/example/comment-md=markdown" ,
1806
+ " scaladoc-testcases/src/example/comment-wiki=wiki"
1807
+ )))
1804
1808
.add(ExternalMappings (List (dottyExternalMapping, javaExternalMapping)))
1805
1809
.withTargets(tastyRoots)
1806
1810
}
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ dist/target/pack/bin/scaladoc \
35
35
" -skip-by-id:scala.runtime.stdLibPatches" \
36
36
" -skip-by-id:scala.runtime.MatchCase" \
37
37
" -snippet-compiler:scaladoc-testcases/docs=compile" \
38
+ " -comment-syntax:scaladoc-testcases/src/example/comment-md=markdown,scaladoc-testcases/src/example/comment-wiki=wiki" \
38
39
-siteroot scaladoc-testcases/docs \
39
40
-project-footer " Copyright (c) 2002-2022, LAMP/EPFL" \
40
41
-default-template static-site-main \
Original file line number Diff line number Diff line change
1
+ package example .comment .md
2
+ /**
3
+ * # markdown header
4
+ * Markdown syntax is used here.
5
+ */
6
+ object CommentExample
Original file line number Diff line number Diff line change
1
+ package example .comment .wiki
2
+ /**
3
+ * = wiki header =
4
+ * Wiki syntax is used here.
5
+ */
6
+ object CommentExample
You can’t perform that action at this time.
0 commit comments