Skip to content

Commit

Permalink
add missing concepts to elf for pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherkenny committed Mar 17, 2024
1 parent aa7f2f0 commit c72aeb2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Description: Provides 'ggplot2' themes that mirror works from popular culture, s
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Imports:
ggplot2,
showtext,
Expand Down
4 changes: 4 additions & 0 deletions R/theme_elf.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#'
#' @format character vector of hex code strings
#' @export
#' @concept elf
#'
#' @examples
#' elf_theme_colors
Expand All @@ -29,6 +30,7 @@ elf_theme_colors <- c(
#'
#' @format character vector of hex code strings
#' @export
#' @concept elf
#'
#' @examples
#' elf_palette
Expand All @@ -45,6 +47,7 @@ elf_palette <- c(
#'
#' @return a `ggplot2` `theme` element
#' @export
#' @concept elf
#'
#' @examples
#' library(ggplot2)
Expand Down Expand Up @@ -108,6 +111,7 @@ theme_elf <- function(elf_font = TRUE, ...) {
#'
#' @rdname scale_elf
#' @export
#' @concept elf
#'
#' @examples
#' library(ggplot2)
Expand Down
4 changes: 4 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ reference:
desc: "Themes inspired by the movie Barbie"
- contents:
- has_concept("barbie")
- title: "Elf"
desc: "Themes inspired by the movie Elf"
- contents:
- has_concept("elf")
- title: "Friends"
desc: "Themes inspired by the TV series Friends"
- contents:
Expand Down
1 change: 1 addition & 0 deletions man/elf_palette.Rd

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

1 change: 1 addition & 0 deletions man/elf_theme_colors.Rd

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

1 change: 1 addition & 0 deletions man/scale_elf.Rd

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

1 change: 1 addition & 0 deletions man/theme_elf.Rd

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

0 comments on commit c72aeb2

Please sign in to comment.