pkgdown
Build static documentation websites for R packages from roxygen comments
pkgdown now generates llms.txt and a markdown copy of every documentation page
◆Recent moves
- 1mo ago
Local preview served over http so search works
Site preview moves from opening files directly to serving them from a local http server, which is what search and other dynamic features need in order to run. Small, but it closes the gap between what you see previewing and what visitors get.
View source ↗ - 9mo ago
build_llm_docs() emits llms.txt and markdown for every page
⚡ SPARKpkgdown starts building for machine readers as well as human ones, and does it by default - llm-docs: false is the opt-out. Set against the rest of this release, which is translations, dark-mode plot handling and a quiet argument, it is plainly the change that shifts what a pkgdown site is.
View source ↗ - 1y ago
Menu items accept class and id attributes
A single-line release letting navbar menu items carry class and id attributes for styling and targeting. Nothing else shipped.
View source ↗ - 1y ago
ROR IDs, Codeberg support, bslib navbar variables
Breadth rather than depth: research organization IDs render as icons like ORCIDs, Codeberg joins GitHub and GitLab as a recognized forge, site language is inferred from DESCRIPTION, and navbar colors now come from bslib Sass variables instead of pkgdown-specific ones. Typical of the 2.1 line's incremental polish.
View source ↗ - 1y ago
Keyboard shortcut for search; clean_cache() added
Small usability additions - a slash shortcut to focus the search bar, an email-valued BugReports field, and clean_cache() for clearing the build cache. The R 4.0 minimum is the only change with consequences for maintainers.
View source ↗ - 2y ago
Quarto vignettes, light/dark switch, self-hosted assets
The largest release in this window and the foundation of the 2.1 line: Quarto vignettes build alongside RMarkdown ones, an opt-in light and dark switch arrives from bslib, math rendering becomes configurable, and all JS, CSS and fonts are bundled into the site rather than fetched from a CDN. Broad rather than directional - each piece is catching up to something the surrounding ecosystem already assumed.
View source ↗