Description Usage Value Examples
This runs a preview of the site generated by docsify.js in RStudio viewer. This function must be called after having created the essential files with init_docsify()
.
1 |
Runs a preview of the site generated by docsify.js in RStudio viewer.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
library(docsifier)
# Create a test folder and a test package for the example
test_folder <- tempdir()
setwd(test_folder)
devtools::create("dummy")
setwd("dummy")
# Generate the minimal documentation for docsify.js
init_docsify()
# Run the preview
preview_docsify()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.