update_pdfs | R Documentation |
update_pdfs
rebuilds all source files that are new or have changed
since the last time the site was built.
update_pdfs(
dir = NULL,
root_dir = NULL,
static_path = "static",
content_path = "content",
quiet = FALSE,
force = FALSE,
force_dest = TRUE,
output_options = NULL
)
dir |
A string containing the root directory for checking. By default, the "content" directory of the project. |
root_dir |
The root directory of the HUGO project. |
static_path |
Where to look for static files (in the HUGO sense of static). |
content_path |
Where to look for content (e.g., |
quiet |
Suppress output. By default this is |
force |
Force rebuilding source files that are not out of date. |
force_dest |
Create missing destination directories. |
output_options |
A list of extra output options
for |
Given a source directory (by default the "content" directory in the
root directory of the project), find all source files (.Rmd
and
.rmarkdown
) in the directory tree under the source directory,
calculate hashed digests of the files, and compare them to a
stored list of digests from the last time the site was built.
If the digests of either the source or output files don't match, if a source file is new since the last time the site was built, or if the output file does not exist, then render the source file.
After rendering any out-of-date files, regenerate the digest list and saves it to a file.
This function does not return anything
build_site()
,
build_dir()
,
blogdownDigest::digests.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.