Clean footer from R packages

Only exist in the newer way of building html pages, via configure
pull/1547/head
Cimbali 4 years ago
parent 3194a3f3e5
commit 42731d6407

@ -16,6 +16,8 @@ module Docs
summary = at_css('table[summary]') summary = at_css('table[summary]')
summary.remove if summary summary.remove if summary
css('hr ~ *, hr').remove
elsif slug_parts[-2] == 'manual' elsif slug_parts[-2] == 'manual'
css('table.menu, div.header, hr, h2.contents-heading, div.contents, table.index-cp, table.index-vr, table[summary]').remove css('table.menu, div.header, hr, h2.contents-heading, div.contents, table.index-cp, table.index-vr, table[summary]').remove

Loading…
Cancel
Save