Set the callback
to tell where the API visual documentation is located
Source: R/pr_set.R
pr_set_docs_callback.Rd
When set, it will be called with a character string corresponding to the API visual documentation url. This allows RStudio to locate visual documentation.
Usage
pr_set_docs_callback(
pr,
callback = get_option_or_env("plumber.docs.callback", NULL)
)
Details
If using options_plumber()
, the value must be set before initializing your Plumber router.