remove_entry_from_sidebar: Removes entries in sidebar if containing a filename regex...

View source: R/remove_entry_from_sidebar.R

remove_entry_from_sidebarR Documentation

Removes entries in sidebar if containing a filename regex pattern.

Description

Removes entries in sidebar if containing a filename regex pattern.

Usage

remove_entry_from_sidebar(
  path = "_site",
  filename_as_regex = c("report\\.pdf", "report\\.docx")
)

Arguments

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")

Value

Invisibly returns files processed


saros.base documentation built on June 8, 2025, 10:03 a.m.