
Build and preview an article for a pkgdown website
Source:R/build-and-preview-article.R
build_and_preview_article.RdWhen writing an article or vignette for your pkgdown site, you may want to
quickly build and preview it. This function does both of those things! It
uses pkgdown::build_article() and pkgdown::preview_site(). By default it
works with the active file in your IDE (using the rstudioapi package), so you
don't need to pass any arguments.
Arguments
- name
Name of article. This should be either a path relative to
vignettes/without extension, orindexorREADMEorNULL. IfNULL(the default), then the currently active article source file will be used.- ...
Additional parameters passed to
pkgdown::build_article().