Builds a root-level pkgdown site that serves as the landing page
for all packages. Creates a pseudo-package structure in dest_dir and
generates the site using the central YAML configuration.
Usage
pkd_build_root(dest_dir, monorepo_dir = ".")
Arguments
- dest_dir
Directory where the root site should be written.
- monorepo_dir
Monorepo root containing pkgdown/pkgdown.yaml.
Defaults to ".".
Value
Returns the destination directory path invisibly.
Examples
if (FALSE) { # \dontrun{
# Build root site
pkd_build_root(dest_dir = "../g6tr-docs")
} # }