Skip to contents

Records Git tree ids of relevant source directories and environment metadata (R version, OS, pkgdown version, etc.) for either the root site or an individual package. Metadata fields are written at the top level (no nested meta: block).

Usage

pkd_write_buildinfo(package, dest_dir, monorepo_dir = ".")

Arguments

package

"root" or a package name (e.g., "g6tr.cjt").

dest_dir

Directory where the built site should be written.

monorepo_dir

Path to the monorepo root (contains packages/ and pkgdown/). Defaults to ".".

Value

Invisibly returns the path to the written buildinfo.yaml.