r-lib / pkgdown

Generate static html documentation for an R package
https://pkgdown.r-lib.org/
Other
721 stars 335 forks source link

"! Quarto articles require Bootstrap 5." with no quarto articles #2802

Closed Bisaloo closed 4 weeks ago

Bisaloo commented 4 weeks ago

https://github.com/r-lib/pkgdown/pull/2797 introduced an error in build_quarto_articles() when trying to build quarto articles with bootstrap < 5

But build_quarto_articles() is called unconditionally in build_articles():

https://github.com/r-lib/pkgdown/blob/8d9cba19fe597bba170f8d4c99f351491ab4f4d1/R/build-articles.R#L196-L225

This means that all packages using bootstrap < 5, even if they don't use quarto, get this error.