|
2 | 2 |
|
3 | 3 | ## About |
4 | 4 |
|
5 | | -This is the home of [Developing Backbone.js Applications](http://shop.oreilly.com/product/0636920025344.do), an (in-progress) book about the |
6 | | -Backbone.js library for structuring JavaScript applications. It is released under a |
7 | | -Creative Commons Attribution-Noncommercial- No Derivative Works 3.0 United States License and is currently available for early purchase via O'Reilly if you would like to support the project. |
| 5 | +This is the home of [Developing Backbone.js Applications](http://shop.oreilly.com/product/0636920025344.do), an open-source book about the Backbone.js library for structuring JavaScript applications. It is released under a |
| 6 | +Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License and is currently available for early purchase via O'Reilly if you would like to support the project. |
8 | 7 |
|
9 | | -We appreciate any and all efforts to help improve the book. If you would like to submit pull requests, please feel free to apply them against `index.md`. These can be previewed by running the build script via `make`, which will also generate updated versions of the other formats we support. |
| 8 | +## Contributing |
| 9 | + |
| 10 | +We appreciate any and all efforts to help improve the book. Please note that the repository is structured as follows: |
| 11 | + |
| 12 | +* 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. |
| 13 | +* build - contains templates and metadata for compiling the book |
| 14 | +* img - contains image assets for the project |
| 15 | +* practicals - contains the source code for practicals |
| 16 | + |
| 17 | +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. |
10 | 18 |
|
11 | 19 | ## Reviews |
12 | 20 |
|
13 | | -If you are interested in leaving a review to let others know what you thoughts of the book this can be done through [O'Reilly](http://shop.oreilly.com/product/0636920025344/ReviewSubmit.do?sortby=publicationDate?pageId=0636920025344.IP). |
| 21 | +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](http://shop.oreilly.com/product/0636920025344/ReviewSubmit.do?sortby=publicationDate?pageId=0636920025344.IP). |
14 | 22 |
|
15 | 23 | ## Building |
16 | 24 |
|
17 | | -You can build the book using `make` or `make -f Makefile`. This will output the HTML, ePub, PDF and RTF versions of the book. |
| 25 | +You can build the book using `make` or `make -f Makefile`. This will output the HTML, ePub, Mobi, PDF and RTF versions of the book. |
| 26 | + |
| 27 | +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](https://github.com/addyosmani/backbone-fundamentals/pull/369) for `xelatex` which is being considered and better guides for working around cross-platform PDF issues will be supplied as time allows. |
| 28 | + |
| 29 | +### Dependencies |
| 30 | + |
| 31 | +* Make |
| 32 | +* [Pandoc](https://github.com/jgm/pandoc) |
| 33 | +* pdflatex (and recommended latex fonts) |
| 34 | + |
| 35 | +#### Linux Debian based distros: |
| 36 | + |
| 37 | +<code>apt-get install pandoc texlive-latex-base texlive-fonts-recommended cm-super etoolbox</code> |
0 commit comments