Skip to content

Commit

Permalink
Add back JS & update Scala
Browse files Browse the repository at this point in the history
- Add the examples JS to the theme
- Update to latest Scala versions
  • Loading branch information
Noel Welsh authored and Noel Welsh committed Sep 12, 2024
1 parent 3028c62 commit 0d17665
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import scala.sys.process._
import laika.config.LinkConfig
import laika.config.ApiLinks
import laika.ast.Path

val scala213 = "2.13.11"
val scala3 = "3.3.1"
val scala213 = "2.13.14"
val scala3 = "3.3.3"

ThisBuild / organization := "org.creativescala"
ThisBuild / organizationName := "Creative Scala"
Expand Down Expand Up @@ -62,7 +63,7 @@ lazy val book = project
laikaSite / target := target.value / "creative-scala",
laikaIncludeEPUB := false,
laikaIncludePDF := false,
laikaTheme := CreativeScalaTheme.empty.build,
laikaTheme := CreativeScalaTheme.empty.addJs(Path.Root / "main.js").build,
css := {
val src = sourceDirectory.value / "css"
val dest1 = mdocOut.value
Expand Down

0 comments on commit 0d17665

Please sign in to comment.