build_rdev_site | R Documentation |
build_rdev_site()
is a wrapper for pkgdown::build_site_github_pages()
optimized for rdev
workflow that updates README.md
and performs a clean GitHub pages build using pkgdown
.
build_rdev_site(pkg = ".", ...)
pkg |
Path to package. Currently, only |
... |
additional arguments passed to |
When run, build_rdev_site()
calls:
devtools::build_readme()
pkgdown::build_site_github_pages()
with install = TRUE
and new_process = TRUE
Both build_rdev_site()
and build_analysis_site()
are meant to be used as part of a CI/CD
workflow, and temporarily set the environment variable CI == "TRUE"
so that the build will
fail when non-internal topics are not included on the reference index page per
pkgdown::build_reference()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.