Unified · Split
| @@ -12,6 +12,7 @@ module Docs · 11 unmodified lines | |||
| 12 | def additional_entries | 12 | def additional_entries |
| 13 | css('h4.name').each_with_object [] do |node, entries| | 13 | css('h4.name').each_with_object [] do |node, entries| |
| 14 | node['id'] = node.previous_element['id'] | 14 | node['id'] = node.previous_element['id'] |
| 15 | next if node.at_css('.inherited') | ||
| 15 | name = node.children.find {|n| n.text? }.text.strip | 16 | name = node.children.find {|n| n.text? }.text.strip |
| 16 | name.prepend "#{self.name}." | 17 | name.prepend "#{self.name}." |
| 17 | entries << [name, node['id']] | 18 | entries << [name, node['id']] |