View source: R/setup_website.R
setup_website | R Documentation |
setup_website()
uses the openwashdata pkgdown template to create a website for the data package
based on its README.md file. The website provides a structured and visually appealing presentation
of the package's documentation.
setup_website(has_example = FALSE)
has_example |
Logical. Should the pkgdown website include a vignette page for writing an example? Defaults to FALSE. |
NULL. Error if no README file is found.
## Not run:
# Set up the pkgdown website including a vignette page
setup_website(has_example = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.