Quellcode durchsuchen

Clean footer from R packages

Only exist in the newer way of building html pages, via configure
Cimbali vor 4 Jahren
Ursprung
Commit
42731d6407
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      lib/docs/filters/r/clean_html.rb

+ 2 - 0
lib/docs/filters/r/clean_html.rb

@@ -16,6 +16,8 @@ module Docs
           summary = at_css('table[summary]')
           summary.remove if summary
 
+          css('hr ~ *, hr').remove
+
         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