[macruby-changes] [869] MacRubyWebsite/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 11 12:37:39 PDT 2009


Revision: 869
          http://trac.macosforge.org/projects/ruby/changeset/869
Author:   rich at infoether.com
Date:     2009-03-11 12:37:39 -0700 (Wed, 11 Mar 2009)
Log Message:
-----------
team and project

Modified Paths:
--------------
    MacRubyWebsite/trunk/content/css/master.css
    MacRubyWebsite/trunk/content/documentation.txt

Added Paths:
-----------
    MacRubyWebsite/trunk/content/project.txt
    MacRubyWebsite/trunk/lib/team.rb

Modified: MacRubyWebsite/trunk/content/css/master.css
===================================================================
--- MacRubyWebsite/trunk/content/css/master.css	2009-03-11 15:33:48 UTC (rev 868)
+++ MacRubyWebsite/trunk/content/css/master.css	2009-03-11 19:37:39 UTC (rev 869)
@@ -58,6 +58,10 @@
   margin-top: 2px;
 }
 
+strong {
+  font-weight: bold;
+}
+
 div#step1 {
   background-image: url(../images/step1.png);
   width: 265px;
@@ -253,4 +257,17 @@
 div#footer p {
   font-size: 10px;
   margin: 0px;
+}
+
+div#project h3 {
+  margin-bottom: 10px;
+}
+
+div#project .affiliation {
+  font-style: italic;
+  color: #666;
+}
+
+div#project .summary {
+  
 }
\ No newline at end of file

Modified: MacRubyWebsite/trunk/content/documentation.txt
===================================================================
--- MacRubyWebsite/trunk/content/documentation.txt	2009-03-11 15:33:48 UTC (rev 868)
+++ MacRubyWebsite/trunk/content/documentation.txt	2009-03-11 19:37:39 UTC (rev 869)
@@ -7,10 +7,13 @@
 ---
 h1(title). <%= h(@page.title) %>
 
-Below are a list of tutorials, articles and recipes for MacRuby.  Tutorials are the longest content and delve deep on a particular area.  Recipes are short and specific examples of how to accomplish something with MacRuby.
+Welcome to MacRuby's documentation center.  Here you will find the information you need to get up and running and building OS X applications with MacRuby in no time.  If you have not read the "Introductory Tutorial":/documentation/tutorial.html, its a great way to get started.  If you are wondering why in the world MacRuby exists you can read that in the "Why MacRuby?":/documentation/why-macruby.html page.
 
-Articles found in the "MacRuby Blog":/blog/index.html
+MacRuby is a free software project by Apple Inc.  Many folks inside and outside of Apple contribute to this great project and we have a "MacRuby Project Team":/project.html page to list them.  Please also catch up on the latest news by following the "MacRuby Blog":/blog or following the project on the "@macruby":http://twitter.com/macruby Twitter account.
 
+Below are a list of tutorials and recipes for MacRuby.  Tutorials are the longest content and delve deep on a particular area.  Recipes are short and specific examples of how to accomplish something with MacRuby.
+
+
 h2. Tutorials
 
 Lists of tutorials...

Added: MacRubyWebsite/trunk/content/project.txt
===================================================================
--- MacRubyWebsite/trunk/content/project.txt	                        (rev 0)
+++ MacRubyWebsite/trunk/content/project.txt	2009-03-11 19:37:39 UTC (rev 869)
@@ -0,0 +1,26 @@
+---
+title:      Project Information
+created_at: 2009-03-11 11:46:35.667508 -04:00
+dirty:      true
+filter:
+  - erb
+---
+<h1 class='title'><%= h(@page.title) %></h1>
+
+<div id="project">
+<p>MacRuby is a free software project by Apple Inc. Sources are available under the Ruby license.</p>
+<p>Lots of folks contribute to the MacRuby project and this is just a list that will keep on growing.</p>
+
+<h3>Project Members</h3>
+
+<% team_members.each do |member| -%>
+  <%= render_member(member) %>
+<% end -%>
+
+<h3>Special Thanks</h3>
+
+<% kudos.each do |kudo| -%>
+  <%= render_kudo(kudo) %>
+<% end -%>
+
+</div>
\ No newline at end of file

Added: MacRubyWebsite/trunk/lib/team.rb
===================================================================
--- MacRubyWebsite/trunk/lib/team.rb	                        (rev 0)
+++ MacRubyWebsite/trunk/lib/team.rb	2009-03-11 19:37:39 UTC (rev 869)
@@ -0,0 +1,44 @@
+module MacRubyTeamHelper
+  
+  Member = Struct.new(:name, :affiliation, :href, :email, :summary)
+  
+  def render_member(member)
+    html = "<p class='project_member'><strong>"
+    html += (member.href ? "<a href='#{member.href}'>#{member.name}</a>" : member.name)
+    html += "</strong>"
+    html += "<span class='affiliation'>, #{member.affiliation}</span>" if member.affiliation
+    html += "<br><span class='summary'>#{member.summary}</span>"
+    html += "</p>"
+    html
+  end
+  
+  def team_members
+    [
+      Member.new("Laurent Sansonetti", "Apple, Inc.", nil, "lsansonetti at apple.com", "Project Lead"),
+      Member.new("Rich Kilmer", "InfoEther, Inc.", "http://www.infoether.com", "rich at infoether.com", "HotCocoa"),
+      Member.new("Ben Stiglitz", "Apple, Inc.", nil, "stig at apple.com", "All things OS X"),
+      Member.new("Patrick Thomson", "Apple, Inc.", nil, "pthomson at apple.com", "All things OS X"),
+      Member.new("Eloy Duran", nil, nil, "eloy.de.enige at gmail.com", "Testing")
+    ]
+  end
+  
+  Kudo = Struct.new(:name, :href, :reason)
+  
+  def render_kudo(kudo)
+    html = "<p class='project_kudo'><strong>"
+    html += (kudo.href ? "<a href='#{kudo.href}'>#{kudo.name}</a>" : kudo.name)
+    html += "</strong>"
+    html += "<br><span class='summary'>#{kudo.reason}</span>"
+    html += "</p>"
+    html
+  end
+  
+  def kudos
+    [
+      Kudo.new("John Athayde", "http://www.boboroshi.com", "Website design, layout, graphics, cool icon!"),
+      Kudo.new("MacOSForge", "http://macosforge.org", "Hosting the MacRuby project")
+    ]
+  end
+end
+
+Webby::Helpers.register(MacRubyTeamHelper)
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090311/0a2d3294/attachment.html>


More information about the macruby-changes mailing list