Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: da0a1df172
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (11 sloc) 0.856 kb
# A little build script for compiling the HTML, ePub and RTF versions of the book.
# use with sh build.sh in this directory
#pandoc is the path to the pandoc executable. It can either simply be 'pandoc',
#or if you require a custom path just replace it with that path.
#e.g /Users/apple/Desktop/usr/local/bin/pandoc
#html
pandoc -s ../index.md -o ../index.html -c style.css --include-in-header=head.html --include-before-body=author.html --include-before-body=share.html --include-after-body=stats.html --title-prefix='Developing Backbone.js Applications'
#epub
pandoc -s -S ../index.md -t epub --epub-metadata=metadata.xml -o ../backbone-fundamentals.epub --epub-stylesheet=../epub.css --title-prefix='Developing Backbone.js Applications' --epub-cover-image=../img/cover.jpg
#rtf
pandoc -s title.txt -S ../index.md -o ../backbone-fundamentals.rtf
Jump to Line
Something went wrong with that request. Please try again.