#calls the roxygen2 document() function by jumping in and out of the named directory
#works for me with how I tend to develop these things..
#YMMV
doc <- function(path) {
library(roxygen2)
setwd(path)
document()
setwd("..")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.