<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,27 @@
 .left_menu
-  .index.link.header{ :onclick =&gt; &quot;activate_menu('.index');&quot;}
-    = link_to &quot;Documentation&quot;, { :controller=&gt;'documentations', :action =&gt; :index}
-  .index.elements
-    //= render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; 'Line', :url =&gt; { :controller=&gt;'chart_examples', :action =&gt; &quot;line&quot; }}
+  .main.link.header{ :onclick =&gt; &quot;activate_menu('.main');&quot;}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;General information&quot;, :url =&gt; { :controller=&gt;'/documentations/main', :action =&gt; 'index'}}
+  .main.elements
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;About documentation&quot;, :url =&gt; { :controller=&gt;'/documentations/main', :action =&gt; 'index'}}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;How its's works&quot;, :url =&gt; { :controller=&gt;'/documentations/main', :action =&gt; 'how_it_works' }}
+  .graph.link.header{ :onclick =&gt; &quot;activate_menu('.graph');&quot;}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;Graph&quot;, :url =&gt; { :controller=&gt;'/documentations/graph', :action =&gt; 'index'}}
+  .graph.elements
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;title&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :title }}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;elements&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :elements }}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;radar_axis&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :radar_axis }}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;x_axis&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :x_axis }}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;y_axis&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :y_axis }}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;y_axis_right&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :y_axis_right }}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;x_legend&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :x_legend }}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;y_legend&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :y_legend }}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;y2_legend&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :y2_legend }}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;bg_colour&quot;, :url =&gt; { :controller =&gt; '/documentations/graph', :action =&gt; :bg_colour }}
+  .title.link.header{ :onclick =&gt; &quot;activate_menu('.title');&quot;}
+    = render :partial =&gt; '/share/sublink', :locals =&gt; {:name =&gt; &quot;Title&quot;, :url =&gt; { :controller=&gt;'/documentations/title', :action =&gt; 'index'}}
+  .title.elements
 
 - pattern = ''
-- %w(index).each do |p|
-  - pattern = '.'+p if action_name =~ /.*#{p}.*/
+- %w(main graph title).each do |p|
+  - pattern = '.'+p if controller_name =~ /.*#{p}.*/
 = javascript_tag &quot;activate_menu('#{pattern}');&quot;</diff>
      <filename>app/views/share/_documentation_menu.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,10 @@
-- case controller_name
-- when  'documentations'
+-# case controller_path
+- case request.url
+- when  /documentations/
   =render :partial =&gt; 'share/documentation_menu'
-- when  'infos'
+- when  /infos/
   =render :partial =&gt; 'share/infos_menu'
-- when  'chart_examples'
+- when  /chart_examples/
   =render :partial =&gt; 'share/chart_examples_menu'
-- when  'welcome'
+- when  /welcome/
   =render :partial =&gt; 'share/welcome_menu'</diff>
      <filename>app/views/share/_left_menu.haml</filename>
    </modified>
    <modified>
      <diff>@@ -3,19 +3,19 @@
     OFC2 4 Rails
   - active_class = controller_name =~ /.*infos.*/ ? 'active' : ''
   .link_main{:class =&gt;active_class }
-    = link_to &quot;Info&quot;, { :controller=&gt;'infos'}
+    = link_to &quot;Info&quot;, { :controller=&gt;'/infos'}
 
   .link_main
-    = link_to &quot;Grab it!&quot;, { :controller=&gt;'infos', :action =&gt; &quot;install&quot; }
+    = link_to &quot;Grab it!&quot;, { :controller=&gt;'/infos', :action =&gt; &quot;install&quot; }
 
-  - active_class = controller_name =~ /.*documentations.*/ ? 'active' : ''
+  - active_class = request.url =~ /.*documentations.*/ ? 'active' : ''
   .link_main{:class =&gt; active_class }
-    = link_to &quot;Documentation&quot;, { :controller=&gt;'documentations', :action =&gt; :index}
+    = link_to &quot;Documentation&quot;, { :controller=&gt;'/documentations/main', :action =&gt; :index}
 
   - active_class = controller_name =~ /.*chart_examples.*/ ? 'active' : ''
   .link_main{:class =&gt; active_class }
-    = link_to &quot;Charts&quot;, { :controller=&gt;'chart_examples', :action =&gt; :line}
+    = link_to &quot;Charts&quot;, { :controller=&gt;'/chart_examples', :action =&gt; :line}
 
   - active_class = controller_name =~ /.*welcome.*/ ? 'active' : ''
   .link_main{:class =&gt; active_class }
-    = link_to &quot;Home&quot;, { :controller=&gt;'welcome'}
+    = link_to &quot;Home&quot;, { :controller=&gt;'/welcome'}</diff>
      <filename>app/views/share/_main_menu.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
 - url ||= {}
-- active_class = action_name == url[:action] ? 'active' : ''
+- active_class = action_name == url[:action].to_s ? 'active' : ''
 .link{:class =&gt;active_class }
   = link_to name, url
\ No newline at end of file</diff>
      <filename>app/views/share/_sublink.haml</filename>
    </modified>
    <modified>
      <diff>@@ -40,7 +40,26 @@ ActionController::Routing::Routes.draw do |map|
   # Install the default routes as the lowest priority.
   # Note: These default routes make all actions in every controller accessible via GET requests. You should
   # consider removing the them or commenting them out if you're using named routes and resources.
-#  map.connect ':controller/:action'
+  #  map.connect ':controller/:action'
   map.connect ':controller/:action/:id'
   map.connect ':controller/:action/:id.:format'
+
+  map.namespace :documentations do |documentation|
+    documentation.resources :main, :collection =&gt; {
+      :how_it_works =&gt; :get
+    }
+    documentation.resources :graph, :collection =&gt; {
+      :title =&gt; :get,
+      :elsements =&gt; :get,
+      :radar_axis =&gt; :get,
+      :x_axis =&gt; :get,
+      :y_axis  =&gt; :get,
+      :y_axis_right  =&gt; :get,
+      :x_legend  =&gt; :get,
+      :y_legend  =&gt; :get,
+      :y2_legend  =&gt; :get,
+      :bg_colour =&gt; :get,
+    }
+    documentation.resources :title
+  end
 end</diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -147,6 +147,67 @@ body {
   width: 100%;
   font-size: 15px; }
 
+table.usual {
+  border-width: 1px;
+  border-color: black;
+  border-style: solid;
+  border-collapse: collapse;
+  empty-cells: show; }
+  table.usual th {
+    border-width: 1px;
+    border-color: black;
+    border-style: solid;
+    background-color: #afafaf;
+    color: black;
+    text-align: center;
+    vertical-align: center;
+    padding: 2px 5px; }
+  table.usual td {
+    border-width: 1px;
+    border-color: black;
+    border-style: solid;
+    background-color: white;
+    color: black;
+    text-align: center;
+    vertical-align: center;
+    padding: 2px 5px; }
+
+.tip {
+  color: black;
+  overflow: auto;
+  min-height: 40px;
+  width: 100%;
+  margin: 2px;
+  padding: 2px;
+  padding-left: 40px;
+  border-style: solid;
+  border-width: 1px;
+  border-color: black; }
+  .tip.information {
+    background-color: #c6c1ff;
+    background-image: url('/images/information.png');
+    background-repeat: no-repeat;
+    background-position: center left; }
+  .tip.warning {
+    background-color: #fcff9d;
+    background-image: url('/images/warning.png');
+    background-repeat: no-repeat;
+    background-position: center left; }
+  .tip.example {
+    background-color: white;
+    background-image: url('/images/example.png');
+    background-repeat: no-repeat;
+    background-position: center left; }
+    .tip.example .header {
+      width: 100%;
+      font-weight: bolder; }
+    .tip.example .description {
+      width: 100%; }
+    .tip.example .chart {
+      width: 100%; }
+    .tip.example .code {
+      width: 100%; }
+
 .note {
   background-color: white;
   color: blue;</diff>
      <filename>public/stylesheets/main.css</filename>
    </modified>
    <modified>
      <diff>@@ -146,6 +146,73 @@ body
   :overflow auto
   :width 100%
   :font-size 15px
+table.usual
+  :border
+    :width 1px
+    :color black
+    :style solid
+    :collapse collapse
+  :empty-cells show
+  th
+    :border
+      :width 1px
+      :color black
+      :style solid
+    :background-color #afafaf
+    :color black
+    :text-align center
+    :vertical-align center
+    :padding 2px 5px
+  td
+    :border
+      :width 1px
+      :color black
+      :style solid
+    :background-color white
+    :color black
+    :text-align center
+    :vertical-align center
+    :padding 2px 5px
+.tip
+  :color black
+  :overflow auto
+  :min-height 40px
+  :width 100%
+  :margin 2px
+  :padding 2px
+  :padding-left 40px
+  :border
+    :style solid
+    :width 1px
+    :color black
+  &amp;.information
+    :background-color #c6c1ff
+    :background
+      :image url('/images/information.png')
+      :repeat no-repeat
+      :position center left
+  &amp;.warning
+    :background-color #fcff9d
+    :background
+      :image url('/images/warning.png')
+      :repeat no-repeat
+      :position center left
+  &amp;.example
+    :background-color white
+    :background
+      :image url('/images/example.png')
+      :repeat no-repeat
+      :position center left
+    .header
+      :width 100%
+      :font-weight bolder
+    .description
+      :width 100%
+    .chart
+      :width 100%
+    .code
+      :width 100%
+
 .note
   :background-color white
   :color blue</diff>
      <filename>public/stylesheets/sass/main.sass</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/controllers/documentations_controller.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/chart_examples_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/charts_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/documentations_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/infos_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/plugin_documentation_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/welcome_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/views/documentations/index.haml</filename>
    </removed>
    <removed>
      <filename>test/functional/documentations_controller_test.rb</filename>
    </removed>
    <removed>
      <filename>test/unit/helpers/documentations_helper_test.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>533e15af8a8927c2d155cbdf5e8b5a172f476886</id>
    </parent>
  </parents>
  <author>
    <name>Rafa&#322;</name>
    <email>lisukorin@gmail.com</email>
  </author>
  <url>http://github.com/korin/open_flash_chart_2/commit/5b501a84a360a80be90607e476b907f9607a9148</url>
  <id>5b501a84a360a80be90607e476b907f9607a9148</id>
  <committed-date>2009-05-09T15:02:13-07:00</committed-date>
  <authored-date>2009-05-09T15:02:13-07:00</authored-date>
  <message>add first part of documentation</message>
  <tree>dd2174a475d0a392f62eb3cee335ea3889e9c589</tree>
  <committer>
    <name>Rafa&#322;</name>
    <email>lisukorin@gmail.com</email>
  </committer>
</commit>
