Skip to content

Commit 196f207

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 659ae24 commit 196f207

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

project/Build.scala

+4-1
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)