Unified · Split
| @@ -6,10 +6,7 @@ module Docs · 5 unmodified lines | |||
| 6 | 6 | ||
| 7 | css('h3 + p', 'hr').remove | 7 | css('h3 + p', 'hr').remove |
| 8 | 8 | ||
| 9 | # Set id attributes on <h3> instead of an empty <a> | 9 | css('h2 a:contains("#")', 'h3 a:contains("#")').remove |
| 10 | css('h3').each do |node| | ||
| 11 | node['id'] = node.at_css('a')['id'] | ||
| 12 | end | ||
| 13 | 10 | ||
| 14 | # Remove <code> inside headings | 11 | # Remove <code> inside headings |
| 15 | css('h2', 'h3').each do |node| | 12 | css('h2', 'h3').each do |node| |
| @@ -19,7 +19,7 @@ module Docs · 18 unmodified lines | |||
| 19 | HTML | 19 | HTML |
| 20 | 20 | ||
| 21 | version '4' do | 21 | version '4' do |
| 22 | self.release = '4.14.1' | 22 | self.release = '4.15.0' |
| 23 | self.base_url = 'https://lodash.com/docs' | 23 | self.base_url = 'https://lodash.com/docs' |
| 24 | end | 24 | end |
| 25 | 25 | ||