build_site_github_pages | R Documentation |
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.
build_site_github_pages(
pkg = ".",
...,
dest_dir = "docs",
clean = TRUE,
install = FALSE,
new_process = FALSE
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.