preview_site {pkgdown} | R Documentation |
Open site in browser
Description
preview_site()
opens your pkgdown site in your browser. pkgdown has been
carefully designed to work even when served from the file system like
this; the only part that doesn't work is search. You can use servr::httw("docs/")
to create a server to make search work locally.
Usage
preview_site(pkg = ".", path = ".", preview = TRUE)
Arguments
pkg |
Path to package. |
path |
Path relative to destination |
preview |
If |
[Package pkgdown version 2.1.0 Index]