History

Update lodash documentation (4.15.0, 3.10.0)

Thibaut Courouble committed 10 years ago

Commit af3354a1 parent 9c0a7292 files · +2 −5Browse files

Unified · Split

2 files
  1. lib/docs/filters/lodash/clean_html.rb +1 −4
  2. lib/docs/scrapers/lodash.rb +1 −1
lib/docs/filters/lodash/clean_html.rb+1−4
@@ -6,10 +6,7 @@ module Docs · 5 unmodified lines
66
77 css('h3 + p', 'hr').remove
88
9− # Set id attributes on <h3> instead of an empty <a>
10− css('h3').each do |node|
11− node['id'] = node.at_css('a')['id']
12− end
9+ css('h2 a:contains("#")', 'h3 a:contains("#")').remove
1310
1411 # Remove <code> inside headings
1512 css('h2', 'h3').each do |node|
lib/docs/scrapers/lodash.rb+1−1
@@ -19,7 +19,7 @@ module Docs · 18 unmodified lines
1919 HTML
2020
2121 version '4' do
22− self.release = '4.14.1'
22+ self.release = '4.15.0'
2323 self.base_url = 'https://lodash.com/docs'
2424 end
2525