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