Skip to content

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:

  1. Create and checkout a gh-pages branch based out of main branch (if gh-pages exists, simply checkout and run git merge origin/main and go to step 4)
  2. Go to the line that has #docs in the .gitignore file and uncomment the last line
  3. Set working directory in R Studio as setwd('~\YOUR_DIR\finnts')
  4. Run usethis::use_pkgdown() and options(rmarkdown.html_vignette.check_title = FALSE)
  5. Run pkgdown::build_site(pkg = '.',install = TRUE,preview = FALSE,lazy=FALSE,new_process = FALSE)
  6. Push changes to gh-pages branch
Clone this wiki locally