We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8eb568 commit e67408bCopy full SHA for e67408b
lib/docs/filters/react/entries_react_dev.rb
@@ -27,19 +27,6 @@ def update_canary_copy(string)
27
28
string.sub(canary_copy, ' (Canary)')
29
end
30
-
31
- def additional_entries
32
- excluded = %w(usage troubleshooting recap reference challenges alternatives)
33
- entries = []
34
- css('article h2, article h3').map do |node|
35
- next unless node.has_attribute?('id')
36
- name = node.content.strip
37
- next if excluded.include?(name.downcase)
38
- entries << [name, node['id'], type]
39
- end
40
41
- entries
42
43
44
45
0 commit comments