GitHub - clojure/clojurescript-site: website for ClojureScript
The site is built using JBake.
To install JBake 2.5.0-SNAPSHOT:
-
curl -O http://cdn.cognitect.com/clojurescript.org/jbake-2.5.0-SNAPSHOT-bin.zip(or download this file with your browser) -
unzip -o jbake-2.5.0-SNAPSHOT-bin.zip -
Add jbake-2.5.0-SNAPSHOT/bin to your system PATH
To build the site:
Retrieve the content:
-
git clone https://github.com/clojure/clojurescript-site.git(or your own fork) -
cd clojurescript-site
Retrieve and install the current theme assets (these don’t change very often so you don’t need to do this every time):
-
curl -O https://clojurescript.org/cljstheme.zip(or download this file with your browser to the clojurescript-site directory) -
unzip -o cljstheme.zip
Generate the pages:
> Note that `jbake` 2.5.0 requires Java 8. (It will not run properly under Java 9.)
-
jbake- this will create the static site in the output directory -
Run
jbake -sto serve these pages at http://localhost:8820/index