Skip to content

Commit

Permalink
Use preview_site() for preview links
Browse files Browse the repository at this point in the history
since `preview_path()` was deprecated
  • Loading branch information
jayhesselberth committed Jun 23, 2024
1 parent 4b6ae88 commit 34ee692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ src_path <- cli::combine_ansi_styles(
writing_file <- function(path, show) {
path <- as.character(path)
text <- dst_path(as.character(show))
cli::cli_inform("Writing {.run [{text}](pkgdown::preview_page('{path}'))}")
cli::cli_inform("Writing {.run [{text}](pkgdown::preview_site(path='{path}'))}")
}

has_internet <- function() {
Expand Down

0 comments on commit 34ee692

Please sign in to comment.