diff --git a/lib/docs/filters/padrino/clean_html.rb b/lib/docs/filters/padrino/clean_html.rb
index 197ac410..e2b91705 100644
--- a/lib/docs/filters/padrino/clean_html.rb
+++ b/lib/docs/filters/padrino/clean_html.rb
@@ -2,16 +2,7 @@ module Docs
class Padrino
class CleanHtmlFilter < Filter
def call
- title = at_css('#filecontents h1')
- @doc = at_css('#content')
-
- css('.highlight').each do |node|
- node.name = 'pre'
- node['data-lang'] = node.at_css('[data-lang]')['data-lang']
- node.content = node.content
- end
-
- doc
+ at_css('#content')
end
end
end
diff --git a/lib/docs/filters/padrino/entries.rb b/lib/docs/filters/padrino/entries.rb
index 0596e4ca..e3789376 100644
--- a/lib/docs/filters/padrino/entries.rb
+++ b/lib/docs/filters/padrino/entries.rb
@@ -2,15 +2,13 @@ module Docs
class Padrino
class EntriesFilter < Docs::EntriesFilter
def get_name
- node = at_css('h1')
- result = node.content.strip
- result << ' event' if type == 'Events'
- result << '()' if node['class'].try(:include?, 'function')
- result
+ at_css('h1, h2').content
end
def get_type
- return 'Ruby'
+ type = name.dup
+ type.remove! %r{#.+\z}
+ type.split('::')[0..2].join('::')
end
end
end
diff --git a/lib/docs/scrapers/padrino.rb b/lib/docs/scrapers/padrino.rb
index 15409509..49cbcbd7 100644
--- a/lib/docs/scrapers/padrino.rb
+++ b/lib/docs/scrapers/padrino.rb
@@ -4,6 +4,7 @@ module Docs
self.slug = 'padrino'
self.type = 'ruby'
self.version = 'master'
+ self.release = '0.13.2'
self.base_url = 'http://www.rubydoc.info/github/padrino/padrino-framework'
self.links = {
home: 'http://padrinorb.com/',