/scala-best-practices

Collection of best practices for the Scala programming language

Primary LanguageCSSCreative Commons Attribution 4.0 InternationalCC-BY-4.0

Building the site

Required tools

The following tools are needed to build the site:

  • sbt, to compile and assemble all examples
  • jekyll, to turn the output into a static site

Steps

You first need to run all pages through the amazing mdoc to make sure all examples are valid:

sbt makeSite

This will generate jekyll sources in ./target/site. For local development / browsing, the simplest thing to do is to run the following from ./target/site:

jekyll serve --watch -c _config.yml --baseurl ""

This will make the entire site available on http://localhost:4000.