@@ -1227,12 +1227,12 @@ object Build {
12271227 val testDocumentationRoot = taskKey[String ](" Root directory where tests documentation are stored" )
12281228 val generateSelfDocumentation = taskKey[Unit ](" Generate example documentation" )
12291229 // Note: the two tasks below should be one, but a bug in Tasty prevents that
1230- val generatescaladocumentation = inputKey[Unit ](" Generate documentation for dotty lib" )
1230+ val generateScalaDocumentation = inputKey[Unit ](" Generate documentation for dotty lib" )
12311231 val generateTestcasesDocumentation = taskKey[Unit ](" Generate documentation for testcases, usefull for debugging tests" )
1232- lazy val `scaladoc` = project.in(file(" scaladoc" )).asscaladoc
1233- lazy val `scaladoc-testcases` = project.in(file(" scaladoc-testcases" )).asscaladocTestcases
1232+ lazy val `scaladoc` = project.in(file(" scaladoc" )).asScaladoc
1233+ lazy val `scaladoc-testcases` = project.in(file(" scaladoc-testcases" )).asScaladocTestcases
12341234
1235- lazy val `scaladoc-js` = project.in(file(" scaladoc-js" )).asscaladocJs
1235+ lazy val `scaladoc-js` = project.in(file(" scaladoc-js" )).asScaladocJs
12361236
12371237 // sbt plugin to use Dotty in your own build, see
12381238 // https://github.com/lampepfl/scala3-example-project for usage.
@@ -1531,7 +1531,7 @@ object Build {
15311531 settings(commonBenchmarkSettings).
15321532 enablePlugins(JmhPlugin )
15331533
1534- def asscaladoc : Project = {
1534+ def asScaladoc : Project = {
15351535 def generateDocumentation (targets : String , name : String , outDir : String , ref : String , params : String = " " ) = Def .taskDyn {
15361536 val projectVersion = version.value
15371537 IO .createDirectory(file(outDir))
@@ -1570,7 +1570,7 @@ object Build {
15701570 Test / test := (Test / test).dependsOn(compile.in(Compile ).in(`scaladoc-testcases`)).value,
15711571 testcasesOutputDir.in(Test ) := joinProducts((`scaladoc-testcases`/ Compile / products).value),
15721572 testcasesSourceRoot.in(Test ) := (baseDirectory.in(`scaladoc-testcases`).value / " src" ).getAbsolutePath.toString,
1573- Compile / mainClass := Some (" dotty.dokka .Main" ),
1573+ Compile / mainClass := Some (" dotty.tools.scaladoc .Main" ),
15741574 baseDirectory.in(run) := baseDirectory.in(ThisBuild ).value,
15751575 generateSelfDocumentation := Def .taskDyn {
15761576 generateDocumentation(
@@ -1583,7 +1583,7 @@ object Build {
15831583 )
15841584 }.value,
15851585
1586- generatescaladocumentation := Def .inputTaskDyn {
1586+ generateScalaDocumentation := Def .inputTaskDyn {
15871587 val dottydocExtraArgs = spaceDelimited(" [output]" ).parsed
15881588 val dest = file(dottydocExtraArgs.headOption.getOrElse(" scaladoc/output/scala3" )).getAbsoluteFile
15891589 val majorVersion = (scalaBinaryVersion in LocalProject (" scala3-library-bootstrapped" )).value
@@ -1636,7 +1636,7 @@ object Build {
16361636 Build .testDocumentationRoot,
16371637 ),
16381638 Compile / buildInfoKeys := Seq [BuildInfoKey ](version),
1639- Compile / buildInfoPackage := " dotty.dokka " ,
1639+ Compile / buildInfoPackage := " dotty.tools.scaladoc " ,
16401640 Compile / resourceGenerators += Def .task {
16411641 val jsDestinationFile = (Compile / resourceManaged).value / " dotty_res" / " scripts" / " searchbar.js"
16421642 sbt.IO .copyFile((fullOptJS in Compile in `scaladoc-js`).value.data, jsDestinationFile)
@@ -1651,17 +1651,17 @@ object Build {
16511651 }.apply(Set (cssSourceFile)).toSeq
16521652 }.taskValue,
16531653 testDocumentationRoot := (baseDirectory.value / " test-documentations" ).getAbsolutePath,
1654- buildInfoPackage in Test := " dotty.dokka .test" ,
1654+ buildInfoPackage in Test := " dotty.tools.scaladoc .test" ,
16551655 BuildInfoPlugin .buildInfoScopedSettings(Test ),
16561656 BuildInfoPlugin .buildInfoScopedSettings(Compile ),
16571657 BuildInfoPlugin .buildInfoDefaultSettings,
16581658 )
16591659 }
16601660
1661- def asscaladocTestcases : Project =
1661+ def asScaladocTestcases : Project =
16621662 project.dependsOn(`scala3-compiler-bootstrapped`).settings(commonBootstrappedSettings)
16631663
1664- def asscaladocJs : Project =
1664+ def asScaladocJs : Project =
16651665 project.
16661666 enablePlugins(MyScalaJSPlugin ).
16671667 dependsOn(`scala3-library-bootstrappedJS`).
0 commit comments