Unified · Split
| @@ -10,12 +10,6 @@ module Docs · 9 unmodified lines | |||
| 10 | 10 | ||
| 11 | options[:root_title] = 'HTML' | 11 | options[:root_title] = 'HTML' |
| 12 | 12 | ||
| 13 | options[:skip] = %w( | ||
| 14 | /index | ||
| 15 | /Element/shadow | ||
| 16 | /Element/webkit-meter-optimum-value | ||
| 17 | ) | ||
| 18 | |||
| 19 | options[:replace_paths] = { | 13 | options[:replace_paths] = { |
| 20 | '/Element/h1' => '/Element/Heading_Elements', | 14 | '/Element/h1' => '/Element/Heading_Elements', |
| 21 | '/Element/h2' => '/Element/Heading_Elements', | 15 | '/Element/h2' => '/Element/Heading_Elements', |
| @@ -11,13 +11,6 @@ module Docs · 10 unmodified lines | |||
| 11 | 11 | ||
| 12 | options[:root_title] = 'JavaScript' | 12 | options[:root_title] = 'JavaScript' |
| 13 | 13 | ||
| 14 | # Don't want | ||
| 15 | options[:skip] = %w( | ||
| 16 | /Methods_Index | ||
| 17 | /Properties_Index | ||
| 18 | /Operators/Legacy_generator_function | ||
| 19 | /Statements/Legacy_generator_function) | ||
| 20 | |||
| 21 | # Duplicates | 14 | # Duplicates |
| 22 | options[:skip].concat %w( | 15 | options[:skip].concat %w( |
| 23 | /Global_Objects | 16 | /Global_Objects |
| @@ -21,8 +21,6 @@ module Docs · 20 unmodified lines | |||
| 21 | end | 21 | end |
| 22 | end | 22 | end |
| 23 | 23 | ||
| 24 | options[:skip] = %w(/Compatibility_sources /FAQ) | ||
| 25 | |||
| 26 | options[:fix_urls] = ->(url) do | 24 | options[:fix_urls] = ->(url) do |
| 27 | url.sub! 'https://developer.mozilla.org/en-US/Web/SVG', Svg.base_url | 25 | url.sub! 'https://developer.mozilla.org/en-US/Web/SVG', Svg.base_url |
| 28 | url.sub! 'https://developer.mozilla.org/en-US/docs/SVG', Svg.base_url | 26 | url.sub! 'https://developer.mozilla.org/en-US/docs/SVG', Svg.base_url |