This is a template package used in pkgdown websites for all Palaeoverse packages.
Install this template locally:
remotes::install_github("palaeoverse/palaeoverse.template")Then, in the Palaeoverse package for which you want to render the website, all calls to pkgdown (e.g. pkgdown::build_site()) will automatically use this template.
The brand needs to be updated when _brand.yml in palaeoverse/resources changes.
However, pkgdown doesn't work nicely with the brand file when _pkgdown.yml has
development: mode: auto, so we copy the content of the brand file directly into
_pkgdown_yml.
In bash:
> cd inst/pkgdown/BS5/assets/
> quarto use brand palaeoverse/resources
Then in R:
source("tools/update-brand.R")