| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/render_site.R |
| 3 |
\name{site_resources} |
| 4 |
\alias{site_resources} |
| 5 |
\title{Determine website resource files for a directory} |
| 6 |
\usage{ |
| 7 |
site_resources(site_dir, include = NULL, exclude = NULL, recursive = FALSE) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{site_dir}{Site directory to analyze} |
| 11 |
|
| 12 |
\item{include}{Additional files to include (glob wildcards supported)} |
| 13 |
|
| 14 |
\item{exclude}{Files to exclude (glob wildcards supported)} |
| 15 |
|
| 16 |
\item{recursive}{\code{TRUE} to return a full recursive file listing; |
| 17 |
\code{FALSE} to just provide top-level files and directories.} |
| 18 |
} |
| 19 |
\value{ |
| 20 |
Character vector of files and directories to copy |
| 21 |
} |
| 22 |
\description{ |
| 23 |
Determine which files within a given directory should be copied in |
| 24 |
order to serve a website from the directory. Attempts to automatically |
| 25 |
exclude source, data, hidden, and other files not required to serve |
| 26 |
website content. |
| 27 |
} |