build_site_github_pages {pkgdown} | R Documentation |
Build site for GitHub pages
Description
Designed to be run as part of automated workflows for deploying
to GitHub pages. It cleans out the old site, builds the site into dest_dir
adds a .nojekyll
file to suppress rendering by Jekyll, and adds a CNAME
file if needed.
It is designed to be run in CI, so by default it:
Cleans out the old site.
Does not install the package.
Runs
build_site()
in process.
Usage
build_site_github_pages(
pkg = ".",
...,
dest_dir = "docs",
clean = TRUE,
install = FALSE,
new_process = FALSE
)
Arguments
pkg |
Path to package. |
... |
Additional arguments passed to |
dest_dir |
Directory to build site in. |
clean |
Clean all files from old site. |
install |
If |
new_process |
If |
[Package pkgdown version 2.1.0 Index]