use_rdev_pkgdown: Use rdev pkgdown

View source: R/setup.R

use_rdev_pkgdownR Documentation

Use rdev pkgdown

Description

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, adds the GitHub Pages URL, and enables template.light-switch.


jabenninghoff/rdev documentation built on Sept. 26, 2024, 10:37 p.m.