Last active
January 8, 2017 12:26
-
-
Save tlockney/4589410 to your computer and use it in GitHub Desktop.
Akka docs on your Kindle!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This only works with the current master branch of Akka | |
# Setup the necessary deps | |
brew install python | |
# adjust this depending on the latest version of Python that brew installed | |
export PATH=`brew --prefix python`/bin:/usr/local/share/python:$PATH | |
pip install sphinx | |
# Also, you need to have Calibre installed. Yes, the UI is incredibly bad, but the ebook-convert | |
# utility is reason enough to have it installed. Find it here: http://calibre-ebook.com/ | |
git clone https://github.com/akka/akka.git | |
cd akka | |
sbt sphinx:generate-epub | |
/Applications/calibre.app/Contents/MacOS/ebook-convert target/sphinx/epub/Akka.epub Akka.mobi | |
# Now just email that mobi file to your kindle email address or copy it over via USB. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get
generate-epub
working I had to