Developing Backbone.js Applications
We appreciate any and all efforts to help improve the book. Please note that the repository is structured as follows:
- chapters - contains the source Markdown for each chapter. This is compiled into the HTML, ePub, Mobi and other formats found in the root of the project.
- build - contains templates and metadata for compiling the book
- img - contains image assets for the project
- practicals - contains the source code for practicals
If you would like to submit pull requests, please feel free to apply them against the relevant markdown file in
chapter. These can be previewed by running the build script via
make, which will also generate updated versions of the other formats we support. Please ensure that you are only submitting the modified chapter file for your changes and not the compiled HTML/other format binaries.
If you are interested in leaving a review to share your opinion on the book with others (it's always appreciated!), you can do so through O'Reilly.
You can build the book using
make -f Makefile. This will output the HTML, ePub, Mobi, PDF and RTF versions of the book.
Note: At this time, generating all of the above formats should be straight-forward with the exception of the PDF. We have an open pull-request for
xelatex which is being considered and better guides for working around cross-platform PDF issues will be supplied as time allows.
- pdflatex (and recommended latex fonts)
Linux Debian based distros:
apt-get install pandoc texlive-latex-base texlive-fonts-recommended cm-super etoolbox