Unified · Split
| @@ -12,6 +12,7 @@ module Docs · 11 unmodified lines | ||
| 12 | 12 | |
| 13 | 13 | # Make headings for function definitions and add "id" attributes |
| 14 | 14 | css('p > a:first-child').each do |node| |
| 15 | + next unless node.parent | |
| 15 | 16 | next unless node['name'] || node.content == '#' |
| 16 | 17 | parent = node.parent |
| 17 | 18 | parent.name = 'h6' |
| @@ -8,6 +8,7 @@ module Docs · 7 unmodified lines | ||
| 8 | 8 | code: 'https://github.com/d3/d3' |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | + options[:max_image_size] = 150_000 | |
| 11 | 12 | options[:container] = '.markdown-body' |
| 12 | 13 | |
| 13 | 14 | options[:attribution] = <<-HTML |
| @@ -16,7 +17,7 @@ module Docs · 2 unmodified lines | ||
| 16 | 17 | HTML |
| 17 | 18 | |
| 18 | 19 | version '4' do |
| 19 | − self.release = '4.9.1' | |
| 20 | + self.release = '4.10.0' | |
| 20 | 21 | self.base_url = 'https://github.com/d3/' |
| 21 | 22 | self.root_path = 'd3/blob/master/API.md' |
| 22 | 23 | |