Skip to content

Commit 54dad32

Browse files
committed
Advance deprecations for 2.2.0
1 parent 3a19c44 commit 54dad32

File tree

6 files changed

+1
-96
lines changed

6 files changed

+1
-96
lines changed

NAMESPACE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ S3method(usage_code,tag_method)
109109
S3method(usage_code,tag_special)
110110
S3method(usage_code,tag_usage)
111111
export(as_pkgdown)
112-
export(autolink_html)
113112
export(build_article)
114113
export(build_articles)
115114
export(build_articles_index)
@@ -136,7 +135,6 @@ export(in_pkgdown)
136135
export(init_site)
137136
export(pkgdown_print)
138137
export(pkgdown_sitrep)
139-
export(preview_page)
140138
export(preview_site)
141139
export(rd2html)
142140
export(render_page)

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# pkgdown (development version)
22

3+
* `autolink_html()` deprecated in 1.6.0 and `preview_page()` have been removed.
34
* New translations were add for Dutch (`nl`) and Japanese (`ja`), thanks to
45
@pepijn-devires and @shikokuchuo respectively.
56
* New `build_llm_docs()` generates a `llms.txt` at the root directory of your site, and provides a `.md` version of every page. You can disable by adding `llm-docs: false` to your `_pkgdown.yaml` (#2914, @maelle)

R/autolink_html.R

Lines changed: 0 additions & 39 deletions
This file was deleted.

R/preview.R

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,6 @@ local_path <- function(pkg, path, call = caller_env()) {
3939
abs_path
4040
}
4141

42-
#' Preview a local pkgdown page in the browser
43-
#'
44-
#' @description
45-
#' `r lifecycle::badge("deprecated")` Use [preview_site()] instead.
46-
#'
47-
#' @export
48-
#' @keywords internal
49-
preview_page <- function(path, pkg = ".") {
50-
lifecycle::deprecate_warn("2.1.0", "preview_page()", "preview_site()")
51-
preview_site(pkg, path, preview = TRUE)
52-
}
53-
5442
is_testing <- function() {
5543
identical(Sys.getenv("TESTTHAT"), "true")
5644
}

man/autolink_html.Rd

Lines changed: 0 additions & 31 deletions
This file was deleted.

man/preview_page.Rd

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)