Skip to content

Commit 9187c2c

Browse files
committed
Fixed scaladoc source path problem.
1 parent 6c623e4 commit 9187c2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,6 @@ credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
103103
// Temporary disable publishing of doc in dotty, can't get it to build.
104104
publishArtifact in (Compile, packageDoc) := !scalaBinaryVersion.value.startsWith("3.")
105105

106-
scalacOptions in (Compile, doc) := Seq("-doc-title", s"ScalaTest + EasyMock ${version.value}")
106+
scalacOptions in (Compile, doc) := Seq("-doc-title", s"ScalaTest + EasyMock ${version.value}",
107+
"-sourcepath", baseDirectory.value.getAbsolutePath(),
108+
"-doc-source-url", s"https://github.com/scalatest/releases-source/blob/main/${version.value}/scalatestplus-easymock€{FILE_PATH}.scala")

0 commit comments

Comments
 (0)