Skip to content

Instantly share code, notes, and snippets.



Created Apr 20, 2016
What would you like to do?
Builds docs, html site, and pushes to github
Rscript -e "devtools::document(roclets=c('rd', 'collate', 'namespace', 'vignette'))"
git checkout gh-pages
git merge master -X theirs -m "merge master"
site:docs gh-pages
Rscript -e "staticdocs::build_site(site_path='.', launch=FALSE)"
git commit -am 'updated docs'
git checkout master
update: site
git push
git checkout gh-pages
git push
git checkout master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment