diff --git a/NEWS.md b/NEWS.md index 130e63395..87e7d10e7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -11,6 +11,7 @@ * Add Catalan translation (@jmaspons, #2333) * Set RNG seed for htmlwidgets IDs. This reduces noise in pkgdown reference HTML output when examples generate htmlwidgets (@salim-b, #2294). * Fix BS5 navbar template to get `navbar.type: dark` to work with bslib 0.6+ / Bootstrap 5.3+ (@tanho63, #2388) +* Allow detection of quarto `.qmd` articles and let them be processed using the [`quarto`](https://cran.r-project.org/web/packages/quarto/index.html) vignette builder (@rcannood, #2404). * Fix setting `seed` in `build_reference()`. The seed was reset too early, before. (@salim-b, #2355) * Translates citation sections (@eliocamp, #2410). * Topic names that conflict with selector functions can now be listed as references in `_pkgdown.yml` (@dmurdoch, #2397). diff --git a/R/build-tutorials.R b/R/build-tutorials.R index d9b6679bd..2dd240d76 100644 --- a/R/build-tutorials.R +++ b/R/build-tutorials.R @@ -93,7 +93,7 @@ find_tutorials <- function(path = ".") { check_installed("rsconnect", "to find published tutorials") - rmds <- unname(dir_ls(path, recurse = TRUE, regexp = "\\.[Rr]md$", type = "file")) + rmds <- unname(dir_ls(path, recurse = TRUE, regexp = "\\.[Rrq]md$", type = "file")) info <- purrr::map(rmds, tutorial_info, base_path = path) purrr::compact(info) } diff --git a/R/package.R b/R/package.R index dfaa04659..f94e3f778 100644 --- a/R/package.R +++ b/R/package.R @@ -235,7 +235,7 @@ package_vignettes <- function(path = ".") { if (!dir_exists(base)) { vig_path <- character() } else { - vig_path <- dir_ls(base, regexp = "\\.[rR]md$", type = "file", recurse = TRUE) + vig_path <- dir_ls(base, regexp = "\\.[Rrq]md$", type = "file", recurse = TRUE) } vig_path <- path_rel(vig_path, base)