diff --git a/.gitignore b/.gitignore index 37171ec..ad9af3a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ _site -rgh-*.epub +ebooks +*# +*~ diff --git a/README.md b/README.md index 8111490..abe867e 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,11 @@ Ruby Hacking Guide Translation ============================== [Read the translated guide here](http://ruby-hacking-guide.github.io/) -Creating a github repo to hopefully inspire efforts to get this translated +[Contributors](https://github.com/ruby-hacking-guide/ruby-hacking-guide.github.com/graphs/contributors) +-------------- -The current activity is discussed -[here](https://github.com/ruby-hacking-guide/ruby-hacking-guide.github.com/pull/2) - - -Contributors -============ +Previous contributors to SVN repo +--------------------------------- * Vincent Isambart * Meinrad Recheis @@ -39,25 +36,55 @@ $ jekyll serve # this compiles files and starts a server on localhost:4000. [Jekyll usage](https://github.com/mojombo/jekyll/wiki/usage) -Version of ruby used is very old 1.7.3 -It seems there is -[no tag on github for this version](https://github.com/ruby/ruby/tags?after=v1_8_3_preview2) +Reading in EPUB +========= + +Thanks to @avsej, we can read this book in EPUB. + +To generate an EPUB file, you need to install eeepub additionally. + +```sh +$ gem install rubyzip -v 0.9.9 +$ gem install eeepub +$ ruby script/publish +``` + +You can convert a generated EPUB file into other formats by using Calibre. + +The generated files in various formats are also available: + +* http://files.avsej.net/rhg-2013-10-03_e5203a.epub +* http://files.avsej.net/rhg-2013-10-03_e5203a.mobi +* http://files.avsej.net/rhg-2013-10-03_e5203a.pdf + + +About the version of ruby explained +========== + +The version of ruby used is ruby (1.7.3 2002-09-12). -Get Ruby 1.7.3 -============== +It's almost a year before the release of Ruby 1.8.0, +so things explained in this book are basically the same in Ruby 1.8. -It's available from this Organization's repo at -https://github.com/ruby-hacking-guide/ruby-1.7.3 +The details about this version are written in the +[Introduction](http://ruby-hacking-guide.github.io/intro.html) -`git clone git://github.com/ruby-hacking-guide/ruby-1.7.3.git` +You can download it from the official support site of the book. +* http://i.loveruby.net/ja/rhg/ar/ruby-rhg.tar.gz +* http://i.loveruby.net/ja/rhg/ar/ruby-rhg.zip -or from the original site zipped up -http://i.loveruby.net/ja/rhg/ar/ruby-rhg.tar.gz +It's also available from this Organization's repo at +* https://github.com/ruby-hacking-guide/ruby-1.7.3 License ======= -This work is licensed under a +Copyright (c) 2002-2004 Minero Aoki, All rights reserved. + +This translation work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike2.5 License](http://creativecommons.org/licenses/by-nc-sa/2.5/) + +If you'd like to translate this work to another language, +please contact the author Minero Aoki . diff --git a/_config.yml b/_config.yml index b852a84..972afec 100644 --- a/_config.yml +++ b/_config.yml @@ -1,2 +1,3 @@ redcloth: hard_breaks: false +exclude: ["ebooks", "script", "original_repo", "Gemfile", "Gemfile.lock", "dictionary.txt", "README.md"] diff --git a/_layouts/default.html b/_layouts/default.html index 9b3e1b2..f28bf83 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,7 +1,7 @@ - + {% if page.title %} {{ page.title }} | {% endif %} Ruby Hacking Guide @@ -11,7 +11,7 @@

Ruby Hacking Guide

-
+