hubStyle provides a custom pkgdown template for hubverse packages. We use this to render our R package sites at https://github.com/hubverse-org. Please don’t use it for your own package if it’s not a hubvserse package.
Inspired by rotemplate.
You can install the development version of hubStyle from GitHub with:
# install.packages("remotes")
remotes::install_github("hubverse-org/hubStyle")
To include the hubStyle template in your pkgdown site, add the following
to your _pkgdown.yml
file:
template:
package: hubStyle
You will also need to add the following to your DESCRIPTION
file:
Config/Needs/website: hubverse-org/hubStyle
You can use the following R code to add the above to your DESCRIPTION
file:
hubDevs::add_website_needs()
Please note that the hubStyle package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Interested in contributing back to the open-source Hubverse project? Learn more about how to get involved in the Hubverse Community or how to contribute to the hubStyle package.