Skip to content

Commit

Permalink
Fix website preview
Browse files Browse the repository at this point in the history
following upstream changes in r-lib/pkgdown#2650
  • Loading branch information
Bisaloo committed Dec 2, 2024
1 parent 69aaefe commit 22291fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/build_site.R
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ build_site <- function(path = ".", quiet = !interactive(), preview = TRUE, overr
# At the end, a sitemap is created with our aggregated pages.
build_sitemap(pkg$dst_path, paths = html_pages$paths, quiet = quiet)

pkgdown::preview_site(pkg, "/", preview = preview)
pkgdown::preview_site(pkg, preview = preview)

if (!quiet) {
dst <- fs::path_rel(path = pkg$dst_path, start = path)
Expand Down

0 comments on commit 22291fd

Please sign in to comment.