Skip to content

Commit

Permalink
Document authors and re-pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Oct 25, 2016
1 parent e93de96 commit 41156e3
Show file tree
Hide file tree
Showing 12 changed files with 52 additions and 19 deletions.
16 changes: 15 additions & 1 deletion R/build.r
Expand Up @@ -11,12 +11,26 @@
#' that aspect of the site.
#'
#' @section YAML config:
#' There are four top-level YAML settings that affect the entire site:
#' There are five top-level YAML settings that affect the entire site:
#' \code{title}, \code{template}, and \code{navbar}.
#'
#' \code{title} overrides the default site title, which is the package name.
#' It's used in the page title and default navbar.
#'
#' You can also provided information to override the default display of
#' the authors. Provided a list named with the name of each author,
#' including \code{href} to add a link, or \code{html} to override the
#' text:
#'
#' \preformatted{
#' authors:
#' Hadley Wickham:
#' href: http://hadley.nz
#' RStudio:
#' href: https://www.rstudio.com
#' html: <img src="http://tidyverse.org/rstudio-logo.svg" height="24" />
#' }
#'
#' @section YAML config - navbar:
#' \code{navbar} controls the navbar at the top of the page. It uses the same
#' syntax as \href{RMarkdown}{http://rmarkdown.rstudio.com/rmarkdown_websites.html#site_navigation}.
Expand Down
7 changes: 0 additions & 7 deletions _pkgdown.yml
Expand Up @@ -2,13 +2,6 @@ templates:
params:
bootswatch: cerulean

authors:
Hadley Wickham:
href: http://hadley.nz
RStudio:
href: https://www.rstudio.com
html: <img src="http://tidyverse.org/rstudio-logo.svg" height="24" />

reference:
- title: Build
desc: Build each component of the site.
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/build_articles.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/build_home.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/build_news.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/build_reference.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions docs/reference/build_site.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/render_page.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/templates.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion man/build_site.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 41156e3

Please sign in to comment.