forked from Ap0ught-Old/macruby_website
/
documentation.txt
89 lines (78 loc) · 3.39 KB
/
documentation.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
title: Learning About MacRuby
created_at: 2009-03-07 16:48:32.084407 -05:00
dirty: true
filter:
- erb
- textile
---
h2(headerText lobsterFont). <%= h(@page.title) %>
<section class="blockMain">
<p>
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.
</p>
<p>
If you are wondering why in the world MacRuby exists you can read that in the "Why MacRuby?":/documentation/why-macruby.html page. If you want documentation on HotCocoa you can "find it here":/hotcocoa.html. You can catch up on the latest news by following the "MacRuby Blog":/blog.
</p>
<p>
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.
</p>
<p>
In addition to the documentation available here, MacRuby team member, "Matt Aimonetti":http://merbist.com keeps a HTML version of the manuscript of his "O'Reilly book":http://ofps.oreilly.com/titles/9781449380373/ online and available for free at "this url":http://ofps.oreilly.com/titles/9781449380373/.
</p>
h3(headerText lobsterFont). Screencasts
<section class="block">
<ul class="alternatingRows">
<% macruby_screencasts.each do |screencast| -%>
<li>
<span class="date"><%= screencast.date %></span>
<span class="name"><a href="<%= screencast.href %>"><%= screencast.name %></a></span>
<span class="author"><%= screencast.author%> <%= "(#{screencast.company})" if screencast.company %></span>
</li>
<% end -%>
</ul>
</section>
h3(headerText lobsterFont). Tutorials
<section class="block">
<ul class="alternatingRows">
<%
tutorials = @pages.find(:all, :in_directory => @page.dir, :recursive => true,
:sort_by => "updated_at", :reverse => true, :tutorial => true)
tutorials.delete(@page)
tutorials.each do |page|
-%>
<li><span class="date"><%= page.updated_at.strftime('%Y-%m-%d') %></span><span class="name"><%= link_to_page(page) %></span><%= new_or_updated_indicator(page) %><span class="author">By <%= member_name(page.author) %></span>
<% end -%>
</ul>
</section>
h3(headerText lobsterFont). Recipes
<section class="block">
<ul class="alternatingRows">
<%
recipes = @pages.find(:all, :in_directory => @page.dir, :recursive => true,
:sort_by => "created_at", :reverse => true, :recipe => true)
recipes.delete(@page)
-%>
<% if recipes.empty? -%>
<li><span class='author'>No recipes have been written yet.</span>
<% else
recipes.each do |page|
-%>
<li><span class="date"><%= page.created_at.strftime('%Y-%m-%d') %></span><span class="name"><%= link_to_page(page) %></span><span class="author">By <%= member_name(page.author) %></span>
<% end -%>
<% end -%>
</ul>
</section>
h3(headerText lobsterFont). Talks
<section class="block">
<ul class="alternatingRows">
<% macruby_talks.each do |talk| -%>
<li>
<span class="date"><%= talk.date %></span>
<span class="name"><a href="<%= talk.href %>"><%= talk.name %></a> <%= "<a href='#{talk.slides_href}'>(slides)</a>" if talk.slides_href %></span>
<span class="author"><%= talk.author%> <%= "(#{talk.location})" if talk.location %></span>
</li>
<% end -%>
</ul>
</section>
</section>