Skip to content

Commit 42731d6

Browse files
committed
Clean footer from R packages
Only exist in the newer way of building html pages, via configure
1 parent 3194a3f commit 42731d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/docs/filters/r/clean_html.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ def call
1616
summary = at_css('table[summary]')
1717
summary.remove if summary
1818

19+
css('hr ~ *, hr').remove
20+
1921
elsif slug_parts[-2] == 'manual'
2022
css('table.menu, div.header, hr, h2.contents-heading, div.contents, table.index-cp, table.index-vr, table[summary]').remove
2123

0 commit comments

Comments
 (0)