|
|
@@ -6,7 +6,7 @@ module Docs
|
|
|
|
|
|
at_css('h1').content = 'Apache Cordova' if root_page?
|
|
|
|
|
|
- css('hr', '.content-header', 'button').remove
|
|
|
+ css('hr', '.content-header', 'button', '.docs-alert').remove
|
|
|
|
|
|
css('.home', '#page-toc-source', '.highlight', 'th h2').each do |node|
|
|
|
node.before(node.children).remove
|
|
|
@@ -29,6 +29,10 @@ module Docs
|
|
|
node['id'] = node.content.strip.parameterize
|
|
|
end
|
|
|
|
|
|
+ css('> table:first-child + h1').each do |node|
|
|
|
+ node.previous_element.remove
|
|
|
+ end
|
|
|
+
|
|
|
doc
|
|
|
end
|
|
|
end
|