From 99fc94ffceecef583ca82d8df670d1b7d6770882 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Tue, 16 Apr 2024 16:23:54 -0500 Subject: [PATCH] Polish addin Fixes #2252 --- NEWS.md | 1 + inst/rstudio/addins.dcf | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index a1933fbed..d034de864 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,6 @@ # pkgdown (development version) +* The addin now runs `build_site()` instead of `build_site_external()`, which generally should be more reliable (#2252). * `build_article_index()` and `build_reference_index()` use an improved BS5 template that correctly wraps each section description in a `
`, rather than a `

`. This eliminates an empty pargraph tag that preceded each section description (#2352). * `build_news()` now warns if it doesn't find any version headings, suggesting that that `NEWS.md` is structured incorrectly (#2213). * `build_article()` gains a new `new_process` argument which allows to build a vignette in the current process for debugging purposes. We've also improved the error messages and tracebacks if an article fails to build, hopefully also making debugging easier (#2438). diff --git a/inst/rstudio/addins.dcf b/inst/rstudio/addins.dcf index a801709b8..92ff5516d 100644 --- a/inst/rstudio/addins.dcf +++ b/inst/rstudio/addins.dcf @@ -1,4 +1,4 @@ -Name: Build pkgdown -Description: Runs pkgdown on the current package -Binding: build_site_external +Name: Build full site +Description: Build website for current package +Binding: build_site Interactive: true