Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow downloading of the entire code, sections of code, and chapters of code, in EPUB, Word, and PDF formats #50
These should be easy enough to create functions for within
The licensing for PHPDocX and FPDF is entirely GPL-compatible. I don't know about ePub-Boilerplate—it doesn't include a license, making it implicitly copyrighted and thus can't be included. @javierarce, are you willing to put a license on ePub-Boilerplate?
I'm not concerned about stepping on toes—we can make it a config option as to whether each of these is provided. Nobody needs to enable the feature if they don't want it. Hell, this whole project is about stepping on toes. :)
Realistically, of course, this needs to be broken out into three tickets. I'm inclined to provide functionality for just one format in
Ok, the hard part of this is done – I've refactored the entire export process into a plugin-based system to generate files. This will make creating new export types much, much easier. Now all that remains is to use this to generate the new file types. The generation of the all-in-one files should happen in the new
Here's the branch:
added a commit
Mar 2, 2017
That should be the bulk of the work for generating exports. Most of the new formats rely on
The only thing left here is adding new hooks to the plugins to show the download links dynamically on the relevant pages.