3
Dev Notes
Aadharsh Kannan редактировал(а) эту страницу 2021-09-08 12:38:43 -07:00
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