Skip to content

Commit 6d995c8

Browse files
authored
Merge pull request #627 from Bisaloo/fix-pkgdown-preview
Fix website preview
2 parents 69aaefe + c8e0adb commit 6d995c8

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: sandpaper
22
Title: Create and Curate Carpentries Lessons
3-
Version: 0.16.10
3+
Version: 0.16.10.9000
44
Authors@R: c(
55
person(given = "Robert",
66
family = "Davey",

NEWS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# sandpaper (development version)
2+
3+
## BUG FIXES
4+
5+
* The website preview feature which automatically opens a web browser after
6+
running `build_lesson()` has been fixed to work with the latest version of
7+
pkgdown (@Bisaloo, #627)
8+
19
# sandpaper 0.16.10 (2024-11-11)
210

311
## NEW FEATURES

R/build_site.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ build_site <- function(path = ".", quiet = !interactive(), preview = TRUE, overr
164164
# At the end, a sitemap is created with our aggregated pages.
165165
build_sitemap(pkg$dst_path, paths = html_pages$paths, quiet = quiet)
166166

167-
pkgdown::preview_site(pkg, "/", preview = preview)
167+
pkgdown::preview_site(pkg, preview = preview)
168168

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

0 commit comments

Comments
 (0)