Repo for Slides
This is where I put my HTML slides.
The slides are generated and deployed to my web page by Travis-CI.
By setting up Travis-CI, I only have to update the source Rmd file and push the changes to GitHub without knitting slides to HTML locally.
I also set up decktape to print HTML slides to PDF after they are built. Have a look at files below to see how this is achieved.
- .travis.yml
- list.txt: Slide directory names and date
- build-slide.sh: Build and print new slide; download previous rendered slides
- after_knit.sh: Write web page to link to slides
Steps to Update Slides
The First Time
- Write xaringan slides in Rmd
- knit it (only the first time is needed, so dependencies can be generated)
- Add new entries in
list.txt
- Push to GitHub
Later
- Update xaringan slides in Rmd
- Push changes to GitHub