Browse Source

openlayers: remove inherited entries

Simon Legner 9 months ago
parent
commit
19613ef1cd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/docs/filters/openlayers/entries.rb

+ 1 - 0
lib/docs/filters/openlayers/entries.rb

@@ -12,6 +12,7 @@ module Docs
       def additional_entries
         css('h4.name').each_with_object [] do |node, entries|
           node['id'] = node.previous_element['id']
+          next if node.at_css('.inherited')
           name = node.children.find {|n| n.text? }.text.strip
           name.prepend "#{self.name}."
           entries << [name, node['id']]