Node.js Manual & Documentation (.pdf, .mobi, .epub)
It all started with my desire to have a nicely formatted version of the node.js manual & documentation as a printable pdf with a cover, table of content, indented code blocks and so on. Then came requests for a .mobi (Kindle) file and an .epub (iOS, Android and more) file.
Of course the whole creation and conversion process is written in node.js.
Current version of node.js in the docs: 0.12.5
How to use
Just check out the different folders or download directly:
Create your own files
node app.jsto create the .tex files
Manually edit the few files as shown in all.tex (or run
- Create the pdf with pdfLaTeX
Use options.tex and run latex to customize your own manual.
node epub.jsto create the file
The .mobi version is created from the .epub file which gives better results compared to converting the .pdf file.
kindlegenfrom this repository or directly from Amazon
node mobi.jsto create the file. The file is located inside the epub folder
Copyright (C) 2014 Mirco Zeiss
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.