@@ -1458,7 +1458,7 @@ object Build {
14581458 val projectVersion = version.value
14591459 val sourcesAndRevision = s " -s github://lampepfl/dotty --revision master --projectVersion $projectVersion"
14601460 run.in(Compile ).toTask(
1461- s """ -d output/ $outDir -t $targets -n " $name" $sourcesAndRevision $params"""
1461+ s """ -d scala3doc/ output/ $outDir -t $targets -n " $name" $sourcesAndRevision $params"""
14621462 )
14631463 }
14641464
@@ -1492,11 +1492,12 @@ object Build {
14921492 Compile / mainClass := Some (" dotty.dokka.Main" ),
14931493 // There is a bug in dokka that prevents parallel tests withing the same jvm
14941494 fork.in(test) := true ,
1495+ baseDirectory.in(run) := baseDirectory.in(ThisBuild ).value,
14951496 generateSelfDocumentation := Def .taskDyn {
14961497 generateDocumentation(
14971498 classDirectory.in(Compile ).value.getAbsolutePath,
14981499 " scala3doc" , " self" ,
1499- " -p documentation --projectLogo documentation/logo.svg" ,
1500+ " -p scala3doc/ documentation --projectLogo scala3doc/ documentation/logo.svg" ,
15001501 )
15011502 }.value,
15021503 generateScala3Documentation := Def .taskDyn {
@@ -1511,7 +1512,7 @@ object Build {
15111512 val roots = joinProducts(dottyJars)
15121513
15131514 if (dottyJars.isEmpty) Def .task { streams.value.log.error(" Dotty lib wasn't found" ) }
1514- else generateDocumentation(roots, " Scala 3" , " scala3" , " -p scala3-docs --projectLogo scala3-docs/logo.svg" )
1515+ else generateDocumentation(roots, " Scala 3" , " scala3" , " -p scala3doc/ scala3-docs --projectLogo scala3doc/ scala3-docs/logo.svg" )
15151516 }.value,
15161517 generateTestcasesDocumentation := Def .taskDyn {
15171518 generateDocumentation(Build .testcasesOutputDir.in(Test ).value, " Scala3doc testcases" , " testcases" )
0 commit comments