From 864dac5e53123206d22389ac28ba928b0cd2cd75 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 7 Oct 2017 12:06:47 -0400 Subject: [PATCH] Update D3.js documentation (4.11.0) --- lib/docs/filters/d3/entries_v4.rb | 2 +- lib/docs/scrapers/d3.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/docs/filters/d3/entries_v4.rb b/lib/docs/filters/d3/entries_v4.rb index 2da831e4..9ea845e6 100644 --- a/lib/docs/filters/d3/entries_v4.rb +++ b/lib/docs/filters/d3/entries_v4.rb @@ -21,7 +21,7 @@ module Docs name.remove! 'Source' name.remove! '<>' name.remove! %r{\s\-.*} - name.remove! %r{\s\[.*\]} + name.remove! %r{\s*\[.*\]} name.gsub! %r{\(.+?\)\)?}, '()' name.sub! %r{\A(svg:\w+)\s+.+}, '\1' name.split(/\s+/).each do |n| diff --git a/lib/docs/scrapers/d3.rb b/lib/docs/scrapers/d3.rb index 44a36021..9497d572 100644 --- a/lib/docs/scrapers/d3.rb +++ b/lib/docs/scrapers/d3.rb @@ -17,7 +17,7 @@ module Docs HTML version '4' do - self.release = '4.10.0' + self.release = '4.11.0' self.base_url = 'https://github.com/d3/' self.root_path = 'd3/blob/master/API.md'