File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1+ h1 Ruby Hacking Guide English Translation
2+
3+ This project aims to translate the Ruby hacking guide by Minero Aoki.
4+
5+ h2 Making the HTML Pages
6+
7+ Create the HTML-Pages in the en/ subdirectory with rake.
8+
9+ $ cd ruby-hacking-guide
10+ $ cd en
11+ $ rake
12+ $ firefox index.html
13+ $ rake clean #remove the html-files
14+
Original file line number Diff line number Diff line change 1- require 'generate_html'
1+ load 'generate_html.rb '
22
33SRC = FileList [ '*.txt' ]
44HTML = SRC . ext ( 'html' )
@@ -24,3 +24,7 @@ PNG.zip( SVG).each{|png, svg|
2424 sh "#{ INKSCAPE } -z --export-png=#{ png } --export-dpi=#{ DPI } --file=#{ svg } "
2525 }
2626}
27+
28+ task :clean do
29+ system ( "rm *.html" )
30+ end
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ to post suggestions on the mailing list.
6666
6767h3. Part 1: Objects
6868
69- * Chapter 1: Ruby language minimum
69+ * " Chapter 1: Ruby language minimum":chapter01.html
7070* "Chapter 2: Objects":chapter02.html
7171* "Chapter 3: Names and name tables":chapter03.html
7272* "Chapter 4: Classes and modules":chapter04.html
You can’t perform that action at this time.
0 commit comments