@@ -61,16 +61,16 @@ object `package` extends RootModule {
6161 envArgs = Map("CI" -> "true"),
6262 workingDir = workDir
6363 )
64- PathRef(workDir / "build" / " site")
64+ PathRef(workDir / "build/ site")
6565 }
6666
6767 def source0 = Task.Source(millSourcePath)
6868 def projectChangelog = Task.Source(Task.workspace / "changelog.adoc")
6969 def source = Task {
7070 os.copy(source0().path, Task.dest, mergeFolders = true)
7171
72- val pagesWd = Task.dest / "modules" / " ROOT" / " pages"
73- val partialsWd = Task.dest / "modules" / " ROOT" / " partials"
72+ val pagesWd = Task.dest / "modules/ ROOT/ pages"
73+ val partialsWd = Task.dest / "modules/ ROOT/ partials"
7474
7575 os.copy(projectChangelog().path, partialsWd / "project-changelog.adoc", createFolders = true)
7676
@@ -284,7 +284,7 @@ object `package` extends RootModule {
284284 val checkout = Task.dest / displayVersion
285285 os.proc("git", "clone", Task.workspace / ".git", checkout).call(stdout = os.Inherit)
286286 os.proc("git", "checkout", millLastTag).call(cwd = checkout, stdout = os.Inherit)
287- val outputFolder = checkout / "out" / " docs" / " source.dest"
287+ val outputFolder = checkout / "out/ docs/ source.dest"
288288 os.proc("./mill", "-i", "docs.source").call(cwd = checkout, stdout = os.Inherit)
289289 expandDiagramsInDirectoryAdocFile(
290290 outputFolder,
@@ -360,7 +360,7 @@ object `package` extends RootModule {
360360 // only copy the "api" sub-dir; api docs contains a top-level index.html with we don't want
361361 val unidocSrc = if (authorMode) site.unidocLocal().path else site.unidocSite().path
362362 Task.log.errorStream.println(s"Copying API docs from ${unidocSrc} ...")
363- os.copy(unidocSrc, siteDir / "api" / " latest", createFolders = true)
363+ os.copy(unidocSrc, siteDir / "api/ latest", createFolders = true)
364364
365365 PathRef(siteDir)
366366 }
0 commit comments