Skip to content

Commit f481fbe

Browse files
committed
Set correct comment syntax in stdlibs generated via scaladoc
Wiki syntax was set for scala 2.13 stdlib and markdown was set for scala 3 stdlib.
1 parent 9adae98 commit f481fbe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

project/Build.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,10 @@ object ScaladocConfigs {
18341834
.add(Revision("main"))
18351835
.add(ExternalMappings(List(javaExternalMapping)))
18361836
.add(DocRootContent(docRootFile.toString))
1837-
.add(CommentSyntax(List("wiki")))
1837+
.add(CommentSyntax(List(
1838+
s"${dottyLibRoot}=markdown",
1839+
s"${stdLibRoot}=wiki"
1840+
)))
18381841
.add(VersionsDictionaryUrl("https://scala-lang.org/api/versions.json"))
18391842
.add(DocumentSyntheticTypes(true))
18401843
.add(SnippetCompiler(List(

0 commit comments

Comments
 (0)