diff --git a/lib/docs/filters/d3/entries_v4.rb b/lib/docs/filters/d3/entries_v4.rb index 93ab739f..2da831e4 100644 --- a/lib/docs/filters/d3/entries_v4.rb +++ b/lib/docs/filters/d3/entries_v4.rb @@ -20,6 +20,8 @@ module Docs name = node.content.strip name.remove! 'Source' name.remove! '<>' + 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 37f229f0..5e2bfe0e 100644 --- a/lib/docs/scrapers/d3.rb +++ b/lib/docs/scrapers/d3.rb @@ -16,7 +16,7 @@ module Docs HTML version '4' do - self.release = '4.2.2' + self.release = '4.2.6' self.base_url = 'https://github.com/d3/' self.root_path = 'd3/blob/master/API.md'