Fix document style

Fix some 'pre' tags that lost their style
pull/1419/head
MasterEnoc 4 years ago
parent a8c5c31712
commit b97128f5b9

@ -19,10 +19,6 @@ module Docs
node.content = node.content
end
css('.highlight', 'section', 'div.highlighter-rouge', 'a > p', 'li > h1').each do |node|
node.before(node.children).remove
end
css('h2, h3, h4').each do |node|
node.name = node.name.sub(/\d/) { |i| i.to_i + 1 }
end
@ -46,6 +42,8 @@ module Docs
css('> .infobox:last-child:contains("Contribute:")').remove
css('.additional-help').remove
doc
end
end

Loading…
Cancel
Save