Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Add return value doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kiendang committed Apr 2, 2021
1 parent f3a7bb8 commit ff08fe8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/rdocsyntax.r
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ NULL

#' Enable syntax highlighting in R HTML documentation
#'
#' @return Called for side effects. No return value.
#'
#' @details
#' R HTML help pages are rendered and served using the \link[tools:startDynamicHelp]{internal help server} (\code{httpd}).
#' This function replaces the original \code{httpd} with one that receives the response from
Expand Down Expand Up @@ -79,9 +81,12 @@ highlight_html_docs <- function() {

#' Disable HTML documentation syntax highlighting
#'
#'
#' @description
#' Revert to the original help server for handling HTML documentation.
#'
#' @return Called for side effects. No return value.
#'
#' @seealso \code{\link{highlight_html_docs}}
#'
#' @export
Expand Down
3 changes: 3 additions & 0 deletions man/highlight_html_docs.Rd

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

3 changes: 3 additions & 0 deletions man/unhighlight_html_docs.Rd

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

0 comments on commit ff08fe8

Please sign in to comment.