Skip to content

Commit

Permalink
moving the doc of extra_dependencies from html_document to html_docum…
Browse files Browse the repository at this point in the history
…ent_base, otherwise the latter can't inherit it from the former because of the change in roxygen2 7.2.0: r-lib/roxygen2#1316
  • Loading branch information
yihui committed Aug 16, 2022
1 parent 63b7ecf commit 32f1c77
Show file tree
Hide file tree
Showing 10 changed files with 111 additions and 50 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ Suggests:
VignetteBuilder: knitr
Config/Needs/website: rstudio/quillt, pkgdown
Encoding: UTF-8
RoxygenNote: 7.1.2
RoxygenNote: 7.2.1
SystemRequirements: pandoc (>= 1.14) - http://pandoc.org
7 changes: 5 additions & 2 deletions R/html_document.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@
#' Note that if you don't use the "default" template then some features of
#' \code{html_document} won't be available (see the Templates section below for
#' more details).
#' @param extra_dependencies Extra dependencies as a list of the
#' \code{html_dependency} class objects typically generated by
#' \code{htmltools::\link{htmlDependency}()}.
#' @param css CSS and/or Sass files to include. Files with an extension of .sass
#' or .scss are compiled to CSS via `sass::sass()`. Also, if `theme` is a
#' [bslib::bs_theme()] object, Sass code may reference the relevant Bootstrap
Expand All @@ -138,8 +141,8 @@
#' default definition of R Markdown. See the \code{\link{rmarkdown_format}} for
#' additional details.
#' @param pandoc_args Additional command line options to pass to pandoc
#' @param extra_dependencies,... Additional function arguments to pass to the
#' base R Markdown HTML output formatter \code{\link{html_document_base}}
#' @param ... Additional function arguments to pass to the base R Markdown HTML
#' output formatter \code{\link{html_document_base}}
#' @return R Markdown output format to pass to \code{\link{render}}
#'
#' @section Highlighting:
Expand Down
3 changes: 0 additions & 3 deletions R/html_document_base.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
#'
#' @param dependency_resolver A dependency resolver
#' @param copy_resources Copy resources
#' @param extra_dependencies Extra dependencies as a list of the
#' \code{html_dependency} class objects typically generated by
#' \code{htmltools::\link{htmlDependency}()}.
#' @param bootstrap_compatible Bootstrap compatible
#' @param ... Ignored
#'
Expand Down
4 changes: 3 additions & 1 deletion man/github_document.Rd

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

28 changes: 21 additions & 7 deletions man/html_document.Rd

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

4 changes: 3 additions & 1 deletion man/html_document_base.Rd

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

13 changes: 8 additions & 5 deletions man/html_notebook.Rd

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

5 changes: 3 additions & 2 deletions man/html_vignette.Rd

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

91 changes: 64 additions & 27 deletions man/ioslides_presentation.Rd

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

Loading

0 comments on commit 32f1c77

Please sign in to comment.