-
Notifications
You must be signed in to change notification settings - Fork 48
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-pagesbranch based out of main branch (ifgh-pagesexists, simply checkout and rungit merge origin/mainand go to step 4) - Go to the line that has
#docsin the.gitignorefile 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-pagesbranch