Obtain kindlegen from the link below and put the binary in
your path
Run KINDLE=1 rake generate_guides to generate the guides and
compile the .mobi file
Copy output/kindle/rails_guides.mobi to your Kindle
Integrate generated Kindle document into published HTML guides
Tweak heading styles (most docs use h3/h4/h5, which end up being smaller than the text under it)
Tweak table styles (smaller text? Many of the tables are unusable on a Kindle in portrait mode)
Have the HTML/XML TOC 'drill down' into the TOCs of the individual guides
.epub generation.