GECO_template provides a custom pkgdown template for GECO packages. Please don’t use it for your own package. This theme was inspired by inspired by tidytemplate, rotemplate and bgtemplate

How to use GECO_template

Install the template as an R package

devtools::install_github("computationales/GECO_template")

Set the package template as the override template to use when rendering a package documentation using pkgdown

template <- list(package = "gecotemplate")
pkgdown::build_site(devel = FALSE, override = list(template = template))

Everything else can be configured as usual via the _pkgdown.yml file as described in the pkgdown documentation.

Alternatively, set the template in _pkgdown.yml.

template:
  package: gecotemplate

Mathjax

if you want to use Mathjax you’ll need to specify it in the pkgdown config file like so:

template:
  params:
    mathjax: true