Remove skip paths of non-existent MDN pages

pull/1967/head
Florian Scholz 2 years ago
parent e0824c33a5
commit 46f2a8484b
No known key found for this signature in database
GPG Key ID: F30F7057B7B72D50

@ -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',

@ -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

@ -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

Loading…
Cancel
Save