convert sourcecode to epub! for code-reading!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
test
.gitignore
CHANGES
README
Rakefile
sc2epub.gemspec

README

= sc2epub
convert sourcecode to epub

== install
 $ gem install sc2epub

== usage
 $ sc2epub SOURCECODE_DIRECTORY OUTPUT_DIRECTORY PROJECT_NAME
 $ cd OUTPUT_DIRECTORY
 $ make
 # it generates PROJECT_NAME.epub
 $ make kindle # if you need mobi file
 # it generates PROJECT_NAME.mobi

== example
 $ sc2epub ~/src/readline-5.2 ~/src/readline-epub readline
 $ cd ~/src/readline-epub
 $ make
 $ make kindle
 $ cp readline.mobi ~/

== notice
sc2epub generates xhtml, xml, and Makefile. You need `make' command for compilation of epub.
And if you want to generate mobi file, you need `kindlegen' command.
About kindlegen see below.
http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000234621