File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed
scaladoc-testcases/src/example Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1801,6 +1801,10 @@ object ScaladocConfigs {
18011801 .add(Revision (" main" ))
18021802 .add(SnippetCompiler (List (" scaladoc-testcases/docs=compile" )))
18031803 .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+ )))
18041808 .add(ExternalMappings (List (dottyExternalMapping, javaExternalMapping)))
18051809 .withTargets(tastyRoots)
18061810 }
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ dist/target/pack/bin/scaladoc \
3535 " -skip-by-id:scala.runtime.stdLibPatches" \
3636 " -skip-by-id:scala.runtime.MatchCase" \
3737 " -snippet-compiler:scaladoc-testcases/docs=compile" \
38+ " -comment-syntax:scaladoc-testcases/src/example/comment-md=markdown,scaladoc-testcases/src/example/comment-wiki=wiki" \
3839 -siteroot scaladoc-testcases/docs \
3940 -project-footer " Copyright (c) 2002-2022, LAMP/EPFL" \
4041 -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