NOAA-EDAB / ecodata

A data package for reporting on Northeast Continental Shelf ecosystem status and trends.
https://noaa-edab.github.io/ecodata/
Other
31 stars 12 forks source link

documentation with pkgdown #12

Closed bbest closed 5 years ago

bbest commented 5 years ago

Hi @seanhardison1,

Great chatting today. Here's how to build online documentation into an R package using only these two commands so far:

devtools::use_vignette("test")
pkgdown::build_site()

The default destination for pkgdown::build_site() is the docs folder. You then just need to go into the Settings of your Github repo to publish the site (see Configuring a publishing source for GitHub Pages).

Further:

seanhardison1 commented 5 years ago

Thanks Ben! This is really helpful and something I look forward to learning more about.