Skip to content

Commit

Permalink
Fix ci / scaladoc (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheleb authored Dec 4, 2023
1 parent bbedc6f commit f5fd425
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions website.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,22 @@ addMappingsToSiteDir(
git.remoteRepo := "[email protected]:cheleb/zio-pravega.git"
ghpagesNoJekyll := true

Compile / doc / scalacOptions ++= Seq(
"-siteroot",
"zio-pravega-docs/target/mdoc",
"-groups",
"-project-version",
version.value,
"-revision",
version.value,
"-project-footer",
s"Copyright (c) 2022-$currentYear, Olivier NOUGUIER",
"-social-links:github::https://github.com/cheleb,twitter::https://twitter.com/oNouguier",
"-Ygenerate-inkuire",
"-skip-by-regex:zio\\.pravega\\.docs\\..*",
"-skip-by-regex:html\\..*"
)
Compile / doc / scalacOptions ++= (scalaVersion.value match {
case "3.3.1" =>
Seq(
"-siteroot",
"zio-pravega-docs/target/mdoc",
"-groups",
"-project-version",
version.value,
"-revision",
version.value,
"-project-footer",
s"Copyright (c) 2022-$currentYear, Olivier NOUGUIER",
"-social-links:github::https://github.com/cheleb,twitter::https://twitter.com/oNouguier",
"-Ygenerate-inkuire",
"-skip-by-regex:zio\\.pravega\\.docs\\..*",
"-skip-by-regex:html\\..*"
)
case _ => Seq.empty
})

0 comments on commit f5fd425

Please sign in to comment.