Преглед на файлове

Remove skip paths of non-existent MDN pages

Florian Scholz преди 2 години
родител
ревизия
46f2a8484b
променени са 3 файла, в които са добавени 0 реда и са изтрити 15 реда
  1. 0 6
      lib/docs/scrapers/mdn/html.rb
  2. 0 7
      lib/docs/scrapers/mdn/javascript.rb
  3. 0 2
      lib/docs/scrapers/mdn/svg.rb

+ 0 - 6
lib/docs/scrapers/mdn/html.rb

@@ -10,12 +10,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',

+ 0 - 7
lib/docs/scrapers/mdn/javascript.rb

@@ -11,13 +11,6 @@ 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(
       /Global_Objects

+ 0 - 2
lib/docs/scrapers/mdn/svg.rb

@@ -21,8 +21,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