Skip to contents

Add pkgdown with rdev customizations. Implemented as a wrapper for usethis::use_pkgdown().

Usage

use_rdev_pkgdown(config_file = "_pkgdown.yml", destdir = "docs")

Arguments

config_file

Path to the pkgdown yaml config file, relative to the project.

destdir

Target directory for pkgdown docs.

Details

In addition to running usethis::use_pkgdown(), use_rdev_pkgdown adds extra.css to pkgdown to fix rendering of GitHub-style task lists, and adds the GitHub Pages URL.