View source: R/remove_entry_from_sidebar.R
remove_entry_from_sidebar | R Documentation |
Removes entries in sidebar if containing a filename regex pattern.
remove_entry_from_sidebar(
path = "_site",
filename_as_regex = c("report\\.pdf", "report\\.docx")
)
path |
String, path to where your html-files are located. Defaults to "_site" |
filename_as_regex |
Character vector of regex patterns to search for. Defaults to c("report\.pdf", "report\.docx") |
Invisibly returns files processed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.