Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated mkbightml.rb to add a separate green line between chapters

  • Loading branch information...
commit 8708461cc7adc938d2b6bc52b16855752b646ea3 1 parent cbb9bdf
@ashbb authored
View
2  README.mdown
@@ -2,7 +2,7 @@ Shoes Tutorial Note
===================
**- For the Shoes App Rookie Creators -**
-Feb. 22th, 2009 by ashbb (Satoshi Asakawa), citizen428 (Michael Kohl), kotp (Victor H. Goff III)
+Feb. 25th, 2009 by ashbb (Satoshi Asakawa), citizen428 (Michael Kohl), kotp (Victor H. Goff III)
Table of contents
-----------------
View
1  changelog.mdown
@@ -1,5 +1,6 @@
Change log:
-----------
+Feb 25th, 2009: Updated mkbightml.rb to add a separate green line between chapters.<br>
Feb 22th, 2009: Merged kotp's pull requests to improve mkpdf.rb. <br>
Feb 21th, 2009: Added gallery 5. <br>
Feb 18th, 2009: Added sample 30-2 to correct a misunderstanding about the class Symbol at 00516. <br>
View
4 html/README.txt
@@ -1,4 +1,4 @@
-This subdirectory is used to store .html files created by the tool: mkhtml.rb
+This subdirectory is used to store .html files created by the tools: mkhtml.rb and mkbightml.rb
Run the following command lines on the console (terminal) window.
@@ -17,7 +17,7 @@ And you can run whole sample apps with Shoes, too. :-D
ashbb
-ps 1: mkhtml.rb uses BlueCloth
+ps 1: Using BlueCloth
C:\> gem install BlueCloth
View
11 tools/mkbightml.rb
@@ -4,10 +4,17 @@
big_mdown = IO.read('../README.mdown') + "\n\n"
head = IO.read('./head.erb')
-Dir.glob("../mdowns/*.mdown").each{|file| big_mdown << IO.read(file) << "\n\n"}
+Dir.glob("../mdowns/*.mdown").each{|file| big_mdown << "\n\n<br><br><hr color=green>\n\n" \
+ << IO.read(file) \
+ << "\n\n"}
b = BlueCloth.new big_mdown
-template = "<html><head>#{head}</head><body><div id='content'>#{b.to_html.gsub(/<code>/, '<code class="ruby">')}<div></body></html>"
+template = "<html><head>"
+template << head \
+ << "</head><body><div id='content'>" \
+ << b.to_html.gsub(/<code>/, '<code class="ruby">') \
+ << "<div></body></html>"
+
open('../html/ShoesTutorialNote.html', 'w'){|f| f.puts template}
View
2  tools/table_of_contents.txt
@@ -2,7 +2,7 @@ Shoes Tutorial Note
===================
**- For the Shoes App Rookie Creators -**
-Feb. 22th, 2009 by ashbb (Satoshi Asakawa), citizen428 (Michael Kohl), kotp (Victor H. Goff III)
+Feb. 25th, 2009 by ashbb (Satoshi Asakawa), citizen428 (Michael Kohl), kotp (Victor H. Goff III)
Table of contents
-----------------
Please sign in to comment.
Something went wrong with that request. Please try again.