tomeshnet / p2p-internet-workshop

Building the Peer-to-Peer Internet workshop series
https://tomeshnet.github.io/p2p-internet-workshop/
Creative Commons Attribution Share Alike 4.0 International
99 stars 17 forks source link

Integrate new Remark presentations into build.sh #77

Closed Shrinks99 closed 5 years ago

Shrinks99 commented 5 years ago

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 5 years ago

New things the build script needs to do!

  1. Copy each module-x-presentation.html file into its appropriate output folder module.
  2. Copy each slide-images folder into its appropriate output folder module.
  3. Copy the slide-files folder into the output directory. This folder contains all the CSS & Javascript that every Remark presentation uses to display the slides.
  4. 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 5 years ago

PR #87 Will take module-x-presentation.html (if it exists) and generate a output/module-x/module-x-deck.pdf out of it

Shrinks99 commented 5 years ago

This has been completed in PR #87!