mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Clean footer from R packages
Only exist in the newer way of building html pages, via configure
This commit is contained in:
parent
3194a3f3e5
commit
42731d6407
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue