Skip to content

bedatadriven/renjin-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sources for Renjin.org

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.

Project structure

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.

Building

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.

Notes on markdown

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 |

About

Static website for Renjin.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •