tests/testthat/_snaps/templates.md

Invalid bootstrap version spec in template package

Code
  local_pkgdown_site(meta = list(template = list(package = "templatepackage")))
Condition
  Error in `as_pkgdown()`:
  ! Must set one only of template.bootstrap and template.bslib.version.
  i Specified locally and in template package templatepackage.
  i Edit _pkgdown.yml to fix the problem.

Invalid bootstrap version spec in _pkgdown.yml

Code
  local_pkgdown_site(meta = list(template = list(bootstrap = 4, bslib = list(
    version = 5))))
Condition
  Error in `as_pkgdown()`:
  ! Must set one only of template.bootstrap and template.bslib.version.
  i Edit _pkgdown.yml to fix the problem.

Warns when Bootstrap theme is specified in multiple locations

Multiple Bootstrap preset themes were set. Using "flatly" from template.bslib.preset.
x Found template.bslib.preset, template.bslib.bootswatch, template.bootswatch, and template.params.bootswatch.
i Remove extraneous theme declarations to avoid this warning.


hadley/staticdocs documentation built on May 4, 2024, 3:08 a.m.