Description Usage Arguments Details Examples
Submit a post to the knowledge base for review. This would be done
after adding it with kr_add
(assuming submit was FALSE in that command).
1 2 | kr_submit(path, repo = Sys.getenv("KNOWLEDGE_REPO"), browse_pr = FALSE,
master = FALSE, ...)
|
path |
The path of the knowledge post to submit for review. |
repo |
Repository of the knowledge post to add |
browse_pr |
Whether to browse to a GitHub pull request for submitting this post |
master |
Whether to submit it on master rather than on a separate branch (allowing for review). If TRUE, rather than using the knowlege_base CLI it locally merges to master than pushes. Works only if you have commit access to master. |
... |
Global arguments to |
The "direct" option is not supported by the knowledge_repo
command line interface, and is a shortcut provided by this package.
Global arguments that can be passed to all knowledge_repo commands include:
repoPath to Knowledge Repository to add to. Can also set
KNOWLEDGE_REPO
variable in .Renviron
.
devWhether to skip passing control to version of code checked out in knowledge repository.
debugWhether to enable debug mode.
noupdateWhether script should update the repository before performing actions.
versionShow version and exit.
helpShow help and exit
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.