You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think usethis::use_pkgdown_github_pages() will automatically set up everything including the relevant Github Actions needed to automatically build such a website after repo pushes using a github.io url: https://usethis.r-lib.org/reference/use_pkgdown.html
Alternatively you could build a website locally in a directory using: pkgdown::build_site() and then rsync the files to a website directory you control (this is what I do with my own packages)
A good idea to add links to this site on the DESCRIPTION and upper right description on Github
The text was updated successfully, but these errors were encountered:
For {bittermelon}'s {pkgdown} website I found I needed to add a CSS tweak in pkgdown/extra.css for the line-height so the fancy print examples would look pretty on the website:
pre {
font-family: Dejavu Sans Mono,Unifont,monospace;
line-height:1.0;
}
usethis::use_pkgdown_github_pages()
will automatically set up everything including the relevant Github Actions needed to automatically build such a website after repo pushes using agithub.io
url: https://usethis.r-lib.org/reference/use_pkgdown.htmlpkgdown::build_site()
and thenrsync
the files to a website directory you control (this is what I do with my own packages)The text was updated successfully, but these errors were encountered: