mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
chore: oliver's review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
parent
cd1b0ad78e
commit
ae8a928cbe
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ module Docs
|
|||
class CleanHtmlFilter < Filter
|
||||
def call
|
||||
css('.summary_toggle', '.inheritanceTree', 'h1 .note', '.source_code', '.box_info dl:last-child').remove
|
||||
css('a[href*="travis"]', 'a[href*="gemnasium"]', 'a[href*="codeclimate"]', 'a[href*="discord"]').remove if root_page?
|
||||
css('a[href*="travis"]', 'a[href*="gemnasium"]', 'a[href*="codeclimate"]', 'a[href*="gitter"]').remove if root_page?
|
||||
|
||||
css('.signature').each do |node|
|
||||
node.name = 'h3'
|
||||
|
|
Loading…
Reference in a new issue