init_site | R Documentation |
Create a repository for a static website for data documentation and exploration.
init_site(dir, title = "app", template = "mtcars", with_data = FALSE,
node_project = FALSE, include_api = FALSE, overwrite = FALSE,
quiet = !interactive())
dir |
Directory in which to create the site's structure. Will be created if it does not exist. |
title |
Title of the site. |
template |
Name of a template to use, which are pre-constructed |
with_data |
Logical; if |
node_project |
Logical; if |
include_api |
Logical; if |
overwrite |
Logical; if |
quiet |
Logical; if |
Path to the created site directory.
## Not run:
# initialize site in the current working directory
init_site(".")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.