pdfs_to_rebuild: Figure out which files need to be rebuilt

View source: R/pdf_digests.R

pdfs_to_rebuildR Documentation

Figure out which files need to be rebuilt

Description

pdfs_to_rebuild returns a vector of files that need to be rebuilt.

Usage

pdfs_to_rebuild(
  files,
  root_dir,
  static_path = "static",
  content_path = "content"
)

Arguments

files

A character vector of paths to source files (e.g., .Rmd).

Details

This function accepts a vector of source files and returns a vector of files that need to be rebuilt because the source file is new or has changed since the last time the site was built.

Value

A character vector of files that need to be rebuilt.

See Also

get_current_pdf_digests(), blogdownDigest::digests.


jonathan-g/semestr documentation built on Jan. 23, 2025, 3:10 p.m.