build_module
Build A Package Documentation Module
Description
Compared to ?build(), this function will create only markdown pages
and no other site configuration, making it easier to integrate in existing hugo sites
Usage
build_module(
path = find_source_package_root(getwd()),
out_dir = file.path(getwd(), "docs"),
extra_path = getwd(),
force = FALSE,
skip_init = FALSE,
skip_metadata = FALSE,
...
)
Arguments
path:character(1); path to source packageout_dir:character(1); output directory to write generated site content toextra_path: character(1); extra directory to scan for markdown files. The default is the current working directory. This is mostly useful for findingREADME.mdwhen your package root is not equal to your project root.force: ifTRUE, replace existing docs outputskip_init:logical(1); do not run initskip_metadata:logical(1); do not generate a metadata-file. See build_metadata.