Skip to content

Commit 41d79e8

Browse files
committed
Don't add the use_tidy_pkgdown_github_pages() after all
cc @hadley
1 parent ffa8112 commit 41d79e8

File tree

4 files changed

+7
-30
lines changed

4 files changed

+7
-30
lines changed

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ export(use_tidy_github_actions)
189189
export(use_tidy_github_labels)
190190
export(use_tidy_issue_template)
191191
export(use_tidy_labels)
192-
export(use_tidy_pkgdown_github_pages)
193192
export(use_tidy_style)
194193
export(use_tidy_support)
195194
export(use_tidy_thanks)

R/pkgdown.R

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
#' GitHub Pages
1919
#' - The pkgdown site's URL is added to the pkgdown configuration file,
2020
#' to the URL field of DESCRIPTION, and to the GitHub repo.
21+
#' - Packages owned by certain GitHub organizations (tidyverse, r-lib, and
22+
#' tidymodels) get some special treatment, in terms of anticipating the
23+
#' (eventual) site URL and the use of a pkgdown template.
2124
#'
2225
#' `use_pkgdown_travis()` is deprecated; we no longer recommend that you use
2326
#' Travis-CI.
@@ -83,23 +86,6 @@ use_pkgdown_github_pages <- function() {
8386
}
8487
}
8588

86-
# tidyverse pkgdown setup ------------------------------------------------------
87-
88-
#' @details
89-
#' * `use_tidy_pkgdown_github_pages()` is basically
90-
#' [use_pkgdown_github_pages()], so does full pkgdown set up. Note that there
91-
#' is special handling for packages owned by certain GitHub organizations, in
92-
#' terms of anticipating the (eventual) site URL and the use of a pkgdown
93-
#' template.
94-
#' @export
95-
#' @rdname tidyverse
96-
use_tidy_pkgdown_github_pages <- function() {
97-
# the code that's conditional on the owning org is already in this function
98-
# this "tidy" version exists because it feels right and is a good place to
99-
# put docs
100-
use_pkgdown_github_pages()
101-
}
102-
10389
# helpers ----------------------------------------------------------------------
10490
use_pkgdown_url <- function(url, tr = NULL) {
10591
tr <- tr %||% target_repo(github_get = TRUE)

man/tidyverse.Rd

Lines changed: 1 addition & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/use_pkgdown.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)