This repository contains the sources required to build the static site at http://www.renjin.org. The site is generated using JBake and the templates use the FreeMarker templating engine.
The site has been tested with JBake version 2.6.4.
We use the default project structure recommended by JBake:
src/jbake/content/
holds the content to be baked into HTML output.src/jbake/assets/
contains everything which needs to be copied as-is.src/jbake/templates/
holds the FreeMarker templates.
Use ./gradlew bake
to build the site. The output will be copied into the build/jbake/
folder.
Use ./gradlew preview
to start a local server at http://localhost:8820
to test the website.
The website will be deployed automatically when you push your changes to the master branch.
You can also manually deploy using ./gradlew deploy
.
To include source code, use a block like
```r
f <- function(x) x^2
```
where the language indicator should not be wrapped in brackets like {r}
or {java}
.
To include tables, use the MultiMarkdown format like so
| col1 | col2 |
| ---- | ---- |
| 1 | a |
| 2 | b |