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:

  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