sb_add_page: Add a page module

Description Usage Arguments

View source: R/add.R

Description

Add a page module

Add a component module

Usage

1
2
3
4
5
6
sb_add_page(module, text = module,
  dir_pages = getOption("SB_DIR_PAGES", "pages"), add_to_yaml = FALSE,
  ...)

sb_add_component(module, dir_pages = getOption("SB_DIR_COMPONENTS",
  "components"), ...)

Arguments

module

name of the module

text

text to add to _site.yml

dir_pages

directory to save the module to

add_to_yaml

logical indicating if module should be added to _site.yml

...

additional parameters to add to _site.yml


ramnathv/satin documentation built on March 7, 2020, 2:03 a.m.