Render a Quarto Website with Translation Support
render_resource.RdA wrapper around babelquarto::render_website() that first checks for and
optionally creates placeholder files for missing translations before rendering
the full website.
Usage
render_resource(
project_path = ".",
site_url = NULL,
profile = NULL,
preview = rlang::is_interactive(),
add_missings = TRUE,
yml_file = "_quarto.yml",
pages_path = "pages",
include_index = TRUE,
include_pages = TRUE
)Arguments
- project_path
Passed to
babelquarto. The path to the Quarto project directory. Defaults to the current directory (.).- site_url
Passed to
babelquarto. The base URL of the deployed website.- profile
Passed to
babelquarto. An optional Quarto profile to use for rendering.- preview
Passed to
babelquarto. Logical. IfTRUE, preview the site after rendering. Defaults torlang::is_interactive().- add_missings
Logical. If
TRUE, find and create placeholder files for any missing translations before rendering.- yml_file
The name of the Quarto configuration file. Defaults to
_quarto.yml.- pages_path
The path to the directory containing the Quarto documents. Defaults to
"pages".- include_index
Logical. If
TRUE, check for missing index page translations.- include_pages
Logical. If
TRUE, check for missing translations of files withinpages_path.