use_rdev_pkgdown | R Documentation |
Add pkgdown with rdev customizations. Implemented as a wrapper for usethis::use_pkgdown()
.
use_rdev_pkgdown(config_file = "_pkgdown.yml", destdir = "docs")
config_file |
Path to the pkgdown yaml config file, relative to the project. |
destdir |
Target directory for pkgdown docs. |
In addition to running usethis::use_pkgdown()
, use_rdev_pkgdown
adds extra.css
to
pkgdown
to fix rendering of GitHub-style
task lists,
adds the GitHub Pages URL, and enables
template.light-switch
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.