History

openlayers: remove inherited entries

Simon Legner committed 1 year ago

Commit 19613ef1 parent a361d731 file · +1 −0Browse files

Showing the changes to lib/docs (1 of 1 file). Show all

Unified · Split

lib/docs/filters/openlayers/entries.rb+1−0
@@ -12,6 +12,7 @@ module Docs · 11 unmodified lines
1212 def additional_entries
1313 css('h4.name').each_with_object [] do |node, entries|
1414 node['id'] = node.previous_element['id']
15+ next if node.at_css('.inherited')
1516 name = node.children.find {|n| n.text? }.text.strip
1617 name.prepend "#{self.name}."
1718 entries << [name, node['id']]

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t