Skip to content

Commit

Permalink
Add README; corrections in Rakefile, index.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
skra committed Jan 27, 2011
1 parent bbe9185 commit 85ab35e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
14 changes: 14 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
h1 Ruby Hacking Guide English Translation

This project aims to translate the Ruby hacking guide by Minero Aoki.

h2 Making the HTML Pages

Create the HTML-Pages in the en/ subdirectory with rake.

$ cd ruby-hacking-guide
$ cd en
$ rake
$ firefox index.html
$ rake clean #remove the html-files

6 changes: 5 additions & 1 deletion en/Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'generate_html'
load 'generate_html.rb'

SRC= FileList['*.txt']
HTML=SRC.ext( 'html')
Expand All @@ -24,3 +24,7 @@ PNG.zip( SVG).each{|png, svg|
sh "#{INKSCAPE} -z --export-png=#{png} --export-dpi=#{DPI} --file=#{svg}"
}
}

task :clean do
system("rm *.html")
end
2 changes: 1 addition & 1 deletion en/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ to post suggestions on the mailing list.

h3. Part 1: Objects

* Chapter 1: Ruby language minimum
* "Chapter 1: Ruby language minimum":chapter01.html
* "Chapter 2: Objects":chapter02.html
* "Chapter 3: Names and name tables":chapter03.html
* "Chapter 4: Classes and modules":chapter04.html
Expand Down

0 comments on commit 85ab35e

Please sign in to comment.