magicbookproject / magicbook

The magic book project returns!
MIT License
1.07k stars 59 forks source link

Different files for different builds #4

Closed shiffman closed 8 years ago

shiffman commented 8 years ago

This is a small thing and might only come up rarely, but I have an HTML file that I want to include for my HTML build, but not for my PDF build. Right now there is only one files array in magicbook.json which is separate from the builds array.

runemadsen commented 8 years ago

Hi Dan

This used to not be clear in the documentation, but each build object can have a files array. Take a look at the updated README: https://github.com/magicbookproject/magicbook#builds

shiffman commented 8 years ago

Ah, sorry, apologies for missing that, thank you!

runemadsen commented 8 years ago

No problemo!