<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/controllers/manual_controller.rb</filename>
    </added>
    <added>
      <filename>app/helpers/manual_helper.rb</filename>
    </added>
    <added>
      <filename>app/views/manual/index.dryml</filename>
    </added>
    <added>
      <filename>app/views/manual/manual_section.dryml</filename>
    </added>
    <added>
      <filename>test/functional/manual_controller_test.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -38,8 +38,9 @@
 
 &lt;def tag=&quot;view&quot; for=&quot;markdown&quot;&gt;&lt;%=
   begin
-    defs = this_parent.images.map { |img| &quot;[#{img.id}]: #{img.image.url}&quot; }.join(&quot;\n&quot;)
-    md = this + &quot;\n\n&quot; + defs
+    images = this_parent._?.images
+    defs = images.map { |img| &quot;[#{img.id}]: #{img.image.url}&quot; }.join(&quot;\n&quot;) if images
+    md = &quot;#{this}\n\n#{defs}&quot;
     Maruku.new(md).to_html
   rescue =&gt; e
     &quot;[Uh oh - looks like there was a problem with this markdown]&quot;
@@ -66,8 +67,9 @@
 
 &lt;def tag=&quot;main-nav&quot;&gt;
   &lt;navigation class=&quot;main-nav&quot; merge-attrs&gt;
-    &lt;nav-item with=&quot;&amp;ApiTaglib&quot;&gt;Taglibs&lt;/nav-item&gt;
-    &lt;nav-item with=&quot;&amp;Recipe&quot;&gt;Recipes&lt;/nav-item&gt;
+    &lt;nav-item href=&quot;#{base_url}/manual&quot;&gt;Manual&lt;/nav-item&gt;
+    &lt;nav-item with=&quot;&amp;ApiTaglib&quot;        &gt;Taglibs&lt;/nav-item&gt;
+    &lt;nav-item with=&quot;&amp;Recipe&quot;           &gt;Recipes&lt;/nav-item&gt;
   &lt;/navigation&gt;
 &lt;/def&gt;
 
@@ -191,11 +193,20 @@
 
 &lt;def tag=&quot;api-navigation&quot; attrs=&quot;current&quot;&gt;
   &lt;h2&gt;&lt;a with=&quot;&amp;ApiTaglib&quot;&gt;Tag Libraries&lt;/a&gt;&lt;/h2&gt;
-  &lt;navigation&gt;
-    &lt;repeat with=&quot;&amp;ApiTaglib.all unless this.try.member_class == ApiTaglib&quot;&gt;&lt;nav-item&gt;&lt;%= this.name.titleize %&gt;&lt;/nav-item&gt;
-    &lt;ul if=&quot;&amp;current.is_a?(ApiTaglib) &amp;&amp; current == this || current.is_a?(ApiTagDef) &amp;&amp; current.in?(this.tags)&quot;&gt;
-      &lt;li class=&quot;#{'current' if this == current}&quot; repeat=&quot;tags&quot;&gt;&lt;tag-def-link/&gt;&lt;/li&gt;
-    &lt;/ul&gt;
+  &lt;navigation current=&quot;&amp;current&quot;&gt;
+    &lt;repeat with=&quot;&amp;ApiTaglib.all unless this.try.member_class == ApiTaglib&quot;&gt;
+      &lt;nav-item&gt;&lt;%= this.name.titleize %&gt;&lt;/nav-item&gt;
+      &lt;ul if=&quot;&amp;current.is_a?(ApiTaglib) &amp;&amp; current == this || current.is_a?(ApiTagDef) &amp;&amp; current.in?(this.tags)&quot;&gt;
+        &lt;li class=&quot;#{'current' if this == current}&quot; repeat=&quot;tags&quot;&gt;&lt;tag-def-link/&gt;&lt;/li&gt;
+      &lt;/ul&gt;
     &lt;/repeat&gt;
   &lt;/navigation&gt;
 &lt;/def&gt;
+
+
+&lt;def tag=&quot;manual-navigation&quot;&gt;
+  &lt;h2&gt;Chapters&lt;/h2&gt;
+  &lt;navigation current=&quot;@title&quot;&gt;
+    &lt;nav-item repeat=&quot;&amp;ManualController::TITLES&quot; href=&quot;#{base_url}/manual/#{this_key}&quot;&gt;&lt;%= this %&gt;&lt;/nav-item&gt;
+  &lt;/navigation&gt;
+&lt;/def&gt;</diff>
      <filename>app/views/taglibs/application.dryml</filename>
    </modified>
    <modified>
      <diff>@@ -2,6 +2,9 @@ ActionController::Routing::Routes.draw do |map|
 
   map.site_search  'search', :controller =&gt; 'front', :action =&gt; 'search'
   map.homepage '', :controller =&gt; 'front', :action =&gt; 'index'
+  
+  map.manual 'manual',          :controller =&gt; 'manual', :action =&gt; 'index'
+  map.manual 'manual/:section', :controller =&gt; 'manual', :action =&gt; 'manual_section'
 
   Hobo.add_routes(map)
 </diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -166,6 +166,9 @@ a.gravatar {display: block; border: 1px solid #ccc; background: #ccc; padding: 2
 .aside-content .navigation ul li a.undocumented {color: #B19640;}
 .aside-content ul ul li.current a {color: #FFC000;}
 
+body.manual .last-update {float:right; font-style: italic; font-size: 90%;}
+.content .aside { background:#EEEEEE;border:1px solid #BBB; margin:20px 0px; padding:10px; width:auto;}
+
 
 /* === Code Highlighting === */
 </diff>
      <filename>public/stylesheets/application.css</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dc7384d57db22e70ee6a5431ba3ed4fa74cf60d5</id>
    </parent>
  </parents>
  <author>
    <name>Tom Locke</name>
    <email>tom@tomlocke.com</email>
  </author>
  <url>http://github.com/tablatom/hobocookbook/commit/ad04fedb8755982a942c84105a3c51a6b197e246</url>
  <id>ad04fedb8755982a942c84105a3c51a6b197e246</id>
  <committed-date>2008-11-01T03:23:59-07:00</committed-date>
  <authored-date>2008-11-01T03:23:59-07:00</authored-date>
  <message>Adding manual</message>
  <tree>16bd8901c1675b080f4b0daf877b4b5bd9bd2658</tree>
  <committer>
    <name>Tom Locke</name>
    <email>tom@tomlocke.com</email>
  </committer>
</commit>
