Skip to content

Commit

Permalink
Polish news
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Apr 18, 2024
1 parent ef94cee commit f2e50d5
Showing 1 changed file with 47 additions and 13 deletions.
60 changes: 47 additions & 13 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,54 @@
# pkgdown (development version)

* Clipboard buttons report their action again ("Copied!") (#2462)
* `build_readme()` now correctly tweaks links to markdown files that use an anchor, e.g. `foo.md#heading-name` (#2313).
* Fixes for regressions in 2.0.8:

* Output links generated when building the site work once again (#2435).

* pkgdown once again uses Bootstrap version specified in a template
package (@gadenbuie, #2443).

* Front-end improvements:

* The skip link now becomes visible when focussed (#2138). Thanks to @glin
for the styles!

* The left and right footers no longer contain an extra empty paragraph tag
and the footer gains additional padding-top to keep the whitespace constant
(#2381).

* Clipboard buttons report their action again ("Copied!") (#2462)

* It is now easier to preview parts of the website locally interactively.
`build_reference_index()` and friends will call `init_site()` automatically
instead of erroring (@olivroy, #2329).

* `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).

* `build_article_index()` and `build_reference_index()` use an improved BS5
template that correctly wraps each section description in a `<div>`, rather
than a `<p>`. This eliminates an empty pargraph tag that preceded each section
description (#2352).

* `build_home()` no longer errors when you have an empty `.md` file (#2309).
It alos no longer renders Github issue and pull request templates
(@hsloot, #2362)

* `build_news()` now warns if it doesn't find any version headings, suggesting
that that `NEWS.md` is structured incorrectly (#2213).

* `build_readme()` now correctly tweaks links to markdown files that use an
anchor, e.g. `foo.md#heading-name` (#2313).

* `build_reference_index()` gives more informative errors if your `contents`
field is malformed (#2323).

* `check_pkgdown()` no longer errors if your intro vignette is an article is
not listed in `_pkgdown.yml` (@olivroy #2150).

* `data_template()` gives a more informative error if you've misspecified the navbar (#2312).
* The skip link now becomes visible when focussed (#2138). Thanks to @glin for the styles!
* `build_reference_index()` gives more informative errors if your `contents` field is malformed (#2323).
* The left and right footers no longer contain an extra empty paragraph tag and the footer gains additional padding-top to keep the whitespace constant (#2381).
* `build_article_index()` and `build_reference_index()` use an improved BS5 template that correctly wraps each section description in a `<div>`, rather than a `<p>`. 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).
* Preview links now work once again (#2435).
* `build_home()` no longer renders Github issue and pull request templates (@hsloot, #2362)
* It is now easier to preview parts of the website locally interactively. `build_reference_index()` and friends will call `init_site()` internally instead of erroring (@olivroy, #2329).
* Fixed an issue introduced in 2.0.8 where pkgdown was not using the Bootstrap version specified in a template package (@gadenbuie, #2443).
* `check_pkgdown()` no longer errors if your intro vignette is an article is not listed in `_pkgdown.yml` (@olivroy #2150).

# pkgdown 2.0.8

Expand Down

0 comments on commit f2e50d5

Please sign in to comment.