pkgdown Workflow
This GitHub Actions workflow automates the generation and deployment
of documentation for an R package using pkgdown
. The
workflow supports multiple versions and offers flexibility in
customization. This workflow uses rmarkdown to be able to generate html
documentation from Rmd
files (vignettes folder). This
documentation is then stored in gh-pages
branch (an orphan
branch) and published. Note : this workflow is using InsightEngineering
pkgdown multiversion action action.
Inputs
Optional Inputs
-
skip-multiversion-docs
: Skip the creation of multi-version docs. Default: false. If set to True, a subfolder will be created undergh-pages
(with the current github reference (branch/tag) name) -
multiversion-docs-landing-page
: Ref to use for the multiversion docs landing page. Default: main. -
latest-tag-alt-name
: An alternate name to use for ‘latest-tag’ for multiversion pkgdown docs. Default: ““. -
branches-or-tags-to-list
: Regular expression defining branches or tags listed under the ‘Versions’ dropdown menu. Default:^main$|^devel$|^pre-release$|^latest-tag$|^cran-release$|^develop$|^v([0-9]+\\.)?([0-9]+\\.)?([0-9]+)$
.