Unified · Split
| @@ -10,12 +10,6 @@ module Docs · 9 unmodified lines | ||
| 10 | 10 | |
| 11 | 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 | 13 | options[:replace_paths] = { |
| 20 | 14 | '/Element/h1' => '/Element/Heading_Elements', |
| 21 | 15 | '/Element/h2' => '/Element/Heading_Elements', |
| @@ -11,13 +11,6 @@ module Docs · 10 unmodified lines | ||
| 11 | 11 | |
| 12 | 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 | 14 | # Duplicates |
| 22 | 15 | options[:skip].concat %w( |
| 23 | 16 | /Global_Objects |
| @@ -21,8 +21,6 @@ module Docs · 20 unmodified lines | ||
| 21 | 21 | end |
| 22 | 22 | end |
| 23 | 23 | |
| 24 | − options[:skip] = %w(/Compatibility_sources /FAQ) | |
| 25 | − | |
| 26 | 24 | options[:fix_urls] = ->(url) do |
| 27 | 25 | url.sub! 'https://developer.mozilla.org/en-US/Web/SVG', Svg.base_url |
| 28 | 26 | url.sub! 'https://developer.mozilla.org/en-US/docs/SVG', Svg.base_url |