From af3354a247884d3588e8502c868e1bf930cb960d Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 13 Aug 2016 14:18:03 -0400 Subject: [PATCH] Update lodash documentation (4.15.0, 3.10.0) --- lib/docs/filters/lodash/clean_html.rb | 5 +---- lib/docs/scrapers/lodash.rb | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/docs/filters/lodash/clean_html.rb b/lib/docs/filters/lodash/clean_html.rb index e1fe850a..07822d6f 100644 --- a/lib/docs/filters/lodash/clean_html.rb +++ b/lib/docs/filters/lodash/clean_html.rb @@ -6,10 +6,7 @@ module Docs css('h3 + p', 'hr').remove - # Set id attributes on

instead of an empty - css('h3').each do |node| - node['id'] = node.at_css('a')['id'] - end + css('h2 a:contains("#")', 'h3 a:contains("#")').remove # Remove inside headings css('h2', 'h3').each do |node| diff --git a/lib/docs/scrapers/lodash.rb b/lib/docs/scrapers/lodash.rb index 040252e7..c690deb6 100644 --- a/lib/docs/scrapers/lodash.rb +++ b/lib/docs/scrapers/lodash.rb @@ -19,7 +19,7 @@ module Docs HTML version '4' do - self.release = '4.14.1' + self.release = '4.15.0' self.base_url = 'https://lodash.com/docs' end