Description Usage Arguments Value Examples
Makes a website from the contents of a directory.
To see the list of file types that can be displayed on the website,
execute formats_quilt_can_render()
.
All files types specified by type
in path
will be included.
This function's options are best specified with configuration files rather than passing values
to the function itself. See config_name
option documentation.
1 2 3 4 5 6 7 | quilt(path = getwd(), output = NULL, name = "Home", overwrite = FALSE,
clean = TRUE, output_dir_name = "website", partial_copy = TRUE,
open = TRUE, theme = "journal", type = formats_quilt_can_render(),
apply_theme = FALSE, use_file_names = FALSE, use_dir_names = TRUE,
name_sep = NULL, use_file_suffix = TRUE, use_dir_suffix = TRUE,
menu_name_parser = function(x) { x }, placement = character(0),
cumulative = FALSE, config_name = "quilt_config.yml")
|
path |
( |
output |
( |
name |
( |
overwrite |
( |
clean |
( |
output_dir_name |
( |
partial_copy |
( |
open |
( |
theme |
(
The value of this option can be set by a configuration file at the location specified by
|
type |
( |
apply_theme |
( |
use_file_names |
( |
use_dir_names |
( |
name_sep |
( |
use_file_suffix |
( |
use_dir_suffix |
( |
menu_name_parser |
( |
placement |
(named
The value of this option can be file-path-specific; see |
cumulative |
( |
config_name |
( |
(character
of length 1) The file path to the created website's home page
(index.html
)
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Make website out of the current working directory
quilt()
# Create a template directory in the current
# working directory and make a website from it
make_quiltr_template(getwd(), "default")
quilt("default")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.