reset_site: Remove all files associated with the site

View source: R/reset_site.R

reset_siteR Documentation

Remove all files associated with the site

Description

Use this if you want to rebuild your site from scratch.

Usage

reset_site(path = ".")

Arguments

path

the path to the site

Examples


tmp <- tempfile()
create_lesson(tmp, open = FALSE, rmd = FALSE)
build_lesson(tmp, preview = FALSE)
dir(file.path(tmp, "site"))
reset_site(tmp)
dir(file.path(tmp, "site"))


zkamvar/sandpaper documentation built on April 21, 2024, 1:17 a.m.