Skip to content

Commit

Permalink
document options in a central place
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Oct 28, 2024
1 parent 24e1ee8 commit 7da14af
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
13 changes: 13 additions & 0 deletions R/options.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Options used by the pal package
#'
#' @description
#' The pal package makes use of three notable user-facing options:
#'
#' * `.pal_dir` is the directory where pal prompts live. See the pal [directory]
#' help-page for more information.
#' * `.pal_fn` and `.pal_args` determine the underlying LLM powering each pal.
#' See the "Choosing a model" section of `vignette("pal", package = "pal")`
#' for more information.
#'
#' @name pal_options
NULL
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ reference:
contents:
- starts_with("prompt")
- starts_with("directory")
- pal_options
- title: Pals for package development
contents:
- pal_roxygen
Expand Down
15 changes: 15 additions & 0 deletions man/pal_options.Rd

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

0 comments on commit 7da14af

Please sign in to comment.