A Laika theme for Creative Scala.
To use, add
addSbtPlugin("org.creativescala" %% "creative-scala-theme" % VERSION)
to project/plugins.sbt
, replacing VERSION
with the version number above.
Then, in your build.sbt
import laika.ast.Path
import laika.helium.config.TextLink
// Configure Laika
Laika / sourceDirectories := Seq(
mdocOut.value,
"my" / "javascript", // the directory where JS is found
"my" / "css" // the directory where CSS is found
),
laikaTheme := CreativeScalaTheme.empty
.withHome(TextLink.interal(Path.Root / "README.md", "My Project Name"))
.addJs(Path.Root / "main.js") // JS files to include
.addCss(Path.Root / "main.css") // CSS files to include
.build