First release of updoc, a live preview server for pkgdown sites.
serve() builds your pkgdown site, watches for saved changes, and refreshes
your browser automatically. Press Ctrl+C to stop. Pass port = 0 to pick
any free local port automatically.preview() runs the same live preview in the background so you can keep
working in the R console, returning a handle with $status(), $wait(),
$rebuild(), $open(), and $stop().check() runs a one-shot non-destructive site check in a temporary copy,
with optional format = "json" output for CI and AI agents.build() updates your package's generated docs, renders README.Rmd when
present, and writes the finished site to your pkgdown output folder for
publishing. Errors include the Build log: path directly in the message.man/ files,
README.md, and docs/ folder untouched. If a build fails, the last working
preview stays up until you fix the problem and save again./__updoc__/status with optional ?wait=1,
/__updoc__/log, and POST /__updoc__/rebuild?full=true) plus a bundled
SKILL.md make updoc easy to drive from scripts and AI agents.pandoc
directory override, and save full unfiltered output to a temporary build log.