R/pdf_digests.R
update_pdf_digests.Rd
blogdownDigest::update_site_digests
calculates hashed digests for a
site.
update_pdf_digests(
dir = NULL,
root_dir = NULL,
static_path = "static",
content_path = "content",
partial = FALSE
)
A string with the name of the directory to search
(by default the "content" directory at the top-level directory of the site)
If the root_dir
is NULL
, the function tries to find the root directory
using a few common heuristics.
The root directory for the project (Should be the root for a HUGO project).
Where to look for static files (in the HUGO sense of static).
Where to look for content (e.g., .Rmd
and .md
files).
Logical. If TRUE
, keep digests for source
files that aren't in the specified directory and its children and
descendants.
Otherwise, get rid of the old digest file and only keep digests for
source files in the source directory and its descendants.
The path to the digest file.
Generates new hashed digests for both source and destination (output) files
and save the digests to a file "digests.Rds
" in the root directory of
the site.