diff --git a/lib/docs/scrapers/mdn/html.rb b/lib/docs/scrapers/mdn/html.rb index 4857b702..df628595 100644 --- a/lib/docs/scrapers/mdn/html.rb +++ b/lib/docs/scrapers/mdn/html.rb @@ -14,12 +14,6 @@ module Docs options[:root_title] = 'HTML' - options[:skip] = %w( - /index - /Element/shadow - /Element/webkit-meter-optimum-value - ) - options[:replace_paths] = { '/Element/h1' => '/Element/Heading_Elements', '/Element/h2' => '/Element/Heading_Elements', diff --git a/lib/docs/scrapers/mdn/javascript.rb b/lib/docs/scrapers/mdn/javascript.rb index b935ff9e..2adc5862 100644 --- a/lib/docs/scrapers/mdn/javascript.rb +++ b/lib/docs/scrapers/mdn/javascript.rb @@ -15,15 +15,8 @@ module Docs options[:root_title] = 'JavaScript' - # Don't want - options[:skip] = %w( - /Methods_Index - /Properties_Index - /Operators/Legacy_generator_function - /Statements/Legacy_generator_function) - # Duplicates - options[:skip].concat %w( + options[:skip] = %w( /Global_Objects /Operators /Statements) diff --git a/lib/docs/scrapers/mdn/svg.rb b/lib/docs/scrapers/mdn/svg.rb index 3fc67113..74150202 100644 --- a/lib/docs/scrapers/mdn/svg.rb +++ b/lib/docs/scrapers/mdn/svg.rb @@ -25,8 +25,6 @@ module Docs end end - options[:skip] = %w(/Compatibility_sources /FAQ) - options[:fix_urls] = ->(url) do url.sub! 'https://developer.mozilla.org/en-US/Web/SVG', Svg.base_url url.sub! 'https://developer.mozilla.org/en-US/docs/SVG', Svg.base_url