Integrate new Remark presentations into build.sh
Shrinks99 opened this issue · 3 comments
Shrinks99 commented
Decktape is used to convert the Remark slideshows into PDFs that can be packaged (#41) and also integrated into the website placed into the handouts
folder so they can be distributed to students.
The command for Decktape is decktape remark file/path/name.html file/path/name.pdf --chrome-arg=--allow-file-access-from-files
.
Shrinks99 commented
New things the build script needs to do!
- Copy each
module-x-presentation.html
file into its appropriate output folder module. - Copy each
slide-images
folder into its appropriate output folder module. - Copy the
slide-files
folder into theoutput
directory. This folder contains all the CSS & Javascript that every Remark presentation uses to display the slides. - Generate a PDF using Decktape (more info here) and place it into the handouts folder (currently called
worksheet
. Maybe that should be renamed?).
darkdrgn2k commented
PR #87
Will take module-x-presentation.html (if it exists) and generate a output/module-x/module-x-deck.pdf out of it