% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_webpages.R
\name{make_webpages}
\alias{make_webpages}
\title{Create Author and Publication Webpages}
\usage{
make_webpages(
  authors = NULL,
  pubs = NULL,
  destdir = tempdir(),
  coverdir = "vignettes",
  quiet = FALSE
)
}
\arguments{
\item{authors}{'author' data frame.
Contributing authors to the INLPO publications; see the \code{\link{authors}} dataset for
the expected data format. When \code{NULL}, author webpages are not written.}

\item{pubs}{'pub' data frame.
Publications of the INLPO; see the \code{\link{pubs}} dataset for the expected data format.
When \code{NULL}, publication webpages are not written.}

\item{destdir}{'character' string.
Destination directory for the written files, with tilde-expansion performed.
Created if it does not exist. Defaults to a temporary directory.}

\item{coverdir}{'character' string.
Directory searched for publication cover images named \verb{pub-<id>.jpg}.
Defaults to \code{"vignettes"}.}

\item{quiet}{'logical' flag.
Whether to suppress progress messages. Defaults to \code{FALSE}.}
}
\value{
Invisibly returns \code{NULL}. Called for its side effect of writing files.
}
\description{
Create a webpage for each author and each publication, listing the
author's publications or the publication's details. Each webpage is written as
an \href{https://rmarkdown.rstudio.com/}{R Markdown} (\code{.Rmd}) file.
}
\examples{
destdir <- tempfile("")
make_webpages(
  authors = inlpubs::authors,
  pubs = inlpubs::pubs,
  destdir = destdir,
  quiet = TRUE
)

unlink(destdir, recursive = TRUE)
}
\author{
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
}
\keyword{internal}
