To build the documentation run the following commands in the R console from the repo root:
source('data-raw/prep_pbc_data.R')
. This will fill the data directory
with all the files needed by the documentation.devtools::document()
. This will update the man
folder.pkgdown::build_site()
. This will build the documentation website and put
it in the docs folder.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.