Skip to content

Repository files navigation

This is a template package used in pkgdown websites for all Palaeoverse packages.

Use in other 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.

Update the brand file

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")

About

Template package for Palaeoverse pkgdown websites

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages