rsmith: Initialise rsmith.

Description Usage Arguments Examples

View source: R/rsmith.R

Description

RSmith is a static site generator for R. This function provides basic metadata about the site. You then use plugins to manipulate the source files, and finally use build or watch to save the results to disk.

Usage

1
rsmith(src = "src", dest = "build", base = ".")

Arguments

src,dest

Source and destination directories

base

Base directory - should usually be set to the parent of the src.

Examples

1
rsmith_demo("static-site") %>% build()

hadley/rsmith documentation built on May 17, 2019, 12:16 p.m.