Skip to content

pkgdown 2.2.0

Latest

Choose a tag to compare

@hadley hadley released this 06 Nov 13:43

Lifecycle changes

  • autolink_html() deprecated in 1.6.0 and preview_page() have been removed.

New features

  • New build_llm_docs() generates a llms.txt at the root directory of your site, and provides a .md version of every page. You can disable by adding llm-docs: false to your _pkgdown.yaml (#2914, @maelle)
  • build_articles() now executes quarto vignettes in the same working directory as RMarkdown vignettes, namely the directory in which they live (#2877).

Minor improvements and bug fixes

  • build_site() gained a quiet argument, which is propagated to other functions (e.g., build_articles()) and is useful for debugging build errors on GH actions.
  • New translations were add for Dutch (nl) and Japanese (ja), thanks to @pepijn-devires and @shikokuchuo respectively.
  • Links generated with \code{\link{foo}()} now have the () moved into the <a> in the generated output (@maelle).
  • Plots in dark mode are now transformed with a CSS filter to improve their visibility (thanks to @gadenbuie).
  • Updated the translations vignette with instructions for building non-English sites through Github Actions.
  • Added documentation explaining how to solve incorrect rendering of plotmath expressions under ragg devices on Linux. (@remlapmot, #2908)
  • Improved the LaTeX syntax in one of the math rendering test cases (@remlapmot)