<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,179 +3,15 @@ module PDoc
     module Html
       module Helpers
         module BaseHelper
-          def content_tag(tag_name, content, attributes = {})
-            &quot;&lt;#{tag_name}#{attributes_to_html(attributes)}&gt;#{content}&lt;/#{tag_name}&gt;&quot;
-          end
-
-          def img_tag(filename, attributes = {})
-            attributes.merge! :src =&gt; &quot;#{path_prefix}images/#{filename}&quot;
-            tag(:img, attributes)
-          end
-
-          def tag(tag_name, attributes = {})
-            &quot;&lt;#{tag_name}#{attributes_to_html(attributes)} /&gt;&quot;
-          end
-          
-          def link_to(name, path, attributes={})
-            content_tag(:a, name, attributes.merge(:href =&gt; path))
-          end
-          
-          def htmlize(markdown)
-            BlueCloth.new(markdown).to_html
-          end
-          
-          # Gah, what an ugly hack.
-          def inline_htmlize(markdown)
-            htmlize(markdown).gsub(/^&lt;p&gt;/, '').gsub(/&lt;\/p&gt;$/, '')
-          end
-          
-          def javascript_include_tag(*names)
-            names.map do |name|
-              attributes = {
-                :src =&gt; &quot;#{path_prefix}javascripts/#{name}.js&quot;,
-                :type =&gt; &quot;text/javascript&quot;,
-                :charset =&gt; &quot;utf-8&quot;
-              }
-              content_tag(:script, &quot;&quot;, attributes)
-            end.join(&quot;\n&quot;)
-          end
-
-          def stylesheet_link_tag(*names)
-            names.map do |name|
-              attributes = {
-                :href =&gt; &quot;#{path_prefix}stylesheets/#{name}.css&quot;,
-                :type =&gt; &quot;text/css&quot;,
-                :media =&gt; &quot;screen, projection&quot;,
-                :charset =&gt; &quot;utf-8&quot;,
-                :rel =&gt; &quot;stylesheet&quot;
-              }
-              tag(:link, attributes)
-            end.join(&quot;\n&quot;)
-          end
-          
-          private
-            def attributes_to_html(attributes)
-              attributes.map { |k, v| v ? &quot; #{k}=\&quot;#{v}\&quot;&quot; : &quot;&quot; }.join
-            end
         end
         
         module LinkHelper
-          def path_prefix
-            &quot;../&quot; * depth
-          end
-
-          def path_to(obj)
-            return path_to_section(obj) if obj.is_a?(Documentation::Section)
-            path = path_prefix &lt;&lt; [obj.section.name.downcase].concat(obj.namespace_string.downcase.split('.')).join(&quot;/&quot;)
-            has_own_page?(obj) ? &quot;#{path}/#{obj.id.downcase}.html&quot; : &quot;#{path}.html##{dom_id(obj)}&quot;
-          end
-          
-          def path_to_section(obj)
-            &quot;#{path_prefix}#{obj.id.gsub(/\s/, '_')}.html&quot;
-          end
-          
-          def section_from_name(name)
-            root.sections.find { |section| section.name == name }
-          end          
-
-          def auto_link(obj, short = true, attributes = {})
-            if obj.is_a?(String) &amp;&amp; obj =~ /\ssection$/
-              obj = section_from_name(obj.gsub(/\ssection$/, ''))
-            end
-            obj.sub!('...', '&#8230;') if obj.is_a?(String)
-            if obj.is_a?(String) &amp;&amp; obj.strip =~ /^\[.+\]$|\|/
-              return obj.gsub(/[^\],.&#8230;\s\|\[]+/) { |item| auto_link(item, short, attributes) }
-            end
-            obj = root.find_by_name(obj) || obj if obj.is_a?(String)
-            return nil if obj.nil?
-            return obj if obj.is_a?(String)
-            name = short ? obj.name : obj.full_name
-            link_to(name, path_to(obj), { :title =&gt; &quot;#{obj.full_name} (#{obj.type})&quot; }.merge(attributes))
-          end
-          
-          def auto_link_code(obj, short = true, attributes = {})
-            return &quot;&lt;code&gt;#{auto_link(obj, short, attributes)}&lt;/code&gt;&quot;
-          end
-
-          def auto_link_content(content)
-            content.gsub!(/\[\[([a-zA-Z]+)\s+section\]\]/) do |m|
-              result = auto_link(section_from_name($1), false)
-              result
-            end
-            content.gsub(/\[\[([a-zA-Z$\.#]+)(?:\s+([^\]]+))?\]\]/) do |m|
-              if doc_instance = root.find_by_name($1)
-                $2 ? link_to($2, path_to(doc_instance)) :
-                  auto_link_code(doc_instance, false)
-              else
-                $1
-              end
-            end
-          end
-          
-          def dom_id(obj)
-            &quot;#{obj.id}-#{obj.type.gsub(/\s+/, '_')}&quot;
-          end
-          
-          private
-            def has_own_page?(obj)
-              obj.is_a?(Documentation::Namespace) || obj.is_a?(Documentation::Utility)
-            end
         end
         
         module CodeHelper
-          def method_synopsis(object)
-            result = []
-            result &lt;&lt; '&lt;pre class=&quot;syntax&quot;&gt;&lt;code class=&quot;ebnf&quot;&gt;'
-            if object.is_a?(Documentation::Property)
-              result &lt;&lt; &quot;#{object.signature}&quot;
-            else
-              ebnfs = object.ebnf_expressions.dup
-              if object.is_a?(Documentation::KlassMethod) &amp;&amp; object.methodized?
-                result &lt;&lt; &quot;#{object.static_signature} &amp;rArr; #{auto_link(object.returns, false)}&lt;br /&gt;&quot;
-                result &lt;&lt; &quot;#{object.signature} &amp;rArr; #{auto_link(object.returns, false)}&quot;
-                ebnfs.shift
-                result.last &lt;&lt; '&lt;br /&gt;' unless ebnfs.empty?
-              end
-              ebnfs.each do |ebnf|
-                result &lt;&lt; &quot;#{ebnf.signature} &amp;rArr; #{auto_link(ebnf.returns, false)}&quot;
-              end
-            end
-            result &lt;&lt; '&lt;/code&gt;&lt;/pre&gt;'
-            result.join('')
-          end
         end
         
         module MenuHelper
-          def menu(obj)
-            class_names = menu_class_name(obj)
-            html = &lt;&lt;-EOS
-              &lt;div class='menu-item'&gt;
-                #{auto_link(obj, false, :class =&gt; class_names_for(obj))}
-              &lt;/div&gt;
-            EOS
-            unless obj.children.empty?
-              html &lt;&lt; content_tag(:ul, obj.children.map { |n|menu(n) }.join(&quot;\n&quot;))
-            end
-            content_tag(:li, html, :class =&gt; class_names)
-          end
-
-          def menu_class_name(obj)
-            if !doc_instance
-              nil
-            elsif obj == doc_instance
-              &quot;current&quot;
-            elsif obj.descendants.include?(doc_instance)
-              &quot;current-parent&quot;
-            else
-              nil
-            end
-          end
-          
-          def class_names_for(obj)
-            classes = [obj.type.gsub(/\s+/, '-')]
-            classes &lt;&lt; &quot;deprecated&quot; if obj.deprecated?
-            classes.join(&quot; &quot;)
-          end
         end
       end
     end</diff>
      <filename>templates/html/helpers.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-Subproject commit 6fc6b3510554801fb300068a51562c9959b5b46c
+Subproject commit 285f6c47a73ea5eb1bd70c4496feddefad6ff901</diff>
      <filename>vendor/pdoc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>24141e91c1027bd40d30a1cacd31f229f79725d5</id>
    </parent>
  </parents>
  <author>
    <name>Tobie Langel</name>
    <email>tobie.langel@gmail.com</email>
  </author>
  <url>http://github.com/sstephenson/prototype/commit/a0f5af8c43fd64afdc7c9cbe1bf9b16f8f5cb20d</url>
  <id>a0f5af8c43fd64afdc7c9cbe1bf9b16f8f5cb20d</id>
  <committed-date>2009-08-22T19:56:49-07:00</committed-date>
  <authored-date>2009-08-22T19:56:49-07:00</authored-date>
  <message>doc: Update PDoc. Empty the ruby helpers which are again part of PDoc.</message>
  <tree>b25f72e882299fc2af23d9058aebe9328ea7434d</tree>
  <committer>
    <name>Tobie Langel</name>
    <email>tobie.langel@gmail.com</email>
  </committer>
</commit>
