-
Notifications
You must be signed in to change notification settings - Fork 34
Dev Notes
Aadharsh Kannan edited this page Sep 8, 2021
·
3 revisions
For manually pushing code changes to gh-pages
branch. Please do the following:
- Create and checkout a
gh-pages
branch based out of main branch (ifgh-pages
exists, simply checkout and rungit merge origin/main
and go to step 4) - Go to the line that has
#docs
in the.gitignore
file and uncomment the last line - Set working directory in R Studio as
setwd('~\YOUR_DIR\finnts')
- Run
usethis::use_pkgdown()
andoptions(rmarkdown.html_vignette.check_title = FALSE)
- Run
pkgdown::build_site(pkg = '.',install = TRUE,preview = FALSE,lazy=FALSE,new_process = FALSE)
- Push changes to
gh-pages
branch