Skip to content

Commit

Permalink
Fixed copying over r plot + removed render for jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjohnst86 committed Nov 2, 2015
1 parent 08bd1a9 commit 688d5d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ test_local :

## update_site : Build the GitHub pages site
update_site :
rsync -a --exclude='.git/' --exclude='.gitignore' ../workshops/ ../${site_repo}/
rsync -a --exclude='.git/' --exclude='.gitignore' \
--exclude='lessons/rplotting/' ../workshops/ ../${site_repo}/
./knitpost.R

## clean_dir : Clean up left over files from updated website
Expand Down
1 change: 0 additions & 1 deletion knitpost.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ KnitPost <- function(input, outfile, base.url = '/') {
knitr::opts_knit$set(base.url = base.url)
knitr::opts_chunk$set(fig.path = '/lessons/images/',
collapse = TRUE)
knitr::render_jekyll()
knitr::knit(input, outfile, envir = parent.frame())
txt <- sub('^published: false', 'published: true',
readLines(outfile))
Expand Down

0 comments on commit 688d5d0

Please sign in to comment.