{"action":"created","issue":{"url":"https://api.github.com/repos/ramnathv/slidify/issues/410","labels_url":"https://api.github.com/repos/ramnathv/slidify/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/ramnathv/slidify/issues/410/comments","events_url":"https://api.github.com/repos/ramnathv/slidify/issues/410/events","html_url":"https://github.com/ramnathv/slidify/issues/410","id":56474901,"number":410,"title":"download zipball workflow","user":{"login":"ptoche","id":6339274,"avatar_url":"https://avatars.githubusercontent.com/u/6339274?v=3","gravatar_id":"","url":"https://api.github.com/users/ptoche","html_url":"https://github.com/ptoche","followers_url":"https://api.github.com/users/ptoche/followers","following_url":"https://api.github.com/users/ptoche/following{/other_user}","gists_url":"https://api.github.com/users/ptoche/gists{/gist_id}","starred_url":"https://api.github.com/users/ptoche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptoche/subscriptions","organizations_url":"https://api.github.com/users/ptoche/orgs","repos_url":"https://api.github.com/users/ptoche/repos","events_url":"https://api.github.com/users/ptoche/events{/privacy}","received_events_url":"https://api.github.com/users/ptoche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-04T03:22:21Z","updated_at":"2015-02-04T03:58:37Z","closed_at":null,"body":"I have a presentation with a dozen or so ``slidify`` presentations in a single github repository. There is an option there to download the whole repo as a zip. The problem is that with images included my repo is larger than 200MB. I'd like to have a \"download\" button for each set of slides, rather than for the whole repo, as that would be a smaller download. \r\n\r\nIncluding the following in the ``yaml`` of presentation named 'Chapter 00'\r\n\r\n    github: {user: ptoche, repo: piketty}\r\n    lecnum: \"00\"  # this bit is possibly irrelevant, couldn't find doc about it\r\n\r\ngives me a download button with a link to \"https://github.com/ptoche/piketty/zipball/gh-pages\"\r\n\r\nFirst, this is not a url specific to the presentation of 'Chapter 00'. Secondly, I have no ´´zipball/gh-pages´´ directory in my repo anyhow. When I set up my github pages, I followed the step-by-step instructions to the letter, selecting the 'Github for Mac' option: https://pages.github.com/, and no zipball/gh-pages directory was created.\r\n\r\nCould I add a download button that would point to something like https://github.com/ptoche/piketty/archive/Chapter%2000.zip and would trigger a download of the zipped presentation (as opposed to the whole repo)?\r\n\r\nAlternatively, is it possible to point to the 'save page as' action of the Chrome browser?  (I'm using the io2012 framework, which is optimized for Chrome)\r\n\r\nMy github repo is here: https://github.com/ptoche/piketty\r\n\r\nThe whole repo may be downloaded from: https://github.com/ptoche/piketty/archive/master.zip\r\n\r\nMy github pages for 'Chapter 00' is here: http://ptoche.github.io/lectures/Chapter%2000/index.html#1\r\n\r\nProbably related issue: https://github.com/ramnathv/slidify/issues/108"},"comment":{"url":"https://api.github.com/repos/ramnathv/slidify/issues/comments/72786733","html_url":"https://github.com/ramnathv/slidify/issues/410#issuecomment-72786733","issue_url":"https://api.github.com/repos/ramnathv/slidify/issues/410","id":72786733,"user":{"login":"ramnathv","id":346288,"avatar_url":"https://avatars.githubusercontent.com/u/346288?v=3","gravatar_id":"","url":"https://api.github.com/users/ramnathv","html_url":"https://github.com/ramnathv","followers_url":"https://api.github.com/users/ramnathv/followers","following_url":"https://api.github.com/users/ramnathv/following{/other_user}","gists_url":"https://api.github.com/users/ramnathv/gists{/gist_id}","starred_url":"https://api.github.com/users/ramnathv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramnathv/subscriptions","organizations_url":"https://api.github.com/users/ramnathv/orgs","repos_url":"https://api.github.com/users/ramnathv/repos","events_url":"https://api.github.com/users/ramnathv/events{/privacy}","received_events_url":"https://api.github.com/users/ramnathv/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T03:58:37Z","updated_at":"2015-02-04T03:58:37Z","body":"If images are the issue, I would recommend using the `upload.fun = imgur.upload` chunk option in your `rmd`. This would upload image files to `imgur` and thereby keep your repo lean in size."}}